ParsiNLU: A Suite of Language Understanding Challenges for Persian

Despite the progress made in recent years in addressing natural language understanding (NLU) challenges, the majority of this progress remains to be concentrated on resource-rich languages like English. This work focuses on Persian language, one of the widely spoken languages in the world, and yet there are few NLU datasets available for this rich language. The availability of high-quality evaluation datasets is a necessity for reliable assessment of the progress on different NLU tasks and domains. We introduce ParsiNLU, the first benchmark in Persian language that includes a range of high-level tasks -- Reading Comprehension, Textual Entailment, etc. These datasets are collected in a multitude of ways, often involving manual annotations by native speakers. This results in over 14.5$k$ new instances across 6 distinct NLU tasks. Besides, we present the first results on state-of-the-art monolingual and multi-lingual pre-trained language-models on this benchmark and compare them with human performance, which provides valuable insights into our ability to tackle natural language understanding challenges in Persian. We hope ParsiNLU fosters further research and advances in Persian language understanding.


Introduction
In recent years, considerable progress has been made in building stronger NLU models, particularly supported by high-quality benchmarks (Bowman et al., 2015;Rajpurkar et al., 2016;Wang The point of view of the authors are their own and not attributable to the company they work for. 1 https://git.io/JIuRO et al., 2019) for resourceful languages like English. However, in many other languages, such benchmarks remain scarce, unfortunately, stagnating the progress towards language understanding in these languages.
In this work, we focus on developing NLU benchmarks for Persian (also known as "Farsi"). This language has many attributes that make it distinct from other well-studied languages. In terms of script, Persian is similar to Semitic languages (e.g., Arabic). Linguistically, however, Persian is an Indo-European language (Masica, 1993) and thus distantly related to most of the languages of Europe as well as the northern part of the Indian subcontinent. Such attributes make Persian a unique case to study in terms of language technologies. Although Persian is a widely spoken language (Simons and Fennig, 2017), our ability to evaluate performance and measure the progress of NLU models on this language remains limited. This is mainly due to the lack of major language understanding benchmarks that can evaluate progress on a diverse range of tasks.
In this work, we present PARSINLU, a collection of NLU challenges for Persian. 2 PARSINLU contains challenges for reading comprehension, multiple-choice question-answering, textual entailment, sentiment analysis, question paraphrasing, and machine translation (examples in Fig. 1). PARSINLU offers data for tasks that have never been explored before in the context of the Persian language. We are not aware of any publicly available dataset for Persian question answering ( §3.2.2), reading comprehension ( §3.2.1), and paraphrasing ( §3.2.5). For the rest of the tasks, we improve at least one aspect of the existing datasets (e.g., better data construction, more comprehensive evaluation, and evaluation of less investigated genres or domains). To ensure the quality of the presented challenge tasks, we rely on the annotations from native Persian speakers or novel data collection techniques, such as, search engine auto-complete ( §3.2.1), and past collegiate exams ( §3.2.2). To the best of our knowledge, this is the first comprehensive collection of its own, composed of a variety of Persian NLU tasks.
We conduct a collection of empirical work ( §4) to establish the difficulty of PARSINLU. We benchmark each PARSINLU task via collecting state-of-the-art multi-lingual and monolingual LMs, as well as estimating the human upper bound scores. The gap between human and machine baselines indicate the need for further research and stronger models for Persian. We hope that the release of PARSINLU will encourage more research on Persian NLP.

Related Work
Cross-lingual benchmarks. There are several recent cross-lingual benchmarks; however, almost none includes Persian: XNLI (Conneau et al., 2018) for entailment, PWNS-X (Yang et al., 2019) for paraphrasing, XCOPA (Ponti et al., 2020) for choice of plausible alternatives, XQuAD, MLQA, TyDI and MKQA (Artetxe et al., 2020b;Lewis et al., 2020;Clark et al., 2020a;Longpre et al., 2020) for reading comprehension. These datasets have also been integrated as part of multitask multilingual evaluation suites such as the XTREME  and XGLUE (Liang et al., 2020). Unfortunately, the Persian portion of the former benchmark covers only two tagging tasks (POS and NER) and the latter does not cover Persian.

NLU benchmarks for other languages.
Benchmarks like GLUE (Wang et al., 2019) encourage development of better and stronger models on a diverse set of challenges. There have been several efforts to create GLUE-like benchmarks for other languages; for example, CLUE for Chinese (Xu et al., 2020), GLUECoS for Hindi (Khanuja et al., 2020), and Russian-SuperGLUE (Shavrina et al., 2020). We view PARSINLU in the same family of benchmarks, dedicated to the Persian language.
NLU Datasets for Persian. Prior work on creating evaluation resources for the Persian language has focused on low-level tasks in narrow domains (e.g., datasets for POS (Bijankhan, 2004), NER (Shahshahani et al., 2019), Parsing (Seraji et al., 2013)). Complementary to these efforts, we aim at providing an NLU evaluation benchmark for Persian, consisting of a wide variety of tasks. Below we mention several related works and how we build upon them.
FarsTail (Amirkhani et al., 2020) is a concurrent work on the entailment task, where the dataset is constructed semi-automatically based on existing multiple-choice exams. Different from this work, our entailment datasets are built with the annotations of native speakers of Persian and some use of machine translation ( §3.2.4). Therefore, we hypothesize our construction represents a slightly different distribution than that of FarsTail.
There is a rich set of works on Persian sentiment analysis. We build upon these works and differ from them in the following manners: (a) The existing work mainly focuses on document-level sentiment identification which does not capture the nuanced judgements with respect to aspects and entities of the context (HosseinzadehBendarkheili et al., 2019;Sharami et al., 2020, inter alia). In addition to such document-level annotations, we provide aspect-level sentiment annotations ( §3.2.3). (b) The majority of existing resources, such as Mi-rasOpinion (Ashrafi Asli et al., 2020) focus on binary or ternary sentiment classes. However, our annotations contain a more granular sentiment intensity with five labels ( §3.2.3). (c) Compared to the aspect-level datasets Hosseini et al. (2018);Ataei et al. (2019), we cover two relatively less investigated domains: food & beverages and movies, each posing new challenges for Persian sentiment analysis.

Machine translation of Persian
English is one of the few tasks that has enjoyed decent attention (Tiedemann and Nygaard, 2004;Mohaghegh et al., 2010;Pilevar et al., 2011;Mohaghegh et al., 2011;Rasooli et al., 2013;Karimi et al., 2018;Kashefi, 2018;Khojasteh et al., 2020). Unfortunately, most published work for this task focus on niche domains and datasets. Our contribution to this task is compiling a set of high-quality evaluation sets from a broad range of domains, based on the existing datasets as well as datasets introduced in this work. The hope is that this will help future work on Persian MT to evaluate their systems on a variety of domains to get a more realistic measure of machine translation.
To the best of our knowledge, this is the first work that publishes an evaluation benchmark for Persian language, promoting future studies on several NLU tasks such as question answering ( §3.2.2), reading comprehension ( §3.2.1), and paraphrasing ( §3.2.5), among others.

Design Considerations
We now discuss possible design choices for constructing the dataset and the underlying reasons.
Naturally-occurring instances. A common way of collecting data for low-resource languages has been using automated translation of the benchmark datasets of high-resource languages (Artetxe et al., 2020b;Ponti et al., 2020). This can be a poor practice as recent investigations have shown translation artifacts in data gathered via translation of existing tasks (Artetxe et al., 2020a). It is important for any NLP dataset to reflect the natural distribution of the target language tokens and their associated cultural contexts. Therefore, one should avoid over-reliance on automatic conversion of resources from high-resource languages to minimize any unnatural instances or artifacts (Khvalchik and Malkin, 2020).
Experts, over crowdworkers. While crowdsourcing has been the common approach for building datasets, we choose to work with few native Persian speakers to construct the dataset. Crowdworkers are difficult to train and often generate more noisy annotations. However, expert annotators that are closely familiar with the task at hand often generate better quality annotations. Using crowdworkers is further complicated by the fact that crowdsourcing platforms do not have an active community of Persian-speaking workers due to limited international financial transactions and crowdsourcing platforms. A study done by Pavlick et al. (2014, Table 6) shows that there are almost no crowd-workers for Persian on the Amazon Mechanical Turk platform.

Constructing PARSINLU tasks
Examples are shown in Fig. 1. We now explain the data construction of each task.

Reading Comprehension
We use the commonly used definition of readingcomprehension task: extracting a substring from a given context paragraph that answers a given question.
SQuAD (Rajpurkar et al., 2016) is one of the most popular reading comprehension datasets in English. Similar datasets to SQuAD are developed in other languages using varying degrees of human or semi-automatic translation techniques: KorQuAD for Korean (Lim et al., 2019), MMQA for Hindi (Gupta et al., 2018), etc. For constructing our reading comprehension tasks, we avoid using SQuAD as a source and employ a process resembling that of Kwiatkowski et al. (2019) that would lead to more natural questions.
Collecting questions. Our efforts to translate questions from the English dataset indicated that such questions are often about topics that are not of much importance in Persian. For instance, there are many questions in SQuAD (Rajpurkar et al., 2016) about major US sports events (e.g., Superbowl, NFL) or western civilization history that might not be common among Persian speakers. Instead, we follow a pipeline that is more similar to the one introduced by Kwiatkowski et al. (2019), setting our goal to annotate answers for an existing naturalistic set of questions in Persian, as opposed to writing questions for existing paragraphs.
Unlike Kwiatkowski et al. (2019), we do not have direct access to query logs. Thus we follow the approach of Berant et al. (2013); Khashabi et al. (2021) which relies on a query autocompletion API for collecting questions. Similarly, we use Google's auto-completion 3 which enables us to mine a rich, yet a natural set of questions in Persian as it is reflective of popular questions posed by users of Google.
We start with a seed set of question terms (e.g., " " [che kasI] meaning "who", and " " [kojA] meaning "where") We bootstrap based on this set, by repeatedly querying parts of previously-extracted questions, in order to discover a longer and richer set of questions. We hypothesize that such questions extracted from the auto-complete algorithm, are highly reflective of popular questions posed by Persian-speaking users of Google. We filter out any results shorter than 5 tokens as they are often incomplete questions.
This process yields over 50k questions. Subsequently, we automatically filter out openended questions with no concrete answers (e.g., " " [naetIdZe ye bAzI bA ZApon?] meaning "What is the results of the game with Japan?"). Our filtering was guided by the observation that typically more complete questions lead to Google results that include wellestablished sources (such as Wikipedia). Hence, we perform this filtering by retrieving the Google search results 4 for each question and checking if any of the top 10 search results overlap with a predefined list of credible websites. 5 We keep only the questions that match this criterion.
Annotating paragraphs and answers. In this step, native speakers of Persian select a paragraph and an answer span within the paragraph that answers each of the questions. At the first step, the annotators read the question and correct any grammatical errors and typos (e.g., " " [otsAn] is corrected to " " [ostAn] "state"). Next, they annotate all the minimal and coherent spans that contains the answer to the question, from a paragraph obtained from a relevant web page (from the Google search results retrieved from an earlier step). Whenever possible, we annotate all valid spans as the answer (for example, " " [haemedAn] and " " [ostAn e haemedAn], as shown in Fig. 1). The paragraph that contains this answer is also annotated as the context of the question.
Annotation quality. To ensure the quality of the annotations, the answers to each question were labeled by two independent annotators. Any misalignment of the answer spans or missing any valid spans were indicated as disagreements. Such disagreements were resolved in further adjudication.

Multiple-Choice QA
Multiple-choice questions are one of the common formats for evaluation of fact-retrieval and reasoning (Richardson et al., 2013;Clark et al., 2020b). Following prior works, we define the task as: given a natural language question, pick the correct answer among a list of multiple candidates. A key difference from reading comprehension ( §3.2.1) is that the instances are open-domain (i.e., no context paragraph is provided). Hence, a model would either need to retrieve external supporting documents or have stored the necessary knowledge internally to be able to answer the question.
Sources of questions. We use existing sources of multiple-choice questions, rather than annotating new ones. We collect the questions from a variety of sources: (i) The literature questions of the annual college entrance exams in Iran, for the past 15 years. These questions often involve the understanding of poetry and their implied meaning, knowledge of Persian grammar, and the history of literature. (ii) Employment exams that are expected to assess an individual's depth in various topics (accounting, teaching, mathematics, logic, etc). (iii) Common knowledge questions, which involve questions about topics such as basic science, history, or geography.
Most of the above sources are scanned copies of the original exams in image format. We use an existing Persian OCR tool to convert the image data to a textual format. 6 Then 4 annotators fix any mistakes made by the OCR system and convert the result into a structured format. Overall, this yields 2460 questions with an average of 4.0 candidate answers (Table 2). Additionally, the task comes with a label indicating the type of knowledge it requires: 'literature' (understanding of literary expressions), 'common-knowledge' (encyclopedic knowledge or everyday activities), and 'math & logic' (logical or mathematical problems). Examples from each category of questions are included in Fig. 1.
Annotation quality. To further examine the quality of the annotations, we randomly sampled 100 questions from the annotations and crosschecked the OCR output with the original data. We discovered that 94 of such questions exactly matched the original data, and the rest required minor modifications. We thus conclude that the annotated data has a high quality.

Aspect-Based Sentiment Analysis
Sentiment Analysis (SA) is the study of opinions (i.e., positive, negative, or neutral sentiment) expressed in a given text (Liu, 2012). Aspectbased Sentiment Analysis (ABSA) is a more fine-grained SA that aims to extract aspects of entities mentioned in the text and determine sentiment toward these aspects (Pontiki et al., 2014). For instance, "it tastes good but it's so expensive ..." (Fig. 1) conveys positive and negative sentiments with respect to taste and price aspects of the mentioned product (entity), respectively.
Annotation scheme. We follow the existing ABSA scheme (Pontiki et al., 2014). For every review, we do two types of annotations: (1) we assign an overall sentiment to each review, selecting from one of the following values: verynegative, negative, neutral, positive, very positive, and mixed. The mixed category indicates reviews where none of the sentiments are dominant (mix of positive and negative, or borderline cases), hence it is hard to detect the primary sentiment of a review. We also assign neutral label to reviews that express no clear sentiment toward an entity or any aspect of it.
(2) we annotate pairs of (a, s) where, a is an aspect that belongs to a predefined set of aspects for each domain and s expresses the sentiment toward the aspect a.
Collecting reviews. At first, we collect reviews from two different domains: (1) food & beverages and 2) movies. We chose these domains since they are relatively less investigated in the existing literature (see §2 for the past work). For the food & beverages category, we extracted 7 reviews from the online grocery section of Digikala, 8 and for the movie reviews category, we crawled reviews from Tiwall. 9 Both of these websites are well-known and popular websites among Persian speakers.
Defining aspects. Following ABSA scheme, we predefined a set of aspects for each domain. For food & beverages, we crawled Digikala and retrieved all listed aspects for product reviews in the food & beverages category. Subsequently, we manually aggregated the extracted aspects and merged those with significant semantic overlap. We also added taste/smell as a new aspect category since users frequently commented on this aspect. For movie reviews, we created an initial list of aspects based on the movie review aspects defined by Thet et al. (2010). In consultation with a movie critic, we resolved the potential overlaps among aspect categories and created a set of as-7 https://github.com/rajabzz/digikala-crawler 8 https://www.digikala.com/ 9 https://www.tiwall.com/  pects that capture various perspectives of movie reviews. Overall, this process resulted in 6 and 7 aspects for food & beverages and movie review domains, respectively (Table 1). After defining the sentiment aspects, we trained four native speaker annotators for the final round of annotations. This results in 2423 instances for the sentiment task (Table 2).

Annotation quality.
To measure the quality of the annotations, we randomly selected 100 samples from each domain and calculated the Inter-Annotator Agreement (IAA) using Cohen's kappa (Cohen, 1960) on annotations elicited from two independent annotators. Based on the computed IAA values, there is a substantial agreement on sub-task 1 (0.76), and moderate agreement on sub-tasks 2 and 3 (0.49 and 0.47, resp.).
Distribution of the labels. Here we report the distribution of the labels for this task. Fig. 2 shows the distribution of the document-level sentiment labels. As expected, most reviews are associated with extreme sentiments (very positive or very negative) and a relatively small portion of them are neutral. There is also a non-negligible portion of the reviews that contains mixed sentiments (partially positive and partially negative).   cation to determine whether a hypothesis sentence entails, contradicts, or is neutral with respect to a given premise sentence. We construct two subsets: (i) based on available natural sentences, and (ii) based on the available English entailment dataset. The former approach yields high-quality instances, however, it is a relatively slower annotation task. The latter is slightly easier, but yields less interesting instances.

Textual Entailment
Based on natural sentences. We start with randomly sampled raw sentences, selected from 3 different resources: Miras, 10 Persian Wikipedia and VOA corpus. 11 In this random sampling process, we specifically sample sentences that contain conjunctive adverbs (e.g, " " [amA] meaning "but"), along with their preceding sentences. We chose such examples as there is a higher chance that these sentences naturally contain inference relationships. We ask annotators to consider both sentences and write a premise and corresponding entailing, contradicting, and neutral sentences, whichever they deem appropriate. To minimize annotation artifacts and avoid creating an artificially easy dataset, we specifically instruct annotators to avoid using simple modifications, such as simply negating a sentence or changing a word to its synonym. For the rest of the work, we refer to this set as the 'natural' set.
Based on existing datasets. In this approach, we use existing datasets in English. We start with MNLI dataset (Williams et al., 2018) and translate them with the publicly available Google Translate API. 12 Subsequently, expert annotators carefully review and fix inaccurate translations. Furthermore, each translated document is reviewed by a native-speaker annotator to correct the translational mistakes. Our annotations show that about 66.4% of the translated documents have gone through some form of correction by our annotators. For the rest of the draft, we refer to this set as 'mnli'.
Overall, our two-pronged construction with 6 annotators results in 2.7k entailment instances (Table 2). Examples from each collected subset are included in Fig. 1.
Annotation quality. To verify the annotation quality, we quantify the agreement of 3 independent annotators, on 150 random examples. On this subset, we observe a Fleiss Kappa (Fleiss, 1971) of 0.77, indicating a substantial inter-annotator agreement (Landis and Koch, 1977).
Distribution of the labels. As the label distribution (Fig. 3) shows, the distribution of the labels across the three categories are not far from uniform distribution.

Question Paraphrasing
This task is defined as determining whether two given questions are paraphrases or not. This task has been previously used to improve down-stream applications like document retrieval (Zukerman and Raskutti, 2002;Callison-Burch et al., 2006;Duboue and Chu-Carroll, 2006). Similar to the construction of the entailment task ( §3.2.4), we take two different approaches: (i) based on available natural sentences, (ii) based an existing English question paraphrasing dataset.
Based on natural sentences. We start with questions mined using Google auto-complete ( §3.2.1) as well as an additional set of questions mined from Persian discussion forums. 13 We create pairs of questions with high token overlap. Each pair is annotated as paraphrase or notparaphrase by native-speakers. We drop the pair if any of the questions is incomplete. For the rest of this document, we refer to this subset as 'natural'.
Based on existing datasets. We start with the QQP dataset, 14 which is a dataset of English question-pairs, and translate it with Google Translate API. Later, expert annotators carefully review the translations and amend any inaccuracies. We observe that about 65.6% of the translated documents have gone through some form of correction by our annotators.
Overall, the annotations involved 4 annotators and resulted in 4682 question paraphrasing instances (Table 2). Examples from each collected subset are included in Fig. 1.
Annotation quality. After the annotation of the earlier steps, the example were reviewed by another annotators familiar with the task. The disagreements were labeled and adjudicated among the annotators, in order to ensure the quality of the resulting labels.
Distribution of the labels. As the label distribution shows (Fig. 4), the label distributions of the two splits ('qqp' vs 'natural') are not much different.

Machine Translation
We consider the task of translating a given English sentence into Persian, and vice versa.
This task is one of the few for which several resources are available in the literature (Kashefi, 2018;Prokopidis et al., 2016;Pilevar et al., 2011). One major limitation is that there is no widely 13 http://javabkoo.com/ 14 https://www.kaggle.com/c/quora-question-pairs    adopted comprehensive assessment of this task: most of the works are often limited to narrow domains, and the generalization across different styles of text is rarely studied. Our contribution is to put together a collection of evaluation sets, from various domains to encourage a more holistic evaluation set. Our proposed evaluation sets consist of the followings: (i) Quran: Quran has been translated into many languages, including English and Persian (Tiedemann and Nygaard, 2004). We use several different translations of Quran to create highquality evaluation sets (10 gold standard translations for each direction). Having multiple gold standards is particularly helpful for the automatic evaluation of machine translation since such metrics work best when provided with several gold standards (Gupta et al., 2019). (ii) Bible: similarly, we use Persian and English versions of Bible 15 as another evaluation set. (iii) QQP: using the data obtained in the construction of question paraphrasing task ( §3.2.5) to create an evaluation set for translating language questions. (iv) Mizan: we use the evaluation subset of the Mizan corpus (Kashefi, 2018), which is acquired based on a manual alignment of famous literary works and their published Persian translations. Overall, the combination of these four high-quality subsets yields an evaluation set that contains 47k sen-   tences, from 4 different domains (Table 2.) While our main contribution here is providing a more comprehensive evaluation of machine translation, we also provide training/dev sets to let the future work create comparable experiments to that of ours. We compile our training set at the union of the following datasets: (i) questions obtained from the question paraphrasing task ( §3.2.5, by translating the QQP instances), (ii) the training set of Mizan dataset (Kashefi, 2018), (iii) TEP dataset (Pilevar et al., 2011) andGlobal Voices dataset (Prokopidis et al., 2016). The latter two are not included in our evaluation set due to their noisy translations to prevent any inaccurate evaluations. Note that the Quran and Bible documents are intentionally not included in the training data, in order to measure models' generalization to unseen documents.

Experiments
We experiment with several recent LMs, to assess the difficulty of the PARSINLU tasks (compared to human expert performance) and also to establish baseline performance of the state-of-the-art mono-and multi-lingual pre-trained models.
All the baseline models used in this work are available online. 16 Evaluation metrics. For each task, we pick a common set of existing metrics: For readingcomprehension, we use F1 between gold answer and the response string (Rajpurkar et al., 2016); for question paraphrasing, textual entailment, multiple-choice question-answering, and sentiment analysis, we use accuracy. For the first two sub-tasks of sentiment analysis (documentlevel sentiment, aspect extraction), we use macro-F1. For the third sub-task (aspect-specific senti-ment) we use accuracy as our target evaluation metric (Angelidis and Lapata, 2018;Sun et al., 2019). For machine translation we use Sacre-BLEU (Post, 2018).
Task splits. For each task, we have provided statistics on eval, train, and dev splits in Table 3. In doing so, we have ensured that enough instances are included in our evaluation sets.
Human performance. To have an estimate of the performance and the difficulty of the challenges, we report human performance on a random subset (100-150) of instances from each task. Similar to Wang et al. (2019), we collect annotations from three human annotators, adjudicate the inconsistencies and evaluate it against the gold labels to estimate human performance for each task.
Models. For evaluation of our baselines, we use state-of-the-art LMs. Multilingual BERT (mBERT) (Devlin et al., 2019) is pre-trained on the masked LM task over 104 languages. Additionally, we use two specialized variants of BERT for Persian: wikiBERT 17 (trained on Persian Wiki) and ParsBERT (Farahani et al., 2020). 18 We also use mT5 (Xue et al., 2021), which is a multilingual variant of T5 (Raffel et al., 2020).
Model selection. We train each model with various hyper-parameters and select the best one according to their developement set performance. For the BERT-based models, we fine-tune them according to the cross product of the following hyper-parameters: (1) Batch sizes: {8, 16} for small/base models and {1, 2} for large models; (2) Training epochs: {3, 7}; (3) Learning-rates: {3 × 10 −5 , 5 × 10 −5 }. For mT5 models, we finetune them for 20k steps, dumping checkpoints every 1k step. For the translation task, we trained the models for 200k steps since the task has much larger training data. We use 10 −3 learning-rate.
Input/output encoding. We formulate question paraphrasing ( §3.2.5) and entailment ( §3.2.4) tasks as text classification tasks. 19 For sentimentanalysis ( §3.2.3), we follow formulation of Sun et al. (2019) and encode the instances as questions per aspect. The expected output is the sentiment polarity of the input review with respect to the input aspect-specific question. This formulation has the benefit that it is not restricted to a particular domain and its associated set of aspects, unlike alternatives such as multi-class classification.
Experimental setups. First, we fine-tune our models on Persian (our dataset). The results of this setup are listed in the top segment of Table 4.
Following the recent works on generalization across languages (Artetxe et al., 2020b), we evaluate English models on our Persian benchmark. We use the commonly used English datasets to supervise mT5 on each task and evaluate the resulting model on the evaluation section of PARSINLU. The English datasets used here are as follows: SQuAD 1.1 (Rajpurkar et al., 2016) for reading comprehension (size: 88k), the union of ARC (Clark et al., 2018), Open-BookQA (Mihaylov et al., 2018) and Common-senseQA (Talmor et al., 2019) for multiple-choice question-answering (size: 18k), SNLI (Bowman et al., 2015) for textual entailment (size: 550k), QQP 20 for question paraphrasing (size: 350k), and Arabic-English subset of OPUS-100  for machine translation (size: 1m). We don't do such mixing for sentiment analysis since existing English datasets are not quite compatible with our sentiment schema. The results are reported in the middle section of Table 4.
Finally, we train models on the union of Persian and English datasets. Since English datasets tend to be much bigger than Persian ones, we make sure that the batches of training data, on average, contain the same number of instances from each language. Similar treatments of task mixing have also been adopted by Khashabi et al. (2020); Raffel et al. (2020). The results of this setup are at the bottom segment of Table 4.

Results
Below are key insights from the empirical work: Humans do well on PARSINLU. As shown in the last row of Table 4, the human upper-bound scores are relatively high across the board. This is an indication of a reasonable degree of consensus between the ground-truth and judgments of native speakers and hence, the quality of our dataset.
Models haven't solved PARSINLU yet. The majority of the models significantly lag behind human performance. This is especially true for the mid-sized ('large' or smaller) models that are commonly used. It is encouraging that our largest model (mT5-XL) achieves close to human performance, for certain tasks (e.g., question paraphrasing), however, this model is prohibitively large and it requires a massive amount of compute. However, even these large models still struggle for most of the remaining tasks, particularly multiplechoice QA.
English models successfully transfer to Persian. Consistent with the prior observations (Artetxe et al., 2020b), multilingual models (mT5, in this case) trained with English data show a surprising degree of generalization to other languages (to Persian, in our case). Training on English data is particularly helpful for challenges that were originally translated from English datasets (such as 'qqp' and 'mnli').

Joint training on English and Persian helps.
For most of the tasks, combining Persian and English yields better results than training solely on Persian or English data.
While joint training generally helps, such combinations are not guaranteed to lead to positive gains all the times. Whether the "Eng + Per" models will beat either of the Persian-only or Englishonly models depends on whether their strengths (large size of "Eng" and distributional alignment of "Per") align or go against each other. Because of this issue, the combined models are not always better than the individual models.

Discussion
We now discuss several limitations of the current dataset and the experiments. We then outline several directions for future work.
Beyond current models. As shown in the earlier experiments, for most of the tasks the current mid-sized models perform significantly worse than humans. This is particularly pronounced for the multiple-choice QA task where there is over 40% gap between the model and human performance, and increasing the model size (number of parameters) shows minimal benefits.
We hypothesize that the difficulty of our multiple-choice questions (and other tasks, to some extent) for the models are partly due to the reasoning and abstraction needed to answer them. For example, the 'literature' questions often demand creating connection several pieces of poetry, based on abstract interpretations of their meanings. Likewise, most of the 'math & logic' questions require several 'hops' of algebraic operations to get to the final answer. We hypothesizes these challenges (multi-hop reasoning over high-level abstractions of language) cannot be solely be addressed with more training data. and likely require a dramatic rethinking of our architectures design. For example, the poor performance on 'math & logic' questions might be due to models' inability to comprehend Persian numbers and do logical reasoning with them, a topic that is briefly studied in English (Geva et al., 2020). There might also be value in exploring multi-task setups across our various tasks (Zaremoodi et al., 2018), which we delegate to the future work. We hope this benchmark will encourage more of such studies, especially in the context of the Persian language.
Coverage of dialects. There are other dialects of Persian, including Dari and Tajiki dialects, that are not covered by our dataset. We acknowledge this limitation and hope the future work will create broader and more inclusive collections.

Conclusion
This work introduced PARSINLU, a benchmark for high-level language understanding tasks in Persian. We present a careful set of steps we have followed to construct each of the tasks with the help of native speakers ( §3.2). We have presented human scores to establish estimated upper-bounds for each task. This is followed by evaluating stateof-the-art models on each task and quantifying the human-machine gap ( §4).
To the best of our knowledge, this is the first work that publishes a language understanding benchmark for Persian language. We hope that PARSINLU inspires more activity in the Persian NLU tasks, as well as contributing to the latest efforts in multilingual NLU.