Benchmarking Large Language Models for Persian: A Preliminary Study Focusing on ChatGPT
Paper · 2024 · Amirhossein Abaskohi, Sara Baruni, Mostafa Masoudi et al.
Summary
A system that answers questions in Persian may still struggle when the instructions are written in Persian. And a system that can solve a Persian math problem may be a poor choice for labeling names in a sentence. Abaskohi and colleagues examine both problems by testing large language models across tasks with different demands. The study focuses on GPT-3.5-turbo and also evaluates GPT-4 and the open-source OpenChat-3.5. It asks how well these systems handle Persian when given instructions and a few examples, and how their answers compare with those of systems trained for individual tasks.
The authors use existing Persian datasets for work such as identifying the sentiment of reviews, extracting answers from passages, and translating between Persian and English. They also build an elementary school math set and a more varied mathematical problem set that draws on Iranian entrance exams and translated questions. For the main experiments, the test material stays in its benchmark language while the authors vary the language of the instructions and the number of demonstrations in the prompt. A separate experiment uses automatic machine translation to turn selected Persian examples into English for GPT-3.5.
GPT-4 has the strongest results overall among the general-purpose systems, though the ranking changes with the task. Its best macro F1 for food-review sentiment is 0.906, ahead of the specialized baseline’s 0.891. It also leads the reported comparisons in multiple-choice mathematical and logical questions and in common-knowledge questions. Specialized systems have the advantage in several other settings, including emotion recognition, named entity recognition, and reading comprehension. Persian literature questions are harder for the general-purpose systems than common-knowledge questions, and the highest literature accuracy is 0.485.
English instructions often help even when the material being tested remains Persian. GPT-4 often benefits from more demonstrations, while GPT-3.5 and OpenChat-3.5 are less consistent. Translating the examples improves the best reported GPT-3.5 scores in the selected tasks relative to the original-language comparison reported for that experiment. The effect of adding demonstrations still depends on the task. In reading comprehension, an example also helps establish how short the answer should be, so a score can reflect both whether the system found the answer and whether it returned the requested span.
Deep dive: Benchmarking Large Language Models for Persian: A Preliminary Study Focusing on ChatGPT
A benchmark of Persian language tasks shows where ChatGPT excels, where specialized systems lead, and how English prompts change the results. · about 32 minutes to read
The problem and its context
What it takes to evaluate a system in Persian
A system built to continue a sequence of text can be asked to do many different jobs through the same interface. A prompt can ask for the sentiment of a review, the answer to an exam question, or a translation. The user changes the request, and the system generates a response. The paper connects this flexibility to next-token prediction and the Transformer architecture. A token is a unit of text the system works with when predicting what comes next. Multilingual training makes it possible to use this same interface with material in different languages.
That flexibility raises a question for natural language processing in Persian. Researchers already had systems that could be trained on labeled Persian examples for individual tasks. If a general-purpose system can perform those tasks from a short explanation, it can be evaluated without preparing a fresh training run for each task. Training a previously trained system further on examples of the job it will perform is called fine-tuning. The paper compares this established approach with asking a general-purpose system to do the job through a prompt.
The authors describe Persian as having a distinct character set relative to many well-resourced languages, especially those written in Latin characters. They also point to differences among Persian writing styles and dialects. A comparison conducted only on English tasks leaves open how a system handles that material. Even a study that covers another language can leave a further question unanswered if all the explanatory instructions are written in English. The language used to tell a system what to do and the language of the material it must process are separate choices in a multilingual evaluation.
The tasks themselves can also put different demands on a system. A question about a passage asks the system to find information in text it has just been given. A literature quiz can require knowledge beyond the question and its options. Labeling names in a sentence requires an answer tied to individual input tokens. A translation must produce a suitable sentence in a different language. The paper puts these demands side by side so that strong results on one kind of task do not determine the verdict on the others.
How earlier studies framed the comparison
The paper places its study alongside broad evaluations such as HELM and BIG-Bench, which assess capabilities across varied scenarios and metrics. The surrounding research treats the choice of task, the measurement, and the conditions under which it is conducted as parts of the evaluation problem. For example, the authors cite a survey organized around what researchers evaluate, how they evaluate it, and where they conduct that evaluation. A Survey on Evaluation of Large Language Models
Prior multilingual evaluation offered reasons to test language and task together. As Abaskohi and colleagues describe it, Lai and colleagues assessed ChatGPT across thirty-seven languages and seven tasks. In that account, ChatGPT trailed the mT5-XXL comparison system, with conspicuous weaknesses on tasks including entity labeling and summarization. The study also observed a tendency towards long summaries and more consistent performance when instructions were in English. At the same time, results varied enough across languages and tasks for some low-resource settings to fare better than high-resource ones. ChatGPT Beyond English
Studies centered on a single language supplied a different kind of precedent. The paper describes an Arabic evaluation in which ChatGPT, given demonstrations, surpassed much smaller systems adapted to particular Arabic tasks. It also describes another Arabic study that included speech processing and varied the prompting strategy. In that study, some results met or surpassed the specialist comparisons, while underperformance was more common. Together these accounts made it reasonable to ask which particular Persian tasks would favor general-purpose systems and which would continue to favor supervised specialists.
The paper also cites an earlier Persian example that focused on a single domain. Khorshidi and colleagues used multiple-choice questions from the Iranian medical residency entrance exam. They assessed ChatGPT on the original questions and on versions translated into English, French, and Spanish. According to Abaskohi and colleagues, ChatGPT answered more than 80% of the questions correctly in each language. That study made translation a relevant experimental variable for a Persian benchmark, while leaving open what would happen on tasks with other kinds of language and output.
Earlier translation studies likewise gave the authors a reason to include a dedicated comparison. The paper describes a study of Spanish translation into eleven Indigenous languages of South America, where even GPT-4 proved poorly suited to the task. It also cites a multilingual study covering 102 languages in which ChatGPT, the strongest large system in that comparison, still trailed a supervised baseline in most translation directions. This history makes direction part of the question. An evaluation of Persian to English and English to Persian can yield different rankings. Multilingual Machine Translation with Large Language Models
What the Persian benchmark needed to add
The authors had public datasets for several established tasks, including classification, passage-based answering, and translation. They had less material suitable for the reasoning comparisons they wanted to make. ParsiNLU already provided multiple-choice mathematical and logical questions. The study supplements those questions with an elementary set and a set of mathematical problems whose prompts call for a worked solution and final answer. The locally collected problems bring material from Iranian education into the benchmark, alongside selected translated questions in the larger set.
The resulting design addresses several questions that a single Persian exam could leave entangled. It asks whether the tested systems can work with Persian content, whether they follow Persian task descriptions as effectively as English ones, and whether demonstrations improve their responses. It also asks how their performance compares with assistants designed for the same job and trained on the relevant data. These comparisons define success at the task level. A system can return a useful translation, a good answer span, or a valid category for different reasons, even though all of those responses are generated through a text interface.
The method, step by step
Start with the response the task requires
Each task specifies an input and a kind of answer. A food review calls for a sentiment category. A passage paired with a question calls for a short answer drawn from the passage. An exam item may call for one of the listed choices. The authors use such differences to decide what instructions, examples, and output format belong in a prompt. They then vary parts of that prompt while keeping a task’s expected answer tied to its dataset.
From Persian task material to comparable scores
The steps in order.
The authors divide the evaluation into classic language tasks, reasoning tasks, and knowledge tasks. The difference is easiest to see in the evidence each task makes available. Reading comprehension gives the material from which an answer should be drawn. Textual entailment gives a pair of statements and asks the system to judge their relationship. Common-knowledge questions give acceptable choices and test whether the system can identify the correct one using its own knowledge. These categories describe the aims of the tasks. Individual questions can still require a mixture of language understanding, knowledge, and reasoning.
Assemble classification, extraction, and translation data
For food-review sentiment classification, the authors use ParsiNLU and simplify its original sentiment distinctions. Very positive reviews are folded into positive, and very negative reviews into negative. The remaining labels include neutral and other. The latter covers cases that are ambiguous or sit outside the main polarity categories. Accordingly, the evaluation concerns the revised labels. It gives no separate credit for differentiating strong sentiment from ordinary sentiment of the same polarity.
The emotion task asks for a more specific description of what a piece of text expresses. The authors use ArmanEmo, which has 7,308 samples, with 6,157 in training and 1,151 in testing. Its sources include Twitter, Instagram, and the Iranian online retailer Digikala. The categories distinguish states such as fear, happiness, and anger alongside an other category. The sentiment and emotion tasks can therefore differ even on text with a clear tone. A broadly negative judgment gives no information about which specific negative emotion the dataset assigns.
In named entity recognition, the system must distinguish mentions of people, places, and other defined types from the rest of a sentence. ArmanNER contains 7,682 Persian sentences and covers person, location, organization, product, event, and facility. The prompt presents a list of tokens. It requests an output that pairs each token with its label, including the label O for material outside a named entity. The form of the response matters because the requested judgments apply to the input tokens individually. An answer naming the entities in a paragraph, for example, would leave the scorer without the sequence of label assignments the task requests.
For passage-based question answering, the authors use ParsiNLU’s reading comprehension material. The questions come from Persian queries surfaced by Google’s autocomplete. Native Persian speakers annotated the passages and answers. Here, an answer span is a stretch of text within the passage that supplies the requested information. The experiment tests whether a system can find that stretch and return it concisely. The prompt asks for a short answer, and the demonstrations can show what that means in the dataset.
For translation, the study uses the MIZAN material available through ParsiNLU. MIZAN comprises 1,021,596 paired sentences from literary texts and their official Persian translations, with sentences aligned by hand. That figure describes the resource, distinct from the evaluation subset. The authors run translation both from English to Persian and from Persian to English. The prompt names the source and target languages, and demonstrations show source text paired with a target rendering. Each direction is scored independently.
Prepare entailment and problem-solving data
Textual entailment gives the system a premise and a hypothesis. The premise is the statement taken as the starting point, and the hypothesis is the statement under consideration. The system chooses entailment when the premise supports the hypothesis, contradiction when the statements are incompatible, or neutral when the premise leaves the hypothesis unresolved. This is a classification task because the output comes from a defined set of labels. The authors place it in the reasoning group because the label depends on the relationship between the statements.
The authors test entailment on ParsiNLU and on a Persian version of ConjNLI. ParsiNLU supplies naturally occurring Persian text from sources such as Persian Wikipedia, Miras, and VOA. It also incorporates MNLI material translated into Persian with Google Translate and revised by native speakers. ConjNLI starts as an English dataset. For the experiment, the authors translate 200 samples into Persian using Google Translate. The two entailment rows in the results consequently cover Persian material with different origins. In both rows, changing the prompt language refers to changing the instructions associated with Persian task material.
The paper illustrates its template with a pair of statements about a chemical reaction. The premise and hypothesis make incompatible claims about which concentrations affect the speed of the reaction. The example shows what the prompt must convey before the system reaches the test item. It defines the available relation labels, delineates the premise and the hypothesis, and indicates where the category belongs in the answer. For a test case, the answer position is left open for the system to fill.
For multiple-choice math and logic, the authors take the relevant subset of ParsiNLU. That subset has 677 Persian questions. Each item supplies candidate answers, and the system is asked to select one. The separate elementary school set uses 50 Persian questions from publicly available Iranian elementary math exams issued by the Ghalamchi Institute. An item has two alternatives and comes without a supplementary passage. The corresponding prompt asks for the letter identifying the choice. Both tasks involve choosing an answer, but they draw on different sources and use different conventions for the returned choice.
The larger mathematical problem set combines material from the Sampad entrance exams for 7th and 10th grades with selected items from the MATH dataset. For the entrance-exam material, the authors look for clear questions whose computation is manageable. They also inspect about 11,000 MATH questions and select candidates with demanding language and manageable mathematics. They translate the selected questions into Persian, standardize their format, and omit items whose mathematical typesetting causes problems. Calculus is left out because the questions in that category are generally too demanding to calculate for the authors’ selection criteria.
The final set has 179 samples. Algebra accounts for 33.1% of that set, and counting and probability for 24.7%. Sequences account for 20.2%, geometry for 18.5%, and number theory for 3.4%. The authors ask for a step-by-step solution and a separately identifiable final result in Persian. This is their use of chain-of-thought prompting, where the request encourages the system to write out intermediate steps. The answer format provides distinct places for the problem, solution, and answer, while the reported result uses the paper’s Math metric.
For the knowledge tasks, the authors turn to the literature and common-knowledge domains of ParsiNLU’s multiple-choice data. The source collections contain 834 literature questions and 949 common-knowledge questions. Both tasks ask the system to choose from the available options. The contrast between the domains lets the authors examine whether performance on relatively broad subjects carries over to a culturally specific subject such as Persian literature. The design treats answering from the choices as a measurable use of knowledge.
Build the prompt and vary its language and examples
The prompt starts by stating the task. For classification, it names the possible labels and sometimes explains their meanings, as in the entailment template. When an output format needs to be made explicit, the prompt establishes how an input and its expected answer are laid out. Demonstrations, when used, fill in complete examples of that pattern. The actual test item comes last, with its answer left for the system to generate.
The authors consult prompts from prior studies and try variants through ChatGPT’s web interface. Their criteria include whether the answers are precise and whether the response follows the desired format. The resulting templates are tailored to each task. A review-classification prompt can ask for a category directly. The entity-labeling prompt specifies a list of token-label pairs. A mathematical solution needs room for working and a final answer. These differences determine what the demonstrations can teach about answer form.
The authors’ notation for the presence of demonstrations is:
k > 0
Here, k is the number of demonstrations in the shot setting, counted per class for classification tasks. The symbol > means “greater than,” and 0 denotes the setting without any demonstrations. A zero-shot prompt gives the instructions and test item without a solved example. A one-shot prompt provides a solved example, and a three-shot prompt uses the larger demonstration setting. For classification, the per-class rule means that the total examples in a prompt depend on its label inventory.
This use of examples is an instance of few-shot learning. The examples are visible to the system while it answers. Its underlying parameters stay fixed during the evaluation. From the system’s perspective, the demonstrations can show which features matter for a label, how an answer should be written, or both. From the evaluator’s perspective, adding demonstrations changes the prompt the system sees, so scores from different shot settings describe different ways of using the same system.
In the main experiment, the configurable portions of the template are written in Persian or English. The underlying test material and demonstrations remain in Persian where the task calls for Persian content, with translation inputs following their specified source language. An English entailment prompt, for instance, explains the categories in English while presenting the statements to be judged in Persian. The language switch in that condition affects the wording that frames the task. It leaves the sentence pair itself in Persian.
The separate sample-translation experiment changes the material itself. The authors use Google Translate to produce English versions of Persian samples used at test time or as demonstrations. They run this comparison with GPT-3.5 on the selected tasks where adding examples to an English prompt had exposed a performance decline. The distinction between the main and translation experiments matters when reading the scores. An English explanation of a Persian item still tests processing of that Persian item. An English rendering puts the translation system between the original question and the answer.
Run general-purpose and specialized systems on test data
The principal ChatGPT runs use gpt-3.5-turbo-0613 and gpt-4, both at temperature 0. Temperature is the generation setting the authors specify for controlling how the system samples a response. OpenChat-3.5 is added as an open-source multilingual comparison, using its recommended temperature of 0.5. The paper describes OpenChat-3.5 as a seven billion parameter system trained with a mixture of expert and lower-quality data. Its inclusion gives the authors a way to compare an openly available system with the ChatGPT systems on similar prompt conditions.
For tasks from ParsiNLU, ArmanEmo, and ArmanNER, the authors describe randomly selecting 200 samples per task from the existing test sets. For classification, the sampling procedure takes the label distribution into account. The authors explain that usage costs motivated evaluating subsets. Where they compare against existing task-specific systems, those comparisons use the same 200 items. This controls the choice of test material across systems even though the systems were prepared for the task in different ways.
The specialized comparisons draw on systems trained or adapted for the tasks the authors study. ParsiNLU supplies training material for specialist systems used in several comparisons, including sentiment, reading comprehension, and multiple-choice answering. The entity-labeling comparison uses a Persian BERT system trained on ArmanNER. The emotion comparison includes variants adapted for emotion classification, among them a modified ParsBERT. The appendix lists multilingual candidates for ConjNLI. The authors’ new math resources were built for evaluation, with no corresponding training split or established specialist result.
The authors make their code, prompts, and data available with the study. The prompts document task-specific answer formats as well as wording, which matters for interpreting scores from an evaluation that turns generated text into class labels, spans, translations, or final answers.
Experiments and results
How to read the scores
A score measures how well an output meets the requirements of a particular task. In multiple-choice QA, accuracy is the share of questions answered correctly. For classification, the paper reports macro F1 in its main comparison and discusses precision and recall in its evaluation. For a particular class, precision concerns how many of the system’s predictions of that class are correct. Recall concerns how many of the true members of the class it finds. F1 combines the two measures, and macro F1 gives the classes equal weight when averaging their F1 scores. This makes the sentiment and emotion scores assessments of performance across the label inventories.
The reading comprehension row uses the F1 procedure associated with SQuAD, which measures overlap between the generated answer and the reference span. Returning the reference words as part of a longer answer can lower precision and thus the score. Translation is measured with BLEU, a reference-based score that rewards shared sequences of words and takes output length into account. The mathematical problem set uses the Math metric associated with the MATH benchmark. The paper describes its best result as an accuracy and displays it under the Math metric. SQuAD
The comparisons include a strong available task-specific system wherever the authors have one. Some rows also give a random comparison, such as the multiple-choice knowledge tasks and the classification tasks. These reference points serve different purposes. The specialist score shows what the selected supervised system achieves on the same test material. The random score gives a benchmark for a strategy without task knowledge. For the newly assembled math sets, the reported numbers compare the general-purpose systems to one another.
Sentiment is the strongest classic result for GPT-4
On the sampled ParsiNLU food-review task, GPT-4 reaches .906 macro F1 with English instructions and the three-shot setting. The fine-tuned mT5-base baseline scores .891. GPT-3.5’s best original-language result in the main grid is .804 with a Persian prompt and the one-shot setting. OpenChat-3.5 peaks at .485 with English instructions and no demonstrations. The difference in ordering from other classic tasks matters because all of these results concern the same revised sentiment categories. Both the specialist and the best GPT-4 condition score highly under that definition of the task.
Best settings and baselines on ParsiNLU food-review sentiment macro F1
GPT-4 leads the sentiment comparison with English instructions and demonstrations.
The numbers
| System or setting | Macro F1 |
|---|---|
| Random baseline | .403 |
| OpenChat-3.5, English zero-shot | .485 |
| GPT-3.5, Persian one-shot | .804 |
| Fine-tuned mT5-base | .891 |
| GPT-4, English three-shot (this paper) | .906 |
The specialist has the advantage on ArmanEmo. The modified ParsBERT achieves .699 macro F1 on the emotion test subset. GPT-4’s strongest result is .621 with the English three-shot prompt. The highest GPT-3.5 result is .589, also with the English three-shot prompt. OpenChat-3.5 reaches .464 in its best setting, with English instructions and no demonstrations. So the general-purpose systems’ success on review polarity does not carry over to these emotion categories, for which the specialist has the strongest result.
Entity recognition gives the clearest specialist lead among the classic classification tasks. The Persian BERT baseline trained on ArmanNER reaches .988 macro F1. GPT-4’s best is .712 with an English three-shot prompt. GPT-3.5 peaks at .625, while OpenChat-3.5 peaks at .606. The general-purpose systems have to generate an entire token-label sequence in the specified format. The numbers measure success at the full labeling task, and the paper does not attribute the specialist advantage to a single kind of failure in the generated responses.
Best settings and specialized baseline on ArmanNER macro F1
The Persian BERT system trained for entity recognition has the strongest score.
The numbers
| System or setting | Macro F1 |
|---|---|
| OpenChat-3.5, Persian three-shot | .606 |
| GPT-3.5, English three-shot | .625 |
| GPT-4, English three-shot | .712 |
| Fine-tuned Persian BERT (this paper) | .988 |
The reading comprehension comparison is closer. GPT-4 reaches .687 F1 in the English three-shot setting on the sampled ParsiNLU material, while the specialist reaches .691. GPT-3.5’s best result is .644, achieved with an English prompt in both the one-shot and three-shot settings. OpenChat-3.5 reaches .613 with English instructions and the three-shot setting. The best GPT-4 score approaches the chosen specialist’s result on the span metric, even though a GPT-4 prompt with no examples scores lower. That variation within the same system gives the authors a reason to examine how responses are formatted.
Translation favors different systems in opposite directions
In English-to-Persian translation on the sampled MIZAN material, GPT-4 reaches 8.7 BLEU using English instructions and the three-shot setting. The fine-tuned comparison scores 6.2. GPT-3.5 reaches 7.5 in its strongest condition for this direction, using a Persian instruction without demonstrations, and OpenChat-3.5 reaches 6.8 with English instructions and the three-shot prompt. By the paper’s metric and test material, GPT-4’s best English-to-Persian result leads this comparison.
In Persian-to-English translation, the fine-tuned baseline leads at 11.7 BLEU. GPT-4 reaches 11.5 with English instructions and the three-shot setting, and GPT-3.5 reaches 11.0 in several conditions. OpenChat-3.5’s highest score for this direction is 9.6. Each direction has its own references and scoring row. The meaningful comparison here is the order of systems within each direction, which changes when the target language changes.
Entailment and mathematical questions give different rankings
For ParsiNLU entailment, the fine-tuned mT5-large reaches .690 macro F1. GPT-4 comes closest among the ChatGPT conditions with .636 for the English three-shot prompt. The best GPT-3.5 score in the table is .541 with an English one-shot prompt. OpenChat-3.5 reaches .612 in that same language and shot setting, exceeding the strongest GPT-3.5 condition while remaining below the specialist and GPT-4. The random score for this dataset is .360, close to the GPT-3.5 values obtained with Persian instructions.
On translated ConjNLI, the result depends on which systems are being compared. The main table gives .524 macro F1 for the specialist and .512 for GPT-4’s strongest condition, which uses English instructions and the three-shot setting. The accompanying prose identifies XLM-RoBERTa-large as the specialist and gives its result as 0.520. The two reported values differ, and both place the specialist ahead of GPT-4. The separate OpenChat-3.5 table gives .555 for English instructions with either the one-shot or the three-shot setting. On the displayed scores, OpenChat-3.5 leads this dataset even though GPT-4 has the strongest overall profile.
For ParsiNLU multiple-choice math and logic, GPT-4’s English three-shot prompt reaches .725 accuracy. GPT-3.5’s best original-language accuracy is .450, and the fine-tuned specialist scores .395. OpenChat-3.5 peaks at .300. The difference between this result and the entailment comparisons shows why the paper’s reasoning category needs to be read task by task. One output is a relationship label attached to a pair of statements. The other is the answer to a problem presented with candidate solutions.
Best settings and specialized baseline on ParsiNLU math and logic accuracy
GPT-4 has the highest accuracy on the multiple-choice math and logic questions.
The numbers
| System or setting | Accuracy |
|---|---|
| OpenChat-3.5, Persian three-shot | .300 |
| Fine-tuned mT5-large | .395 |
| GPT-3.5, Persian zero-shot | .450 |
| GPT-4, English three-shot (this paper) | .725 |
On the new elementary school questions, GPT-4’s best accuracy is .740 with an English three-shot prompt. OpenChat-3.5 reaches .585 with an English zero-shot prompt. For GPT-3.5 the main results table gives .590 to the English zero-shot condition, the highest entry for that system on that row. The discussion of the task instead compares GPT-4 with 0.545 for GPT-3.5, a value that corresponds to the English three-shot condition in the table. Both comparisons favor GPT-4, and the setting matters when describing how close OpenChat-3.5 is to GPT-3.5.
On the 179 mathematical problems, GPT-4 reaches .564 on the Math metric, also with English instructions and the three-shot prompt. GPT-3.5 has its best result with a Persian three-shot prompt, at .503. OpenChat-3.5 reaches .241 in its strongest setting, using a Persian three-shot prompt. The paper reports these as results for the combined mathematical problem set. It gives the distribution of topics but does not provide corresponding scores for separate topics in the comparison.
Common knowledge and literature differ under the same answer format
On the ParsiNLU literature subset, the highest result in the comparison is GPT-4’s .485 accuracy with an English zero-shot prompt. The specialist reaches .335, while GPT-3.5 attains .310 in its best condition and OpenChat-3.5 reaches .275. The random reference is .250. GPT-4’s higher accuracy gives it a relative advantage on this set of Persian literature questions. Its absolute score also shows that many items remain unanswered correctly even in its strongest condition.
On the ParsiNLU common-knowledge subset, GPT-4 reaches .635 with English instructions and the three-shot setting. GPT-3.5 reaches .445 with a Persian three-shot prompt. OpenChat-3.5’s best result is .360 using an English one-shot prompt. The specialist and random scores are both .250. The authors suggest that the range of subjects in common knowledge may make it hard for the specialist to learn patterns that transfer across questions. They also suggest that differences in encoded knowledge may contribute. The experiment measures the answers those systems selected, while those explanations remain interpretations of the observed ranking.
What the ablations show
Changing the instructions changes what the system can do with the same material
The controlled comparisons vary instruction language and the use of demonstrations, with an additional experiment that translates the task material. They concern the presentation of a task to systems whose underlying parameters stay fixed during the test. The strongest way to read them is to pick a system, a dataset, and a shot setting, then see what changes when the instructions are presented in another language.
GPT-3.5’s ParsiNLU entailment results make the importance of that comparison clear. In the zero-shot setting, the Persian prompt scores .375 macro F1, and the English prompt scores .536 with Persian material still in the test item. At one shot, the Persian and English instruction settings score .318 and .541, respectively. The random comparison for this dataset is .360. The paper’s confusion-matrix analysis, which compares predicted labels against correct labels, shows that GPT-3.5 often selects neutral with Persian instructions. The authors say that the same tendency is absent with English instructions. The aggregate improvement thus comes with an observed change in the way the system uses the available labels.
The authors interpret the pattern as evidence that GPT-3.5 can struggle to understand the task as expressed in Persian. The prompt variants support an explanation involving the task description, since Persian input sentences occur in both conditions. The comparison still involves particular instructions and label explanations. It can show that the chosen English formulation works better and changes the system’s responses. A claim about all possible ways of expressing the task in Persian would require a wider comparison of formulations.
The English prompt advantage also varies by system and by setting. On ParsiNLU entailment, GPT-4 goes from .383 with Persian zero-shot instructions to .582 with English zero-shot instructions. In GPT-3.5’s English-to-Persian translation row, however, the Persian zero-shot instruction scores 7.5 BLEU and the English zero-shot instruction scores 7.0. The general tendency toward stronger English prompting is visible across the experiments, while such comparisons identify particular conditions in which Persian instructions work better.
Demonstrations can establish the desired length or form of an answer
The clearest evidence for a formatting effect comes from reading comprehension. With Persian instructions, GPT-3.5 scores .535 F1 without an example and .643 with the one-shot setting. The corresponding English-prompt scores are .588 and .644. The authors observe that zero-shot answers tend to be longer than the reference spans. A demonstration pairs a passage and question with a concise answer, furnishing a concrete example of what the request for brevity means.
After that initial improvement, the GPT-3.5 reading comprehension scores level off. With English instructions, the one-shot and three-shot results both reach .644. With Persian instructions they are .643 and .642, respectively. This pattern is consistent with the explanation that a demonstration helps the system adopt the expected output form. The scores alone cannot say how much of the improvement comes from shorter responses and how much comes from finding better spans. The authors’ observation about length gives a concrete reason for some of the change.
The math and logic questions expose another mismatch between a useful answer and the output a scorer expects. In some zero-shot cases, a response used 3! where the option was 6. The exclamation mark denotes factorial, so the two expressions denote the same value in this example. The paper describes post-processing adjustments to handle such answers. A multiple-choice evaluation has to decide how to recognize an option when the response expresses its value in a different way, even if the underlying calculation produced the expected result.
Other output templates make analogous requirements explicit. Entity recognition requests a label next to each token, and elementary school questions ask for the letter corresponding to the chosen answer. The mathematical problems give the system a place to put a worked solution and another to put its final result. The authors report scores for these task-specific outputs. The examples about answer length and mathematical notation help explain why evaluation of generated responses can depend on how the result is represented.
Additional demonstrations help some settings and hurt others
GPT-4’s English-prompt results for ParsiNLU math and logic rise from .605 accuracy zero-shot to .670 one-shot and .725 three-shot. Its Persian-prompt scores on that task rise from .525 to .585 and then .645 over the same settings. This result shows a benefit from demonstrations with both instruction languages. The size and direction of the improvement are properties of that task and system under the authors’ prompts.
A different picture appears for GPT-3.5 on the same dataset. With English instructions, its math and logic accuracy goes from .445 zero-shot to .435 one-shot and .415 three-shot. With Persian instructions, the zero-shot and one-shot conditions both score .450, and the three-shot condition scores .435. Adding examples therefore leaves GPT-3.5 with a lower score in the largest shot setting for either instruction language. The comparison within a single dataset is especially informative because it shows that the response to demonstrations depends on which system is being prompted.
Sentiment illustrates the same dependence in a classic task. With English instructions, GPT-4’s macro F1 goes from .812 with no examples to .878 and then .906. GPT-3.5 moves from .786 to .798 before dropping to .761 in the same series of settings. The authors propose that adding more Persian demonstrations to an English prompt may contribute to this drop. The result motivated a separate test in which the demonstrations or test material could be translated into English.
The larger mathematical problem set is an important case where GPT-3.5 does benefit from added examples. Its Math scores with Persian instructions move from .209 to .375 and .503. With English instructions, they move from .194 to .348 and .408. GPT-4 also improves with more examples in both languages on this set. These prompts ask for a structured worked answer, so the demonstrations can contain more than a label or a selected option. The comparison shows the effect of demonstration count under that design. It leaves open which part of the demonstrations contributes most to the improvement.
Literature gives the opposite pattern for GPT-4. With English instructions, accuracy declines from .485 in the zero-shot setting to .470 with one shot and .460 with three shots. The Persian-prompt sequence declines as well, from .440 to .425 and .390. GPT-3.5’s best literature result is likewise an English zero-shot score, although its Persian one-shot result improves over Persian zero-shot. This makes the literature evidence more specific than a general claim that either system always becomes worse when given examples. The reported best conditions favor no examples, and the GPT-4 comparisons show a consistent decline as the authors add them.
OpenChat-3.5 also has task-dependent responses to demonstrations. Its ParsiNLU entailment macro F1 with English instructions rises from .432 zero-shot to .612 one-shot before falling to .554 three-shot. Its English-prompt elementary math accuracy declines from .585 through .540 to .535. Yet on entity recognition with Persian instructions, its macro F1 rises from .241 zero-shot to .603 one-shot and .606 three-shot. These comparisons help explain why an overall description of OpenChat-3.5 as weaker on most tasks leaves important variation at the level of a specific prompt.
Translating the samples is a different intervention
The authors test translated samples on GPT-3.5 for food-review sentiment, multiple-choice math and logic, literature questions, and elementary school questions. These tasks are chosen because their English-prompt results with Persian examples show a decline as demonstrations are added in the main experiment. The comparison asks whether the decline persists when the material is translated into English and whether the translated setup can improve on the strongest original-language result.
For ParsiNLU math and logic, the translated accuracy results in shot order are .528 ±.001, .548 ±.007, and .567 ±.008. The best original score listed alongside them is .450. For the food-review task, the translated macro F1 values are .803 ±.009, .808 ±.007, and .811 ±.005, compared with .804 in the original-language comparison. In both cases the central scores improve as demonstrations are added under translation, whereas the original GPT-3.5 series with English instructions and Persian material showed a decline at the largest shot setting.
For literature, the best translated central accuracy is the one-shot result, .329 ±.013, compared with the best original accuracy of .310. The translated three-shot result is .324 ±.007. On elementary school questions, translated zero-shot accuracy is .667 ±.011, followed by .568 ±.014 one-shot and .522 ±.016 three-shot. The translation table gives .620 as the best original score for elementary school questions. That value differs from the .590 maximum for GPT-3.5 on the main elementary school row. The translation table supports an advantage for its best translated condition over its own original comparison, and the two tables leave the exact original reference value unresolved.
The elementary school pattern shows that translating examples does not remove every performance decline associated with including more demonstrations. Its highest translated accuracy occurs without any. For math and logic, the strongest translated result occurs with the most demonstrations the authors tested. These cases distinguish the overall benefit of translating a task from the effect of increasing the number of examples after translation. The translated tasks also involve an additional system, Google Translate, which may affect the wording and representation of the material that GPT-3.5 receives.
Limitations
Limits the authors identify
The authors describe the study as preliminary and say that future work should include more systems that support Persian. Their main focus is GPT-3.5-turbo, with GPT-4 and OpenChat-3.5 broadening the comparison. The results characterize these systems under the benchmark conditions. The authors also propose broadening the tasks and evaluating use cases more specific to Persian-speaking communities. The current task collection offers several kinds of language and reasoning work while covering only the domains represented by its datasets.
The authors identify usage cost as a reason for evaluating subsets of established test sets. Shared test items make the selected comparisons fair with respect to which examples each system encounters. A subset score still measures performance on those items. The paper’s sampling accounts for classification label distributions, but gives little information about whether the sample also reflects differences in wording, difficulty, or subject matter within a class.
The authors also describe explicit selection limits in their mathematical problem dataset. They favor items with manageable calculations and omit problems whose formatting creates typesetting difficulties. Calculus is left out. Those decisions suit their aim of evaluating mathematical understanding through Persian questions while avoiding some complications of computation and presentation. The resulting set covers the selected kinds of problems and cannot stand for all the material in the original exams or in MATH. The new math datasets are provided for evaluation without training sets, so the authors have no established specialist comparisons for them.
Limits of what the comparisons establish
The main prompt comparison tests particular Persian and English formulations. The authors vary instruction language while keeping Persian test items in the main language comparison, which supports assigning some of the observed change to the prompt. Differences in the wording of an instruction, its treatment of labels, and the ease with which a system follows the requested output can all contribute. The study does not vary multiple equally developed formulations within each language to estimate how much performance changes with wording independently of language.
The shot comparisons likewise describe what happens with the selected examples. A demonstration changes the length and content of the prompt and can communicate the format of a response as well as a task rule. For entailment it may show how ambiguity gets labeled. For reading comprehension it can show how much of a passage to reproduce. The paper identifies a response-length pattern in reading comprehension, but it does not score answer content and answer form independently. Macro F1 and span F1 should therefore be read as scores for the complete evaluation procedure in each case.
The translated-sample comparison is narrower than the main benchmark. It tests GPT-3.5 on tasks selected because of a pattern found in the original comparison. An improvement there establishes that a translation-assisted setup can perform better on those selected items under the reported conditions. It does not isolate why. The language of the examples changes, and automatic translation can also alter phrasing, the visibility of clues, or the difficulty of interpreting an item. The paper reports scores with plus-minus values but does not explain in its discussion of the table what those values represent. Fine distinctions between neighboring translated settings therefore warrant care.
Several dataset comparisons also reflect the selection and source of the material. The sentiment task concerns food reviews under a collapsed label scheme. The translation task involves material aligned with literary works. The entailment datasets contain material of different origins, including automatic translation and, in part of ParsiNLU, native-speaker revision. None of these results establishes equally strong performance across Persian dialects and writing styles. Those are reasons the authors give for studying Persian, but the reported tables do not organize results by dialect or writing style.
The specialist comparisons use shared test items where available, while the systems’ prior exposure to task training differs by design. The specialists have training adapted to their assigned tasks. The general-purpose systems receive instructions and demonstrations at inference time, and the study uses their particular versions and temperature settings. An observed advantage answers which setup scored higher as tested. It cannot by itself identify the effects of specialization, system size, prior multilingual training, or generation settings. The paper also does not establish how much prior exposure any general-purpose system may have had to particular benchmark examples.
The knowledge and reasoning labels refer to the authors’ evaluation goals. A correct multiple-choice response shows that a system chose the key, and a high score on this task provides evidence of useful answering ability. The experiment cannot determine from the choice alone whether the system knew a fact, inferred the answer, or exploited a feature of the alternatives. Likewise, a generated solution on a mathematical problem offers text that could be inspected for validity, but the reported result summarizes success on the Math metric. The paper does not report a separate evaluation of the correctness of intermediate steps.
Finally, some comparisons require reading the tables alongside the authors’ general claims. OpenChat-3.5 leads the displayed ConjNLI scores even though the discussion describes GPT-4 as consistently ahead. The ConjNLI specialist’s reported score also differs between the main table and the prose. The elementary school original-language score for GPT-3.5 varies across the paper’s accounts. These discrepancies affect the precise interpretation of those rows, while the broader conclusions about task-specific strengths and sensitivity to prompt design are visible across multiple comparisons.
What came after
Later work citing the study addresses Persian evaluation, data generation for languages with limited resources, and the assessment of subjective tasks in Farsi. The descriptions identify distinct research directions. They establish a citation relationship and the subject of each work, while giving no basis for claims about which particular prompts, datasets, or settings the later authors reused.
The work by Hosseinbeigi and colleagues takes up the broad problem of advancing Persian evaluation. Abaskohi and colleagues had assessed this problem by combining established language tasks with new math benchmarks and by making prompt conditions part of the comparison. The later work’s title places it in the same line of inquiry. Its particular evaluation design and its use of individual components of the earlier benchmark are unspecified. Advancing Persian LLM Evaluation
SynthLLM focuses on a language-model-based pipeline for producing synthetic data at scale for low-resource languages. It connects to the earlier study through the availability of suitable task material. Abaskohi and colleagues ran into that problem when looking for Persian reasoning questions and assembled data from exams and selected translations. SynthLLM addresses data production through a scalable synthetic approach. The citation does not establish that its pipeline generated items for Abaskohi and colleagues’ benchmarks or reproduced their evaluation. SynthLLM
Rooein and colleagues focus on subjective tasks in Farsi through survey analysis and evaluation. Abaskohi and colleagues had included tasks concerning judgments expressed in text, such as the polarity of a review and the emotion conveyed in a post. Their scoring relied on a prescribed label inventory for each item. The later work’s stated focus extends the assessment question to subjective tasks through survey material. The available description identifies that connection while leaving the later tasks, scoring procedures, and results unspecified. Exploring Subjective Tasks in Farsi
Cite
Cite as Amirhossein Abaskohi, Sara Baruni, Mostafa Masoudi, Nesa Abbasi, Mohammad Hadi Babalou, Ali Edalat, Sepehr Kamahi, Samin Mahdizadeh Sani, Nikoo Naghavian, Danial Namazifard, Pouya Sadeghi and Yadollah Yaghoobzadeh. 2024. Benchmarking Large Language Models for Persian: A Preliminary Study Focusing on ChatGPT. Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024).
@inproceedings{abaskohi2024benchmarking,
title = {{Benchmarking Large Language Models for Persian: A Preliminary Study Focusing on ChatGPT}},
author = {Amirhossein Abaskohi, Sara Baruni, Mostafa Masoudi, Nesa Abbasi, Mohammad Hadi Babalou, Ali Edalat, Sepehr Kamahi, Samin Mahdizadeh Sani, Nikoo Naghavian, Danial Namazifard, Pouya Sadeghi and Yadollah Yaghoobzadeh},
booktitle = {Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
year = {2024},
url = {https://aclanthology.org/2024.lrec-main.197/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/abaskohi-2024-benchmarking-large-language-models-persian/