WorksComputer Science
Towards Figurative Language Understanding in Moroccan Darija: An Evaluation of Large Language Models
Abstract
Figurative language remains a major challenge for Machine Translation (MT) systems, as the intended meaning of such expressions often goes beyond literal translation. Although recent advances in Large Language Models (LLMs) improved the translation of Arabic dialects, benchmark resources for evaluating figurative language translation in Moroccan Darija remain scarce. To this end, we introduce the Moroccan Darija Figurative Language Corpus (MDFC), a benchmark dataset for MT and multiple-choice question (MCQ) selection covering idioms, metaphors, and proverbs. Using MDFC, we evaluate 19 open- and closed-weight language models and MT systems at both the expression and contextual levels under zero-shot and six-shot settings. We also conduct layer-wise similarity-based probing to determine how model representations distinguish figurative from literal meanings. Our findings reveal that closed-weight models achieve the strongest translation performance, while the benefits of contextual information vary across models and tasks. Differences between translation performance and MCQ accuracy highlight the distinction between generating an appropriate figurative translation and recognizing the intended meaning among candidate translations.
Introduction
Human language plays a central role in communication, allowing individuals to convey ideas, express emotions, and share information across cultures. However, sentence interpretation is not limited to the literal sense of words; it is also shaped by cognitive and pragmatic factors, influenced by cultural background and shared knowledge. This is particularly evident in idioms, metaphors, and proverbs, which function as rhetorical devices whose intended meaning is often implicit rather than explicitly stated. Interpreting these expressions thereby requires linguistic knowledge, cultural awareness, and experience. When translating them, the literal translation preserves the direct lexical meaning of the source sentence through word-for-word translation [1, 2]. In contrast, the figurative translation conveys the intended meaning of the expression while accounting for its cultural and contextual background.
In the context of MT, LLMs are capable of generating fluent and coherent text [3, 4, 5], yet they do not fully understand this context-dependent and socio-pragmatic expressions, such as idioms and slang [6]. Instead, they rely on patterns and representations learned from large-scale training data, which allows them to approximate context-sensitive language use, while struggling to fully capture the meaning of culturally rich and figurative usages of language [7, 8].
Despite these limitations, the evaluation of LLMs in MT remains centered on standard benchmarks that prioritize high-resource languages and conventional text [9, 10]. Such benchmarks provide limited insight into how models handle linguistically complex and culturally grounded phenomena in underrepresented languages [11]. This issue is particularly evident for example for Moroccan Darija, a low-resource Arabic dialect characterized by high variability, lack of standardization, and strong cultural specificity [12].
The lack of dedicated evaluation resources for the figurative language makes it difficult to assess the behavior of the model and identify failure modes. For instance, the expression ‘مقطوع من شجرة’ (literally: ‘cut from a tree’) refers to someone with no family or social ties, while ‘طار ليه الفرخ’ (literally: ‘the bird flew away from him’) is used to describe someone who has lost their mind or become irrational. Such examples highlight the gap between surface form and intended meaning, reflecting the importance of more targeted evaluation approaches and more robust models capable of handling such figurative expressions.
Existing benchmarks do not make it possible to classify fluent translation from genuine preservation of figurative meaning, particularly for culturally specific Darija expressions. It therefore remains uncertain whether model improvements, greater scale, or access to contextual information translate into a stronger ability to recover intended meanings rather than reproduce literal lexical content. Addressing this question requires targeted data, comparisons across model families and sizes, and complementary evaluation methods that capture both general translation quality and figurative adequacy.
To systematically examine both model capability and the methodological factors that shape its evaluation, we address the following research questions: How accurately can LLMs translate idiomatic, metaphorical, and proverbial expressions from Moroccan Darija into English while preserving their intended meaning, and to what extent do they rely on literal translation? (RQ1) To what extent does providing contextual information affect models’ ability to preserve the intended meaning of Moroccan Darija figurative expressions? (RQ2) What types of translation errors characterize the outputs of the evaluated models, and how do these error patterns differ across selected models? (RQ3) How does model parameter size influence translation performance? (RQ4)
The main contributions of this work are as follows:
The introduction of MDFC, the first benchmark specifically designed for Moroccan Darija figurative language translation, comprising expression- and context-based data in which source sentences are paired with literal and figuratively appropriate English translations.
A multidimensional evaluation framework that examines figurative translation generation and interpretation through complementary automatic and LLM-based metrics, multiple-choice evaluation under zero- and few-shot prompting settings, and a systematic analysis of recurrent translation errors across selected models.
An extensive evaluation of 19 open- and closed-weight LLMs and MT models, examining the roles of contextual information, prompting strategy, and model size in Moroccan Darija figurative translation.
A layer-wise probing analysis examining how figurative meaning is represented across model layers and whether these representations distinguish figuratively appropriate meanings from literal translations.
The remainder of this paper is organized as follows: § 2 reviews prior research on figurative language processing, resources, and LLM-based translation evaluation. § 3 describes the construction and characteristics of MDFC. § 4 presents the evaluated models, prompting settings, and evaluation metrics. § 5 presents and discusses the experimental results. Finally, § 6 summarizes the study and outlines directions for future research.
Related Work
Figurative Language Resources and Models
Figurative language is closely tied to culture and context, making it challenging for models to accurately interpret and translate [13]. Its meaning is often non-compositional and depends on linguistic and cultural contexts [14], making literal interpretation or translation insufficient to preserve the intended meaning. Consequently, many researchers have proposed dedicated datasets and evaluation frameworks.
For instance, Zhu et al. [15] introduced a human-annotated Chinese dataset with 12 figures of speech. They evaluated extraction, classification, and task recognition with RoBERTa-based models. The results showed that extraction and recognition tasks are still challenging. In [11], the authors introduce FLUTE, a novel dataset for figurative language understanding, including around 9,000 examples created using a model-in-the-loop framework. This dataset improved the performance of a fine-tuned T5 model compared to training on the e-SNLI dataset [16]. Furthermore, Prystawski et al. [17] approached the metaphorical expressions using the Katz dataset [18] by pairing each one with multiple paraphrases. They evaluated GPT-3 models using chain-of-thought prompts and showed that these reasoning prompts improve metaphor understanding. Jang et al. [19] tackle figurative language classification using the FLUTE dataset. They fine-tuned transformer-based models and compared them with traditional models such as logistic regression and random forest. The results showed that transformer models achieve higher F1 scores, and feature analysis indicates that this is associated with their greater focus on content words, whereas traditional models tend to be attracted by high-frequency function words, which are of little help in distinguishing between different types of figurative language. In another contribution, Kabra et al.[20] proposed a figurative language dataset for seven culturally diverse languages. They evaluated it on XLM-R and mBERT with fine-tuning, and GPT-3 and BLOOM with prompting. The results showed that figurative expressions are mainly culture-specific, as evidenced by their dataset analysis of culturally grounded concepts. Additionally, they experimented with few shot prompting, leading to a slight improvement, while zero-shot performance remained relatively poor. Similarly, Bollepally et al. [6] assessed LLM’s capability in interpreting figurative language. Humans and four LLMs rated sentences covering idioms, humor, sarcasm, emotions, and Gen Z slang, using 40 interpretive questions. Surface-level correlation and Representational Similarity Analysis were then used to compare human and model judgments. There was poor correspondence between humans’ and machines’ interpretations when dealing with context-sensitive linguistic constructions like idioms and slang. Moreover, Hosseini et al. [21] introduced FFE-HALLU, which consists of 600 instances as a benchmark task in Persian language to evaluate idiomatic and proverbial hallucinations of language models. They assessed six multilingual LLMs on expression generation, fabricated-expression detection, and English-to-Persian translation. The results showed that most models struggled to distinguish authentic expressions from plausible fabrications and frequently hallucinated during translation. Furthermore, Ye et al. [22] evaluated seven LLMs using the Fig-QA [23] and MUNCH [24] datasets. In their methodology, they employed geometric probes for quantifying semantic alignments, used both context-dependent and context-free substitution tasks for assessing dependence on lexicons, and controlled syntactic perturbations to assess metaphor detection. The results revealed semantic shift, persistent lexical associations, and sensitivity to syntactic irregularities.
Overall, research on figurative language processing has combined the construction of human-annotated and model-in-the-loop resources [15, 20, 11] with increasingly diverse modeling and evaluation methods, including fine-tuning [19], prompting [17, 20], human–LLM judgment comparisons [6], and representation-based probing [22]. Across these methodological settings, the findings consistently indicate that current LLMs, particularly open-weight models, remain limited in their ability to capture context-sensitive and culturally grounded meanings [20, 6, 21]. Further systematic investigation is therefore required to determine how effectively these models process figurative expressions in low-resource and culturally specific linguistic contexts.
Figurative Language Resources for Arabic Dialects
Existing Arabic dialects remain underexplored for figurative expressions, despite the availability of a few datasets [31, 32, 33, 34, 35, 36, 37], with only a small number of studies exploring this direction. Table 1 shows a comparison of Arabic figurative language benchmarks.
S.Ibrahim et al. [25] present AIPsLeX, a manually annotated resource containing 3,632 idioms and proverbs in Modern Standard Arabic and Egyptian Arabic for sentiment analysis. Their detection approach combines: N-gram extraction, cosine similarity, and Levenshtein distance, before assigning them polarity labels. Experiments on Arabic tweets, reviews, and comments show that the combined approach achieves 98.62% detection accuracy. Elmwally and Alsyat [26] proposed an Arabic dataset for figurative language sentiment analysis, including a total of 2,000 texts labeled as literal and figurative, collected from Saudi dialects and Modern Standard Arabic. Three models were evaluated for this task, with Bernoulli Naive Bayes performing best, achieving a 94% F1 score. Similarly, Magdy et al. [27] proposed a multi-dialectal dataset of 10,037 proverbs covering 20 Arabic varieties, with Arabic and English translations and explanations. Zero-shot evaluation showed that current models translate accurately but struggle with contextual and cultural explanations. Moreover, Al Gh allab et al. [9] introduced the Fann or Flop dataset, a benchmark consisting of 6,984 poem–
| Dataset | Language | Figurative Type | Size | Ctx. | Translation | LLM Bench. |
| AIPSeLEX [25] | MSA, Egyptian | Idioms, Proverbs | 3,632 | ✗ | ✗ | ✗ |
| AFSA [26] | MSA, Saudi | Hyperbole, Simile, Sarcasm, Metaphor | 2,000 (1,000 fig.; 1,000 lit.) | ✓ | ✗ | ✗ |
| Jawaher [27] | 20 Arabic varieties | Proverbs | 10,037 | ✗ | ✓ | ✓ |
| Fann or Flop [9] | Arabic | Poetry | 6,984 | ✓ | ✗ | ✓ |
| ALPS [28] | Arabic | Semantic and pragmatic phenomena | 531 | ✗ | ✗ | ✓ |
| Yemeni Proverbs [29] | Yemeni Arabic, MSA | Proverbs | 5,252 | ✗ | ✗ | ✓ |
| Arabic Idioms [30] | MSA, Arabic dialects | Idioms | 3,320 (1,660 fig.; 1,660 lit.) | ✗ | ✗ | ✗ |
| Kinayat [8] | Egyptian Arabic | Idioms | 325 | ✓ | ✗ | ✓ |
| MDFC (Ours) | Moroccan Darija | Idioms, Metaphors, Proverbs | 1,801 | ✓ | ✓ | ✓ |
caption: Comparison of Arabic figurative language datasets and benchmarks. Ctx. and LLM Bench. indicate the inclusion of context and LLM-based evaluation, respectively. Fig. and lit. denote figurative and literal instances, respectively.
:::
explanation pairs, evaluated on multiple open- and closed-source LLMs. The results indicated that models struggle with deep poetic and cultural understanding. Additionally, Al-Olimat and Alshareef [28] present ALPS, a manually curated benchmark of 531 multiple-choice questions across 15 semantic and pragmatic tasks for evaluating Arabic linguistic reasoning. The authors evaluate 23 LLMs in a zero-shot setting, showing that Gemini-3-Flash achieves the best performance, while current models still struggle with morpho-syntactic reasoning. More recently, Thmer et al. [29] develop a dataset that involves 5,252 Yemeni Arabic proverbs paired with MSA explanations. The authors fine-tuned AraT5v2 on the dataset and evaluated its ability to generate explanations for unseen proverbs. They also evaluated seven LLMs on 456 proverbs under zero- and few-shot settings, revealing persistent limitations in culturally grounded proverb interpretation. While Hmidi [30] build a balanced dataset involving 1,660 Arabic idioms collected from online platforms and a proverb handbook, and 1,660 literal statements gathered from news, blogs, and X. Seven deep-learning and transformer-based models were evaluated, with a transformer ensemble achieving the highest accuracy of 97.8%. Finally, in (author?) [8], the authors approached the Egyptian Arabic figurative language at three levels: pragmatic use, understanding, and contextual understanding, using a dataset of 325 Egyptian Arabic idioms. 22 open- and closed-source LLMs were evaluated, and the best results were achieved by Claude 3.5 Sonnet and GPT-4o, with the highest performance on contextual understanding. This study, however, used a limited number of samples for evaluation, e.g. only 150 sentences for contextual understanding.
Although existing studies have begun to address Arabic figurative language [27, 8], the ability of LLMs to understand and translate figurative expressions in Moroccan Darija remains largely unexplored. This represents an important research gap because figurative meaning is often non-compositional and strongly dependent on linguistic, contextual, and cultural knowledge [13, 14, 20].
Moroccan Darija Figurative Language Corpus
This section describes the design and construction of MDFC, including its expression-level and context-level datasets, evaluation tasks, and annotation process.
Dataset Design
The MDFC dataset is designed to evaluate language and machine translation models on figurative language interpretation and translation. Specifically, it is used to assess whether they can actually distinguish the intended meaning from its literal interpretation and generate an appropriate English translation. The corpus is composed of Moroccan Darija idioms, metaphors, and proverbs, along with their English translations.
MDFC is organized into two complementary datasets: an expression-level dataset and a context-level dataset. The expression-level set presents the figurative expressions in isolation, allowing evaluation of models’ capability on whether they can recover their intended meanings without the support of a sentence context. The context-level dataset embeds figurative expressions within sentences. This dataset has been created to assess how linguistic and pragmatic context influences figurative meaning comprehension. This two-level design is proposed to support additional analysis of context-based and context-free figurative-language understanding.
Each dataset instance follows a triplet structure:
where represents the Moroccan Darija source sentence, either from expression- or context-level sets; is its word-for-word English translation, and is an English translation that conveys the intended figurative meaning. The literal translation functions as an alternative distractor, whereas the figurative translation is the desired target translation. Based on this structure, MDFC has two complementary evaluation tasks: a translation task and an MCQ task. For the first one, each model receives as input and is asked to generate the intended figurative English translation.
For the MCQ task, each original triplet is transformed to represent the following structure:
where and denote the two candidate English translations, and indicates the correct answer. The two candidates correspond to a random assignment of the literal and figurative translations. Accordingly, when , and when . Randomizing the positions of the two translations prevents the correct answer from being systematically associated with a particular option. Unlike the translation task, the MCQ evaluates whether a model can recognize the intended figurative meaning from the literal one without requiring models to generate the translation.
Together, the two dataset levels and evaluation tasks enable a comparative analysis of context-free and context-based figurative-language understanding, as well as the distinction between recognizing an intended translation and generating an appropriate one.
Expression-Level Dataset Constuction
To construct the expression-level dataset, we first prompted GPT-5.0 and Gemini-2.0-Flash to generate Moroccan Darija idiomatic expressions. The generated candidates were manually reviewed by the annotators to remove duplicates, incorrect or unclear expressions, and examples that did not convey a figurative meaning. Valid instances were corrected and reformulated when necessary.
To increase the size and diversity of the dataset, the model-generated expressions were augmented with examples provided by the human annotators and proverbs obtained from the Moroccan Darija subset of the PALM dataset [38]. The PALM examples account for 43.22% of the final expression-level dataset. All examples, regardless of the source, were carefully reviewed to retain only high-quality instances. The final dataset contains 423 expressions, each one paired with a literal English and intended figurative translation.
Context-Level Dataset Construction
The context-level dataset construction was based on the expression level, where each instance is embedded within natural contexts. Using Gemini-2.0-Flash1, we generate contextual sentences by incorporating the intended meanings from the Expression-level dataset into the prompt to guide the correct interpretation (Figure 3 in Appendix). Four contextual variants are generated for each expression and manually validated by two annotators, who remove incoherent samples and correct minor errors, ensuring that all retained samples are human-verified.

Context Generation Prompt
You are an expert in the Moroccan Darija figurative language.
Expression: {expression}
Intended meaning (English Translation): {intended_meaning}
Task:
Generate four different natural Moroccan Darija sentences that put the expression in context and correctly reflect its intended meaning.
Rules:
- Sentences must be in Moroccan Darija only.
- Give more realistic and natural contextual sentences.
- Make each sentence different.
Return STRICTLY valid JSON in the following format:
{
"contexts": [
"sentence 1",
"sentence 2",
"sentence 3",
"sentence 4"
]
}Figure 3. Prompt used for generating contextual Moroccan Darija sentences containing figurative expressions, where {expression} and {intended_meaning} represent the source expression and its intended figurative English translation, respectively.
To increase linguistic diversity, particularly in terms of metaphorical expressions, we incorporate human-verified samples from the Casablanca dataset [39] and Flores Darija [40], from which we select only sentences containing figurative language. These resources contribute 14.60% and 6.94% of the final Context-level dataset, respectively. Gemini-2.0-Flash is then used to generate both literal and intended translations, which are subsequently reviewed, corrected, and reformulated by annotators. Since those expressions often do not
| Type | Source Sentence | Literal Translation | Figurative Translation |
| Expression | فكروش العجينة | There is dough in his belly. | He is an evasive person. |
| Expression | ما كين غير جري عليا نجري عليك | There is nothing but ‘run at me; I run at you’. | I am quite busy these days. |
| Context | هاداك باين ليا ف كروش العجينة ماكاينش ليه نيتو صافية. | That one, it appears to me there is dough in his belly; his intention doesn’t appear clear to me. | I can tell that guy is hiding something; he doesn’t seem like he has good intentions at all. |
| Context | معرفتش واش نقدر نجي الصراحة، ما كين غير جري عليا نجري عليك. | I don’t know if I can come honestly; there is nothing but running on me, I run on you. | Honestly, I am not sure I can make it. Things have been nonstop lately, and I’m busy |
tbl:2: Representative examples from the Expression-level and Context-level datasets.
| Type | Question | Option A | Option B | Answer |
| Expression | فكروش العجينة | He is an evasive person. | There is dough in his belly. | A |
| Expression | ما كين غير جري عليا نجري عليك | I am quite busy these days. | There is nothing but ‘run at me; I run at you’. | A |
| Context | هاداك باين ليا ف كروش العجينة ماكاينش ليه نيتو صافية. | That one, it appears to me there is dough in his belly; his intention doesn’t appear clear to me. | I can tell that guy is hiding something; he doesn’t seem like he has good intentions at all. | B |
| Context | معرفتش واش نقدر نجي الصراحة، ما كين غير جري عليا نجري عليك. | Honestly, I am not sure I can make it. Things have been nonstop lately, and I’m busy | I don’t know if I can come honestly; there is nothing but running on me, I run on you. | A |
tbl:3: Representative MCQ examples from the Expression-level and Context-level datasets.
admit literal English equivalents, annotators paraphrase the intended translations to accurately convey the underlying meaning of the source sentence. The final Context-level dataset contains 1,801 triplets, each consisting of a source sentence, a literal, and an intended English translation.
Examples from both datasets are shown in Table 2, while their corresponding MCQ transformations are presented in Table 3.
Annotation Process
The annotation was carried out by two native speakers of Moroccan dialect (Darija), who are fluent in English. One annotator is a PhD student in computational linguistics and co-author of this work. The second annotator holds a Master’s degree in Arabic–English–French translation and was recruited and compensated hourly for this task. The validation, editing, and translation of both datasets were carried out by the two annotators, who each annotated an equal portion of the dataset. Throughout the annotation process, ambiguous cases or instances requiring further verification were discussed jointly by the annotators until a consensus was reached, and the resulting annotation was retained in the final dataset.
Methods and Experiments
This section presents the experimental setup, including the evaluated models, zero-shot and six-shot prompting settings, evaluation methods for the translation and MCQ tasks, and implementation details.
Evaluated Models
The experiments covered 19 models selected to provide an evaluation of Moroccan Darija figurative language translation. The selected models comprise Arabic-centric, multilingual MT, and general-purpose models for both open- and closed-weights families, with parameter sizes ranging from 590M to 27B. The evaluated open-weights models include NLLB [40] (600M, 1B, and 3.3B parameters); Atlas-Chat [41] (2B, 9B, and 27B); AceGPT [42] (7B and 13B, in both base and chat versions); the JAIS family [43] (590M, 1.3B, 2.7B, and 6.7B); as well as Fanar 1.9B [44] and ALLAM 7B [45]. We assessed closed-weighted models as well, including GPT-4.1 [46] and Claude [47] (both opus-4.6 and sonnet-4.6 versions).
All systems were evaluated on both the expression-level and context-level datasets under zero-shot and six-shot prompting settings. In the six-shot setting, the same six randomly selected demonstrations were provided to all evaluated systems as in-context examples. These examples, along with any other sentences containing the same figurative expressions, were removed from the corresponding evaluation datasets to prevent data leakage. NLLB models weren’t included in the MCQ evaluation task given that they are designed specifically for machine translation and do not support instruction-based multiple-choice evaluation, same for few-shot experiments.
Evaluation Metrics
The quantitative evaluation of the MT results, combined the following four methods:
Lexical similarity: We used BLEU [48] to measure lexical overlap between the generated and reference translations. Scores were computed using SacreBLEU v2.6.0 [49].
Semantic similarity: BERTScore [50] and COMET [51] were used to assess translation quality beyond lexical overlap. BERTScore F1 values [8] were computed using the microsoft/deberta-xlarge-mnli model and the bert-score library v0.3.13. COMET scores [52, 51] were computed using the McGill-NLP/ssa-comet-mtl model and the unbabel-comet library v2.2.7.
LLM-as-a-judge: Translation quality was assessed along two dimensions: adequacy, and fluency [53].2 Each dimension was rated on a five-point Likert scale. Gemini-3.8-flash model was then used as a judge to evaluate the translations.
Human evaluation: A subset of the generated translations was evaluated by human annotators to assess the reliability of the LLM-as-a-judge setup.
For the MCQ task, we considered accuracy as the model performance measure, defined as the percentage of cases in which the model selected the intended figurative translation.
| Measure | Description | Scale (1–5) |
| Adequacy | Measures how the translation preserves semantic correctness. | 5: Perfectly conveys the intended meaning. |
| Adequacy | Measures how the translation preserves semantic correctness. | 4: Mostly accurate; minor nuances missed without altering the overall meaning. |
| Adequacy | Measures how the translation preserves semantic correctness. | 3: Conveys general meaning, but some important details are missing |
| Adequacy | Measures how the translation preserves semantic correctness. | 2: Mostly incorrect translation |
| Adequacy | Measures how the translation preserves semantic correctness. | 1: Completely incorrect or misleading translation |
| Fluency | Measures the grammaticality and fluency of the English translation. | 5: Fully natural, native-like English |
| Fluency | Measures the grammaticality and fluency of the English translation. | 4: Slightly unnatural but still fluent |
| Fluency | Measures the grammaticality and fluency of the English translation. | 3: Understandable but somewhat awkward |
| Fluency | Measures the grammaticality and fluency of the English translation. | 2: Clearly unnatural or poorly phrased |
| Fluency | Measures the grammaticality and fluency of the English translation. | 1: Very unnatural or broken English |
Table 4. Evaluation criteria used for LLM-as-a-judge scoring.
Implementation details
All open-weight models were evaluated using deterministic greedy decoding. The maximum generation length was set to 256 tokens for the translation and to 16 tokens for the MCQ task, in which models were instructed to generate only the selected answer option (A or B). Inference was performed in BF16 precision on a single NVIDIA H100 GPU with 80 GB of HBM3 memory [54].
The closed-weights models were accessed through their official APIs. GPT-4.1 was evaluated using the OpenAI API, whereas Claude Opus 4.6 and Claude Sonnet 4.6 were evaluated using the Anthropic API in July 2026.
Results and Discussion
Zero-shot Translation Performance
Table 5 shows the zero-shot results of figurative translation for the evaluated models in terms of expression-level and context-level datasets. Model GPT-4.1 obtains the highest scores in both evaluation settings. Claude-opus-4.6 follows closely, ranking second in BLEU, BERTScore, COMET, and adequacy. Among the evaluated models, the closed-weight models outperform the open-weight ones in BLEU, BERTScore, COMET, and adequacy, implying better capacity in conveying the intended figurative meaning compared to the open-weight models. However, this advantage is less consistent for fluency, where some Atlas-Chat variants outperform the Claude models. GPT-4.1 achieves adequacy scores of 3.13 and 3.82 at expression level and context level tests, respectively. Thus, indicating moderate to good performance for preserving the figurative meanings of Moroccan Darija. Nevertheless, the lower adequacy scores of open-weight models indicate that this capability varies considerably across systems, making figurative translation of Moroccan Darija remain challenging, RQ1.
| Model | Expression-Level | Expression-Level | Expression-Level | Expression-Level | Expression-Level | Context-Level | Context-Level | Context-Level | Context-Level | Context-Level |
| BLEU | BERT | COM. | LLM-as-a-judge | BLEU | BERT | COM. | LLM-as-a-judge | |||
| Adeq. | Flu. | Adeq. | Flu. | |||||||
| NLLB 600M | 0.57 | 54.44 | 34.34 | 1.35 | 2.93 | 7.26 | 62.44 | 37.77 | 1.37 | 2.52 |
| NLLB 1.3B | 0.86 | 55.58 | 35.48 | 1.40 | 3.21 | 8.44 | 64.33 | 39.81 | 1.55 | 2.88 |
| NLLB 3.3B | 0.72 | 56.53 | 36.41 | 1.45 | 3.29 | 8.87 | 65.36 | 40.83 | 1.62 | 3.15 |
| Atlas-Chat 2B | 0.88 | 55.90 | 37.44 | 1.67 | 3.44 | 7.88 | 59.67 | 42.72 | 1.86 | 2.81 |
| Atlas-Chat 9B | 2.22 | 59.12 | 38.99 | 2.25 | 3.85 | 14.55 | 71.86 | 45.88 | 2.76 | 3.80 |
| Atlas-Chat 27B | 1.55 | 58.40 | 39.30 | 2.37 | 3.76 | 13.51 | 71.00 | 45.48 | 2.87 | 3.74 |
| ALLaM-7B | 0.85 | 49.73 | 34.53 | 1.85 | 2.84 | 12.77 | 67.81 | 43.89 | 2.55 | 3.20 |
| Fanar 9B | 0.83 | 58.26 | 36.81 | 1.57 | 3.03 | 6.93 | 63.25 | 42.59 | 1.69 | 2.22 |
| AceGPT-7B | 0.58 | 54.97 | 39.05 | 1.64 | 3.22 | 7.21 | 63.08 | 41.09 | 1.74 | 3.25 |
| AceGPT-13B | 0.91 | 54.53 | 37.67 | 1.65 | 3.38 | 6.70 | 61.63 | 40.98 | 1.66 | 3.01 |
| AceGPT-7B-chat | 1.43 | 57.93 | 37.84 | 1.48 | 3.34 | 6.02 | 61.89 | 41.40 | 1.48 | 2.92 |
| AceGPT-13B-chat | 1.59 | 56.80 | 37.32 | 1.49 | 3.14 | 7.63 | 63.42 | 41.73 | 1.58 | 2.71 |
| jais-family-590m | 0.17 | 52.54 | 34.90 | 1.19 | 2.52 | 2.70 | 57.62 | 36.83 | 1.23 | 2.43 |
| jais-family-1p3b | 0.32 | 52.77 | 35.27 | 1.29 | 2.46 | 4.46 | 60.25 | 39.03 | 1.44 | 2.26 |
| jais-family-2p7b | 0.43 | 55.42 | 36.91 | 1.54 | 2.54 | 6.49 | 64.62 | 42.38 | 1.81 | 2.53 |
| jais-family-6p7b | 0.59 | 57.63 | 38.36 | 1.84 | 2.90 | 8.40 | 67.56 | 43.94 | 2.16 | 2.70 |
| GPT-4.1 | 5.53 | 67.23 | 43.26 | 3.13 | 4.05 | 21.83 | 77.58 | 51.13 | 3.82 | 4.14 |
| Claude-opus-4.6 | 4.40 | 64.00 | 41.82 | 2.96 | 3.75 | 21.75 | 76.38 | 49.89 | 3.68 | 4.02 |
| Claude-sonnet-4.6 | 2.89 | 60.54 | 41.12 | 2.67 | 3.34 | 16.86 | 73.40 | 48.76 | 3.18 | 3.42 |
Table 5. Evaluation of models on figurative translation. BLEU, BERTScore (BERT), and COMET (COM.) are reported on a 0–100 scale. LLM-as-a-judge evaluates translations using Adequacy (Adeq.) and Fluency (Flu.), each on a 1–5 scale.
The relationship between parameter count and translation performance varies across model families and evaluation metrics. NLLB models improve consistently on every metric except expression-level BLEU, which decreases when scaling from 1.3B to 3.3B. Jais models show consistent improvements in BLEU, BERTScore, COMET, and adequacy at both levels, while fluency initially decreases from 590M to 1.3B before improving for larger variants. However, Atlas-Chat 9B outperforms Atlas-Chat 27B on most metrics, despite the latter achieving higher adequacy. Similarly, increasing the parameter count from AceGPT-7B to AceGPT-13B reduces performance across all context-level metrics. This decline does not extend to their chat variants, where the 13B model achieves higher context-level scores on all metrics except fluency. These findings indicate that increasing parameter count does not consistently improve figurative translation performance, addressing RQ4.
Effect of Context on Translation
Performance generally improves when figurative expressions are presented within contextualized sentences. As shown in Table 5, all models achieve higher BLEU, BERTScore, and COMET scores on the context-level dataset. Adequacy also improves for all models except AceGPT-7B-chat, whose score remains unchanged, with particularly notable gains for Claude-opus-4.6, ALLaM-7B, and GPT-4.1, whose scores increase by 0.72, 0.70, and 0.69 points, respectively. A similar overall trend is observed in the MCQ results presented in Table 6, although accuracy decreases for AceGPT-7B and jais-family-1p3b. These findings suggest that contextual information generally provides semantic and pragmatic cues that help models identify and preserve the intended meaning of Moroccan Darija figurative expressions (RQ2).
| Model | Expression-Level | Context-Level | Accuracy |
| Atlas-Chat 2B | 40.66 | 55.75 | +15.09 |
| Atlas-Chat 9B | 39.24 | 52.47 | +13.23 |
| Atlas-Chat 27B | 37.59 | 51.36 | +13.77 |
| ALLaM-7B | 31.91 | 46.53 | +14.62 |
| Fanar | 38.06 | 55.75 | +17.68 |
| AceGPT-7B | 50.12 | 47.64 | -2.48 |
| AceGPT-13B | 46.57 | 52.92 | +6.35 |
| AceGPT-7B-chat | 25.53 | 41.87 | +16.34 |
| AceGPT-13B-chat | 47.99 | 51.75 | +3.76 |
| jais-family-590m | 40.90 | 43.36 | +2.46 |
| jais-family-1p3b | 49.41 | 42.48 | -6.93 |
| jais-family-2p7b | 47.99 | 51.19 | +3.20 |
| jais-family-6p7b | 3.78 | 14.88 | +11.10 |
| GPT-4.1 | 60.76 | 62.13 | +1.37 |
| Claude-opus-4.6 | 44.68 | 66.51 | +21.83 |
| Claude-sonnet-4.6 | 39.48 | 57.85 | +18.37 |
Table 6. Accuracy (%) of the evaluated models on the expression-level and context-level MCQ benchmarks. Accuracy denotes context-level minus expression-level accuracy, in percentage points.
Nevertheless, most open-weight models register reduced fluency scores at the context level relative to those at the expression level. The exceptions are ALLaM-7B and AceGPT-7B, whose fluency scores increase from 2.84 to 3.20 and from 3.22 to 3.25, respectively. All three closed-weight models also show improved fluency with context. These results suggest that improvements in adequacy with context do not necessarily coincide with improvements in fluency, particularly among open-weight models.
Figurative-Translation Selection Results
The accuracy of figurative English translation detection using multiple-choice questions is presented in Table 6. On the expression-level dataset, the highest accuracy was achieved by GPT-4.1 (60.76%), followed by AceGPT-7B and jais-family-1p3b. Meanwhile, at the context level, the best-performing model was Claude-opus-4.6 (66.51%), then GPT-4.1 and Claude-sonnet-4.6. Closed-weight models exhibit superior predictive abilities. Nonetheless, some open-weight ones perform competitively, especially on the expression-level dataset.
Contextual information improves MCQ accuracy for most models. Both Claude variants obtain remarkable gains from the use of context, with the largest difference improvements compared to the others. However, AceGPT-7B and jais-family-1p3b exhibit negative values, indicating that context does not benefit all models equally. Some models also achieve moderate MCQ accuracy despite their relatively low translation adequacy scores. For example, Fanar achieves 55.74% MCQ accuracy on the context-level dataset despite receiving an adequacy score of only 1.69. Similarly, jais-family-1p3b obtains 49.41% MCQ accuracy on the expression-level dataset but with an adequacy score of only 1.29. These results indicate that models may recognize the intended figurative meaning when presented with the literal translation alternative while struggling to generate an adequate translation independently. The statistical significance of differences between models is further examined using pairwise McNemar tests, as detailed in Appendix § 8.
Few-shot Translation Performance
Table 7 shows that the evaluated closed-weight models outperform open-weight models in BLEU, BERTScore, COMET, and adequacy at both the expression and context levels under few-shot prompting. Claude-opus-4.6 achieves the highest scores across all expression-level metrics. At the context level, it leads in BLEU and BERTScore, while GPT-4.1 achieves the highest COMET, adequacy, and fluency scores. Among openweight models, Atlas-Chat 9B achieves the highest expression-level BLEU, COMET, and fluency scores, while ALLaM-7B achieves the highest expression-level BERTScore and adequacy, and the strongest context-level results across all metrics except fluency.
| Model | Expression-Level | Context-Level | ||||||||
| BLEU | BERT | COM. | LLM-as-a-judge | BLEU | BERT | COM. | LLM-as-a-judge | |||
| Adeq. | Flu. | Adeq. | Flu. | |||||||
| Atlas-Chat 2B | 2.07 | 60.26 | 37.12 | 1.75 | 3.86 | 9.94 | 68.50 | 43.56 | 2.14 | 3.58 |
| Atlas-Chat 9B | 4.26 | 62.93 | 38.28 | 2.37 | 4.35 | 13.19 | 71.57 | 45.96 | 2.88 | 4.09 |
| Atlas-Chat 27B | 2.90 | 60.69 | 37.06 | 2.40 | 3.96 | 4.59 | 44.93 | 38.13 | 1.77 | 1.99 |
| ALLaM-7B | 3.58 | 63.73 | 39.87 | 2.45 | 3.93 | 16.08 | 73.66 | 47.77 | 3.08 | 4.11 |
| Fanar | 1.68 | 41.19 | 16.97 | 1.31 | 1.56 | 5.46 | 60.03 | 36.68 | 2.21 | 3.34 |
| AceGPT-7B | 2.35 | 58.21 | 39.21 | 1.98 | 4.26 | 6.38 | 63.33 | 39.10 | 1.89 | 4.30 |
| AceGPT-13B | 0.13 | 33.25 | 21.89 | 1.11 | 1.19 | 6.35 | 61.62 | 38.48 | 1.85 | 4.14 |
| AceGPT-7B-chat | 2.54 | 60.54 | 38.62 | 1.67 | 4.07 | 7.49 | 64.28 | 43.03 | 1.67 | 3.62 |
| AceGPT-13B-chat | 1.41 | 47.44 | 24.10 | 1.39 | 2.22 | 8.57 | 65.47 | 43.44 | 1.83 | 3.61 |
| jais-family-590m | 0.88 | 55.23 | 30.76 | 1.13 | 3.65 | 2.56 | 58.54 | 34.03 | 1.18 | 3.23 |
| jais-family-1p3b | 0.67 | 56.44 | 32.31 | 1.24 | 3.55 | 3.07 | 59.88 | 35.52 | 1.36 | 3.34 |
| jais-family-2p7b | 1.26 | 58.73 | 33.76 | 1.48 | 3.79 | 5.54 | 64.01 | 39.32 | 1.69 | 3.47 |
| jais-family-6p7b | 0.52 | 58.68 | 34.94 | 1.75 | 3.95 | 6.35 | 65.54 | 40.72 | 2.00 | 3.63 |
| GPT-4.1 | 7.82 | 70.12 | 42.48 | 3.75 | 4.89 | 18.64 | 78.02 | 51.94 | 4.28 | 4.95 |
| Claude-opus-4.6 | 9.74 | 70.52 | 43.10 | 3.84 | 4.93 | 22.66 | 78.24 | 50.71 | 4.23 | 4.80 |
| Claude-sonnet-4.6 | 6.86 | 67.97 | 40.79 | 3.39 | 4.91 | 20.29 | 76.70 | 49.66 | 3.89 | 4.81 |
Table 7. Evaluation of models on figurative translation in few-shot settings. BLEU, BERTScore (BERT), and COMET are reported on a 0–100 scale. LLM-as-a-judge evaluates translations using Adequacy (Adeq.) and Fluency (Flu.), each on a 1–5 scale.
Compared with zero-shot prompting (Table 5), the benefits of in-context examples vary across models and metrics. ALLaM-7B and AceGPT-7B-chat improve across all translation metrics at both levels. All three closed-weight models also achieve higher adequacy and fluency scores at both levels, although their automatic metric scores do not uniformly increase. Claude-sonnet-4.6 shows substantial improvements: its adequacy increases from 2.67 to 3.39 at the expression level and from 3.18 to 3.89 at the context level, while fluency rises from 3.34 to 4.91 and from 3.42 to 4.81, respectively.
Several open-weight models exhibit mixed results or declines. Fanar improves in expression-level BLEU but decreases on all other expression-level metrics. AceGPT-13B and AceGPT-13B-chat also decline across all expression-level metrics. Atlas-Chat 27B improves on most expression-level metrics but decreases across all context-level metrics. Furthermore, all Jais variants obtain lower COMET and adequacy scores for both benchmarks despite higher fluency scores. This divergence indicates that in-context examples can improve the linguistic quality of translations without improving preservation of figurative meaning. Qualitative inspection identifies repetitive or hallucinated outputs for Fanar, incomplete or overly literal translations for some AceGPT variants, semantic misinterpretations for Jais, and conversational-style generations for Atlas-Chat 27B. These observations provide further insight into the limitations of few-shot prompting for these models.
The MCQ results in Table 8 show that improvements in meaning selection do not necessarily coincide with improvements in translation generation. Claude-sonnet-4.6 achieves the highest few-shot MCQ accuracy at both levels, followed by GPT-4.1. Their accuracies increase substantially relative to zero-shot prompting, whereas Claude-opus-4.6 improves at the expression level but decreases from 66.51% to 50.84% at the context level. Similarly, Fanar and Atlas-Chat 27B achieve higher MCQ accuracy at both levels despite declines in parts of their translation performance. These differences suggest that selecting an interpretation and generating an adequate figurative translation place different demands on the evaluated models.
| Model | Expression-Level | Context-Level | ∆ Accuracy |
| Atlas-Chat 2B | 41.73 | 46.86 | +5.13 |
| Atlas-Chat 9B | 73.86 | 71.08 | -2.78 |
| Atlas-Chat 27B | 83.93 | 73.99 | -9.94 |
| ALLaM-7B | 70.02 | 63.73 | -6.29 |
| Fanar | 77.22 | 88.51 | +11.29 |
| AceGPT-7B | 50.12 | 52.13 | +2.01 |
| AceGPT-13B | 50.12 | 52.13 | +2.01 |
| AceGPT-7B-chat | 50.36 | 62.89 | +12.53 |
| AceGPT-13B-chat | 62.80 | 67.54 | +4.74 |
| jais-family-590m | 50.12 | 51.96 | +1.84 |
| jais-family-1p3b | 50.36 | 52.47 | +2.11 |
| jais-family-2p7b | 50.36 | 50.22 | -0.14 |
| jais-family-6p7b | 50.12 | 49.27 | -0.85 |
| GPT-4.1 | 95.92 | 97.98 | +2.06 |
| Claude-opus-4.6 | 50.36 | 50.84 | +0.48 |
| Claude-sonnet-4.6 | 97.12 | 98.21 | +1.09 |
Table 8. Accuracy (%) of the evaluated models on the expression-level and context-level MCQ benchmarks case of few shot prompting. ∆ Accuracy denotes the performance difference between both settings.
The benefits of context under few-shot prompting are also uneven. Although all models obtain higher context-level BLEU and COMET scores than expression-level scores, adequacy decreases for Atlas-Chat 27B and AceGPT-7B, and fluency decreases for several models. Context-level MCQ accuracy is also lower for five models. Thus, contextual information generally benefits some aspects of translation, but its advantages do not extend consistently across models, metrics, and tasks (RQ2).
Overall, the mixed results suggest that the benefits of context and few-shot prompting depend on the model and task. Some models produce more accurate figurative translations when given context or examples, whereas others show little improvement or generate less accurate translations. Differences in training objectives, training data, and adaptation to instruction following or conversational tasks may help explain these patterns. For example, Claude-opus-4.6’s reasoning capabilities may help it interpret contextual information, contributing to its higher translation adequacy with context and few-shot prompting. However, its context-level MCQ accuracy decreases under few-shot prompting compared with zero-shot prompting. These contrasting results suggest that each model’s training and capabilities may influence whether additional context and examples improve performance on a particular task.
Human Evaluation
We performed a human evaluation using a 5-point Likert scale. Three native speakers of Moroccan dialect, fluent in English3, participated in this task. They rated the model outputs according to the guidelines shown in Figure 4, we randomly selected 20 examples from each model, resulting in a total of 380 evaluated sentences. Inter-annotator agreement among human annotators reached 0.57 as measured by Krippendorff’s [55]. Additionally, to assess the reliability of LLM as a judge, we have introduced it as an evaluator, instructing Gemini-3.8-flash to follow the same evaluation guidelines as humans but provided with the gold reference. Inter-annotator agreement, including LLM as evaluator, slightly increased to a 0.62 value.

text: Annotation Instructions
text: You will be presented with:
A sentence in Moroccan dialect (Darija)
Its English translation generated by a model
text: Your task is to evaluate how well the translation conveys the intended figurative meaning of the original sentence.
text: Guidelines
Focus on the meaning, not word-for-word translation
If the translation is literal but misses the intended meaning, give a low score
If the translation correctly expresses the figurative meaning, give a high score
Ignore minor grammar or wording issues if the meaning is clear
If the meaning is only partially correct or unclear, give a middle score
If unsure between two scores, choose the lower score unless the meaning is clearly correct
text: Rating Scale (1–5)
1- Completely Incorrect: Wrong or purely literal; does not convey the intended meaning 2- Mostly Incorrect: Some elements are correct, but meaning is largely wrong or misleading 3- Partially Correct: Captures part of the meaning, but incomplete or unclear 4- Mostly Correct: Meaning is mostly correct with minor issues 5- Fully Correct: Accurately and clearly conveys the intended figurative meaning
Figure 4. Human evaluation guidelines for figurative translation assessment.
To further assess this alignment, we calculated the Spearman correlation between the LLM’s ratings and the average scores of humans, obtaining a strong correlation of . Pairwise correlations between the LLMs and each annotator range from 0.69 to 0.79, indicating a generally stable agreement across annotators.
Table 9 highlights the comparison of mean ratings of evaluated models based on human and LLM-as-a-judge. Both evaluators classify the performance of Claude-opus-4.6 and GPT-4.1 as the best. Claude-opus-4.6 receives the highest score from both humans and the LLM (3.55 and 3.80, respectively), followed by GPT-4.1 (3.52 and 3.70). However, the ranking differs for Claude-sonnet-4.6 and Atlas-Chat 27B: human annotators rank Atlas-Chat 27B higher (3.32 vs. 3.23), whereas the LLM assigns a higher score to Claude-sonnet-4.6 (3.40 vs. 3.25).
Among the open-source models, Atlas-Chat 27B receives the highest scores from both evaluators, followed by Atlas-Chat 9B and ALLaM-7B. Both evaluation methods also show consistent improvements with increasing model size within the Atlas-Chat and JAIS families. The NLLB models receive relatively low scores from both evaluators, although their ordering differs. JAIS-590M obtains the lowest score under both human and LLM evaluation (1.15 and 1.05, respectively).
The LLM assigns lower scores than human annotators to 13 of the 19 models. The largest differences occur for AceGPT-13B-chat (2.51 vs. 2.05), JAIS-2.7B (2.20 vs. 1.80), and NLLB-1.3B (1.83 vs. 1.50). Conversely,
| Model | Human | LLM |
| NLLB 600M | 1.52 | 1.55 |
| NLLB 1.3B | 1.83 | 1.50 |
| NLLB 3.3B | 1.65 | 1.70 |
| Atlas-Chat 2B | 2.67 | 2.40 |
| Atlas-Chat 9B | 2.97 | 2.90 |
| Atlas-Chat 27B | 3.32 | 3.25 |
| ALLaM 7B | 2.85 | 2.65 |
| Fanar 9B | 2.07 | 1.95 |
| AceGPT-7B | 2.43 | 2.25 |
| AceGPT-13B | 2.33 | 2.10 |
| AceGPT-7B-chat | 1.95 | 1.75 |
| AceGPT-13B-chat | 2.51 | 2.05 |
| jais-family-590m | 1.15 | 1.05 |
| jais-family-1p3b | 1.82 | 1.60 |
| jais-family-2p7b | 2.20 | 1.80 |
| jais-family-6p7b | 2.23 | 2.30 |
| GPT-4.1 | 3.52 | 3.70 |
| Claude-opus-4.6 | 3.55 | 3.80 |
| Claude-sonnet-4.6 | 3.23 | 3.40 |
caption: Comparison of models using human and LLM-based evaluation.
:::
the LLM assigns higher scores to all three closed-weights models, as well as NLLB-600M, NLLB-3.3B, and JAIS-6.7B. Nevertheless, the differences in average scores remain below half a point on the 5-point scale for all models.
Overall, the statistical correlation and agreement between human and LLM judgments, together with the relatively small differences in average scores, support the suitability of the LLM-as-a-judge for comparative evaluation in this benchmark. Although the evaluators sometimes differ in their model rankings, they generally agree on the relative quality of the evaluated systems, suggesting that LLM-based evaluation can serve as a scalable approach to assessing translation quality.
Qualitative Results
Table 10 presents output translations from ‘GPT-4.1’, ‘Atlas-Chat 27B’, and ‘jais-family-590m’ across both datasets. The selected models reflect different performance levels observed in the quantitative evaluation, corresponding respectively to the strongest-performing model, a competitive open-source system, and a weaker small-scale model.
| Source Sentence | Gold Reference | GPT | Atlas-Chat | JAIS |
| ما تقول فيل، زادوه فيلة | Already struggling with a massive burden, even more weight has now been added. | He couldn’t handle one elephant, and they gave him more elephants. | It wasn’t enough, they added more elephants | What have you done to them? They’re dead! |
| جا يكحلها عماها | He tried to fix the situation but ended up making it worse. | He tried to fix it, but made it worse. | Add insult to injury | jaklha kulthamah |
| كيحط العصا فالرويضة | He blocks the situation | He’s putting a stick in the wheel. (He’s causing trouble or creating obstacles.) | He puts the stick in the hole | Put your stick in your garden |
| الدنيا دوارة | What goes around comes around. | Life goes around. | What goes around comes around | The world is turning |
| علي شفتو خدا حقو برد ليا القلب. | Seeing him get what he deserved was satisfying. | When I saw him get what he deserved, it eased my heart. | When I saw he got his due it warmed my heart. | I saw him take his rightful place and I felt like he had taken my heart. |
| فهاد الاجتماع كل واحد كيغني بلغاه، ما خارج منو والو. | In this meeting, everyone is only interested in their own point of view; nothing will come of it. | In this meeting, everyone is just talking over each other; nothing will come out of it. | In this meeting, everyone cancels his membership, so no one will benefit. | In this meeting, everyone will speak with him and he won’t leave anything behind or any waste of time. |
| سولني على داك الشي؟ مادي مني لا حق ولا باطل. | Did you ask me about that thing? You won’t get any information or a straight answer out of me. | He asked me about that thing? You won’t get anything out of me, right or wrong. | Ask me about that? You’ll get no sense out of me. | What do you mean by no right and wrong, but only what I want is my way of life (I live according to the rules). |
| هادك كيشري الحوت في البحر، مازال ما بنا الدار وكيهضر على فراشها. | He’s paying for something that doesn’t exist yet; he still hasn’t built the house, and he’s talking about the furniture. | That guy buys fish while still at sea; he hasn’t even built the house yet and he’s already talking about the furniture. | He buys fish at the sea, hasn’t even built a house yet and he’s talking about furniture. | This one is selling fish in water, but we haven’t been back home yet and he’s talking about his fourniture. |
| مالو كيغطّي على الشمس بالغربال، راه كلشي عارف. | What’s wrong with him? He’s trying to hide something obvious; everyone knows. | Why is he trying to cover the sun with a sieve? Everyone knows the truth. | He pretends to cover the sun with a sieve, everyone knows. | [The sun] covers up everything with sand, everybody knows that. All of you know it! The truth is not hidden from anyone! |
Table 10. Qualitative translation examples from GPT-4.1, Atlas-Chat 27B, and jais-family-590m on the expression-level and context-level datasets.
‘GPT-4.1’ consistently preserves the intended figurative meaning across most examples, producing the most natural-sounding translations. For instance, it accurately captures the core idiom in the second expression-level example. It demonstrates similar proficiency in the first contextual example, delivering a fluent translation that maintains the source sentence’s emotional tone. However, despite its robust performance, the model occasionally leans too literal. This is evident in the final contextual example, where it mirrors the source’s metaphorical structure too closely rather than adapting it into a more natural English equivalent.
‘Atlas-Chat 27B’ successfully captures the figurative essence of several test cases, producing clear and intelligible translations on both datasets. Notably, in the fourth expression-level example, the model correctly identifies and generates the equivalent English proverb, ‘What goes around comes around.’ However, it occasionally clings too tightly to the source sentence’s lexical structure. In the third expression-level example, for instance, the concept of ”creating obstacles” is entirely lost. A similar issue occurs in the final contextual example, where the phrasing remains overly literal. ‘jais-family-590m’ delivers the weakest overall performance, frequently relying on word-for-word translation at the expense of figurative meaning. For example, it fails to convey the intended meaning on the third expression-level translation. In other cases, the model abandons the source semantics entirely, generating irrelevant outputs. This tendency is highly apparent in the first expression-level example and resurfaces across several contextual examples, where the model produces unstable or hallucinated text despite having the surrounding context.
Error Analysis
To characterize recurring failure patterns (RQ3), we randomly selected 100 translation examples per model and manually annotated the outputs of three representative models: GPT-4.1, Atlas-Chat-9B, and jais-family-590m. These models represent a high-performing closed-weights model, a relatively strong open-weights model, and a lower-performing open-weights model, respectively. Outputs exhibiting multiple errors were assigned more than one error category. Consequently, the percentages in Table 11 are calculated relative to the total number of category assignments for each model.
| Error Type | GPT-4.1 | Atlas-9B | Jais-590M |
| Correct | 57 (53.3%) | 34 (31.8%) | 3 (2.7%) |
| Literal Translation | 43 (40.2%) | 41 (38.3%) | 18 (16.0%) |
| Semantic Shift | 7 (6.5%) | 27 (25.2%) | 18 (16.0%) |
| Hallucination | 0 (0.0%) | 0 (0.0%) | 59 (52.7%) |
| Omission | 0 (0.0%) | 0 (0.0%) | 1 (0.9%) |
| Other | 0 (0.0%) | 5 (4.7%) | 13 (11.6%) |
Table 11. Distribution of manually annotated categories across 100 translations per model. Values indicate counts and percentages of all assigned labels. A translation may receive multiple error labels.
GPT-4.1 produced the greatest number of correct translations, 57 out of 100 samples labelled as correct. Literal translation is its dominant failure mode, accounting for 43 assignments (40.2%), followed by semantic shifts with seven occurrences (6.5%). Other types of errors, such as hallucination, omission, etc., were not observed. Although GPT-4.1 achieved better results, the model sometimes translated the context perfectly but failed to interpret the figurative expressions semantically; rather, it provided literal translations without changing the surface form.
The Atlas-Chat-9B produces 34 accurate translations of Darija to English. The model produces literal translations, which constitute the most common error type, with 41 errors, then semantic shift with 27 errors (25.2%). These errors include lexical substitutions that alter the source meaning and misinterpretations of figurative imagery. For example, a proverb conveying “like mother, like son” is translated as a child wearing a bib to resemble a baby, losing the intended meaning of resemblance between a mother and her son. The model also occasionally returns Arabic or reproduces the Darija sentence instead of translating it into English, contributing to the 5 assignments (4.7%) in the Other category. No hallucinations and/or omissions were identified in the model’s output.
In contrast, jais-family-590m produces only 3 correct translations. Hallucination dominates its annotation distribution, with 59 assignments (52.7%), while literal translation and semantic shift each account for 18 assignments (16.0%). Its outputs frequently introduce unrelated events or unsupported details. The annotation comments also reveal failures to follow the translation instruction: some outputs reformulate the prompt, respond to the source sentence, or explain the expression instead of translating it. Others contain Arabizi or mixed-language text rather than an English translation. These additional failure modes contribute to 13 assignments (11.6%) in the Other category, alongside one omission (0.9%).
The error patterns differ across the three models. GPT-4.1 and Atlas-Chat-9B primarily struggle to move beyond literal wording and preserve figurative meaning, whereas jais-family-590m frequently fails to generate a relevant translation. These observations highlight both the difficulty of interpreting culturally grounded expressions and the additional instruction-following limitations observed in the weakest evaluated model.
Similarity-based Probing Analysis
We conducted a similarity-based probing analysis to explore how the representations of Moroccan Darija sentences align with their English literal and figurative translations across model layers. We analyzed the 13 open-weight, decoder-only models evaluated in this study from the Atlas-Chat, AceGPT, JAIS, ALLaM, and Fanar families. The analysis measures whether Darija representations are closer to the intended or literal English translation. However, these scores may also be influenced by differences between Darija and English and by the wording and structure of the two translations. Let
denote a dataset of instances, where , , and represent the source sentence, figurative translation, and literal translation, respectively. Given a language model with no. of layers, the hidden representation of token at layer is denoted as:
is the hidden dimension. We applied mean pooling over all token embeddings to obtain a sentence-level embedding, as follows:
is the number of tokens for each sentence. For each layer , the cosine similarity between the source sentence representation and the figurative translation representation is compared with the cosine similarity between the source sentence representation and the literal translation representation. If a model is able to represent the meaning of the source sentence correctly, we would expect the cosine of the source sentence with the figurative translation to be higher. The accuracy of this inequality being true is then computed as:
Where is the indicator function.
Figure 1 shows the accuracy of context-level probing results by model families, where the length of each curve denotes different layer numbers. Increasing model size does not consistently ensure increased accuracy: Atlas-Chat-27B and both AceGPT-13B variants obtain higher scores in the early layers, but this advantage does not persist across intermediate layers. However, JAIS shows no clear analysis of model performance order based on model size.

Figure 1. Results for layer-wise similarity-based probing for figurative language understanding at context-level across layers.
Apart from increasing model size, layer choice also affects the rankings. While ALLAM shows a better accuracy in the middle layer, the output layer ranks the lowest among others (only around 26%), whereas JAIS ranks around 70-75%. However, the output layer accuracy does not necessarily reflect the translation and multiple-choice selection performance of each model. Although Atlas-Chat-9B achieves higher final-output probing accuracy and automatic translation scores than the 2B and 27B variants, Atlas-Chat-2B achieves higher MCQ accuracy. This mismatch is particularly apparent for JAIS-6.7B, which obtains high final-output probing accuracy despite low MCQ accuracy (14.88%). From final normalization, we compared representations from the layer before the last, the last layer before normalization, and the output after normalization (Figure 2). JAIS and Fanar show large increases after normalization, whereas Atlas-Chat-27B and ALLAM change little at this step. ALLAM’s decrease occurs in the last layer before normalization. These results show that probing accuracy depends on where representations are taken within the model. In sum, this analysis provides further evidence on the representation similarities, subject to cross-lingual alignment constraints due to translation issues between Moroccan Darija and English along with effects of normalization and pooling on cosine similarity measurement. Overall, the results show that even Arabic-specialized LLMs still face difficulties in forming reliable internal representations for figurative expressions, which makes their understanding especially challenging in low-resource settings, such as the case of Moroccan Darija.

Figure 2. Context-level similarity-based probing accuracy at the layer before the last, the last layer before final normalization, and the final output after normalization.
Conclusion
This work introduces MDFC, a benchmark for evaluating the interpretation and translation of figurative language in Moroccan Darija. Our experiments reveal differences in performance across models, with closed-weights systems generally better preserving intended meanings, while literal translation remains a recurring limitation even among high-performing models. Context and few-shot examples improve performance for some models, but their benefits vary across models and tasks. The agreement between human and LLM-based judgments further supports the usefulness of the LLM-as-a-judge for comparative evaluation within this benchmark. The error analysis highlights persistent difficulties in conveying figurative meanings, with lower-performing models also generating unrelated content or explaining and responding to expressions instead of translating them.
Future work will include expanding the benchmark to additional Arabic dialects and exploring approaches to improving figurative language understanding in LLMs.
Limitations
This study has the following limitations: The dataset is relatively small and may not fully reflect the diversity of figurative expressions used in Moroccan Darija. The context-level dataset also contains only short contextual sentences, limiting the evaluation of figurative expressions within longer passages. Furthermore, the focus on Moroccan Darija means that the findings may not generalize to other Arabic dialects.
Another limitation concerns dataset construction. Although all generated samples were reviewed and validated by native speakers, part of the construction process relied on LLM-assisted generation rather than entirely on naturally occurring conversational data. In particular, contextual sentences were created
conditioning the generation on the intended translation of each figurative expression. These sentences may therefore not fully capture the variety of natural contexts in which an expression can occur, especially the most idiosyncratic ones, or fail to capture the full spectrum of its nuances.
Finally, interpreting the probing results requires considering the cross-lingual nature of the task. Performance may reflect both figurative language understanding and the quality of cross-lingual representations between Moroccan Darija and English, making it difficult to separate the figurative understanding of the models from their general level of semantic competence of the language.
Prompt Design
This section presents the context generation prompt used to produce Moroccan Darija sentences containing figurative expressions and reflecting their intended meanings (Figure 3), as well as the human evaluation guidelines for assessing model performance in translating figurative expressions (Figure 4).
Statistical Significance Analysis
To examine whether the difference in model performance on MCQ tasks is statistically significant, we carried out pairwise McNemar tests [56] in the zero-shot scenario. The p-values obtained from these pairwise McNemar tests were adjusted using the Benjamini-Hochberg correction [57]. As depicted in Figure 7, majority of model pair comparisons provide statistically significant p-values, implying that the observed performance differences are robust and unlikely to have occurred by chance. In particular, the top-performing models (closed-weights): Claude-opus-4.6, Claude-sonnet-4.6, and GPT-4.1 perform better compared to other open-weights models. The analysis shows no statistical significance between models whose performances are nearly equivalent and/or belong to the same model group/parameter size category. Moreover, the context-level benchmark displays more statistically significant differences between model comparisons in contrast to the expression level, suggesting that contextual information provides stronger discrimination between model performance.

Figure 7. Pairwise McNemar test results for the zero-shot setting on the (a) expression-level and (b) context-level tasks. Each cell compares Model 1 on the x-axis with Model 2 on the y-axis. Red indicates that Model 2 achieves higher accuracy than Model 1, whereas blue indicates the opposite. Cells marked with a diagonal slash denote non-significant differences after Benjamini–Hochberg correction.
For the LLM-as-a-judge evaluation, we performed pairwise Wilcoxon signed-rank [58] tests on the adequacy and fluency scores. These p-value results were subsequently adjusted with Benjamini-Hochberg method [57]. According to Figure 5 and Figure 6, statistically significant pairwise differences were mostly obtained on both the expression-level and context-level benchmarks. Claude-opus-4.6, Claude-sonnet-4.6, and GPT-4.1 receive significantly higher adequacy and fluency ratings than most open-source models. Non-significant differences occur both within and across model families, particularly for fluency on the expression-level benchmark. The context-level benchmark shows fewer non-significant comparisons across both dimensions, indicating more distinguishable model performance when expressions are presented in context.

Figure 5. Pairwise Wilcoxon signed-rank test results for the expression-level LLM-as-a-judge evaluation. (a) Adequacy and (b) Fluency. Colored cells indicate statistically significant differences between model pairs (). Red cells denote that Model 2 received significantly higher scores than Model 1. Color intensity reflects the magnitude of the mean paired-score difference, with darker shades indicating larger differences. Cells marked with a diagonal dash represent non-significant differences.

(a)

(b)
Figure 6. Pairwise Wilcoxon signed-rank test results for the context-level LLM-as-a-judge evaluation. (a) Adequacy and (b) Fluency. Colored cells indicate statistically significant differences between model pairs (). Red cells denote that Model 2 received significantly higher scores than Model 1. Color intensity reflects the magnitude of the mean paired-score difference, with darker shades indicating larger differences. Cells marked with a diagonal dash represent non-significant differences.
References
- [1]Soyoung Oh, Xinting Huang, Mathis Pink, Michael Hahn, and Vera Demberg. Tug-of-war between idioms’ figurative and literal interpretations in LLMs. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 2942–2958, Rabat, Morocco, March 2026. Association for Computational Linguistics.
- [2]Christos Baziotis, Prashant Mathur, and Eva Hasler. Automatic evaluation and analysis of idioms in neural machine translation. In Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics, pages 3682–3700, Dubrovnik, Croatia, May 2023. Association for Computational Linguistics.arxiv.org/abs/2210.04545
- [3]Menglong Cui, Pengzhi Gao, Wei Liu, Jian Luan, and Bin Wang. Multilingual machine translation with open large language models at practical scale: An empirical study. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 5420–5443, Albuquerque, New Mexico, April 2025. Association for Computational Linguistics.arxiv.org/abs/2502.02481
- [4]Humza Naveed, Asad Ullah Khan, Shi Qiu, Muhammad Saqib, Saeed Anwar, Muhammad Usman, Naveed Akhtar, Nick Barnes, and Ajmal Mian. A comprehensive overview of large language models, 2024.arxiv.org/abs/2307.06435
- [5]Blaise Agüera y Arcas. Do Large Language Models Understand Us? Daedalus, 151(2):183–197, 05 2022.DOI
- [6]Samhita Bollepally, Aurora Sloman-Moll, and Takashi Yamauchi. Can llms interpret figurative language as humans do?: surface-level vs representational similarity, 2026.
- [7]Elisa Sanchez-Bayona and Rodrigo Agerri. Metaphor and large language models: When surface features matter more than deep understanding. In Findings of the Association for Computational Linguistics: ACL 2025, pages 17462–17477, Vienna, Austria, July 2025. Association for Computational Linguistics.
- [8]Mena Attia, Aashiq Muhamed, Mai Al Khamissi, Thamar Solorio, and Mona T. Diab. Beyond understanding: Evaluating the pragmatic gap in LLMs’ cultural processing of figurative language. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 7238–7265, Rabat, Morocco, March 2026. Association for Computational Linguistics.
- [9]Wafa Al Ghallabi, Ritesh Thawkar, Sara Ghaboura, Ketan Pravin More, Omkar Thawakar, Hisham Cholakkal, Salman Khan, and Rao Muhammad Anwer. Fann or flop: A multigenre, multitiera benchmark for Arabic poetry understanding in LLMs. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 20224–20244, Suzhou, China, November 2025. Association for Computational Linguistics.
- [10]Sara Rajaee, Rochelle Choenn i, Ekaterina Shutova, and Christof Monz. An empirical analysis of machine translation for expanding multilingual benchmarks. In Proceedings of the Tenth Conference on Machine Translation, pages 1–30, Suzhou, China, November 2025. Association for Computational Linguistics.DOI
- [11]Tuhin Chakrabarty, Arkady Saakyan, Debanjan Ghosh, and Smaranda Muresan. FLUTE: Figurative language understanding through textual explanations. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 7139–7159, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational Linguistics.arxiv.org/abs/2205.12404
- [12]Abderrahman Skrejd, Ferdaous Azhari, Ismail Berrada, and Saad Ezzini. DarijaBanking: A new resource for overcoming language barriers in banking intent detection for moroccan arabic speakers. Natural Language Processing, 31(5):1234–1264, 2025.
- [13]Harsh Jhamtani, Varun Gangal, Eduard Hovy, and Taylor Berg-Kirkpatrick. Investigating robustness of dialog models to popular figurative language constructs. In Proceedings of the 2021 Conference on Em- pirical Methods in Natural Language Processing, pages 7476–7485, Online and Punta Cana, Dominican Republic, November 2021. Association for Computational Linguistics.arxiv.org/abs/2110.00687
- [14]Tuhin Chakrabarty, Yejin Choi, and Vered Shwartz. It’s not rocket science: Interpreting figurative language in narratives. Transactions of the Association for Computational Linguistics, 10:589–606, 2022.arxiv.org/abs/2109.00087
- [15]Dawei Zhu, Qius i Zhan, Zhejian Zhou, Yifan Song, Jiebin Zhang, and Sujian Li. ConFigURe: Exploring discourse-level Chinese figures of speech. In Proceedings of the 29th International Conference on Computational Linguistics, pages 3374–3385, Gyeongju, Republic of Korea, October 2022. International Committee on Computational Linguistics.arxiv.org/abs/2209.07678
- [16]Oana-Maria Camburu, Tim Rocktäschel, Thomas Lukasiewicz, and Phil Blunsom. e-snli: Natural language inference with natural language explanations, 2018.arxiv.org/abs/1812.01193
- [17]Ben Prystawski, Paul Thibodeau, Christopher Potts, and Noah D. Goodman. Psychologically-informed chain-of-thought prompts for metaphor understanding in large language models. arXiv preprint arXiv:2209.08141, 2022.arxiv.org/abs/2209.08141
- [18]Albert N. Katz, Allan Paivio, Marc Marschark, and James M. Clark. Norms for 204 literary and 260 nonliterary metaphors on 10 psychological dimensions. Metaphor and Symbolic Activity, 3(4):191–214, 1988.DOI
- [19]Hyewon Jang, Qi Yu, and Diego Frassinelli. Figurative language processing: A linguistically informed feature analysis of the behavior of language models and humans. In Findings of the Association for Computational Linguistics: ACL 2023, pages 9816–9832, Toronto, Canada, July 2023. Association for Computational Linguistics.DOI
- [20]Anubha Kabra, Emmy Liu, Simran Khanuja, Alham Fikri Aji, Genta Winata, Samuel Cahyawijaya, Anuolu wapo Aremu, Perez Ogayo, and Graham Neubig. Multi-lingual and multi-cultural figurative language understanding. In Findings of the Association for Computational Linguistics: ACL 2023, pages 8269–8284, Toronto, Canada, July 2023. Association for Computational Linguistics.arxiv.org/abs/2305.16171
- [21]Faezeh Hosseini, Mohammadali Yousefzadeh, and Yadollah Yaghoobzadeh. FFE-hallu: Hallucinations in fixed figurative expressions: A benchmark of idioms and proverbs in the Persian language. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pages 5222–5235, Rabat, Morocco, March 2026. Association for Computational Linguistics.
- [22]Fengying Ye, Shanshan Wang, Lidia S. Chao, and Derek F. Wong. Probing semantic alignment, lexical invariance, and syntactic influence in LLM metaphor processing. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 27914–27932, San Diego, California, United States, July 2026. Association for Computational Linguistics.
- [23]Emmy Liu, Chenxuan Cui, Kenneth Zheng, and Graham Neubig. Testing the ability of language models to interpret figurative language. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4437–4452, Seattle, United States, July 2022. Association for Computational Linguistics.arxiv.org/abs/2204.12632
- [24]Xiaoyu Tong, Rochelle Choenni, Martha Lewis, and Ekaterina Shutova. Metaphor understanding challenge dataset for LLMs. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3517–3536, Bangkok, Thailand, August 2024. Association for Computational Linguistics.arxiv.org/abs/2403.11810
- [25]Hossam S.Ibrahim, Sherif M. Abdou, and Mervat Gheidh. Idioms-proverbs lexicon for modern standard arabic and colloquial sentiment analysis. International Journal of Computer Applications, 118(11):26–31, May 2015.DOI
- [26]NOUH SABRI Elmitwally and AHMED Alsayat. Classification and construction of arabic corpus: figurative and literal. J Theoret Appl Inform Technol, 98(19):15, 2020.
- [27]Samar Mohamed Magdy, Sang Yun Kwon, Fakhraddin Alwajih, Safaa Taher Abdelfadil, Shady Shehata, and Muhammad Abdul-Mageed. JAWAHER: A multidialectal dataset of Arabic proverbs for LLM benchmarking. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 12320–12341, Albuquerque, New Mexico, April 2025. Association for Computational Linguistics.arxiv.org/abs/2503.00231
- [28]Hussein S. Al-Olimat and Ahmad Alshareef. Alps: A diagnostic challenge set for arabic linguistic & pragmatic reasoning, 2026.
- [29]Nasser Thmer, Ali Al-Laith, Muhammad Shoaib, and Hassan Alhuzali. A benchmark corpus of yemeni proverbs for figurative and cultural language modeling. Scientific Data, 13(1):1073, 2026.DOI
- [30]Hanen Himdi. Arabic idioms detection by utilizing deep learning and transformer-based models. Procedia Computer Science, 244:37–48, 2024. 6th International Conference on AI in Computational Linguistics.DOI
- [31]Houda Bouamour, Nizar Habash, Mohammad Salameh, Wajdi Zaghouani, Owen Rambow, Dana Abdulrahim, Ossama Obeid, Salam Khalifa, Fadhl Eryani, Alexander Erdmann, and Kemal Oflazer. The MADAR Arabic dialect corpus and lexicon. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan, May 2018. European Language Resources Association (ELRA).
- [32]Karima Meftouh, Salima Harrat, Salma Jamoussi, Mourad Abbas, and Kamel Smaili. Machine translation experiments on PADIC: A parallel Arabic DIalect corpus. In Proceedings of the 29th Pacific Asia Conference on Language, Information and Computation, pages 26–34, Shanghai, China, October 2015.
- [33]Hussein Mozannar, Elie Maamary, Karl El Hajal, and Hazem Hajj. Neural Arabic question answering. In Proceedings of the Fourth Arabic Natural Language Processing Workshop, pages 108–118, Florence, Italy, August 2019. Association for Computational Linguistics.
- [34]Hassan Sajjad, Ahmed Abdelali, Nadir Durrani, and Fahim Dalvi. AraBench: Benchmarking dialectal Arabic-English machine translation. In Proceedings of the 28th International Conference on Computational Linguistics, pages 5094–5107, Barcelona, Spain (Online), December 2020. International Committee on Computational Linguistics.DOI
- [35]Wissam Antoun, Fady Baly, and Hazem Hajj. AraBERT: Transformer-based model for Arabic language understanding. In Proceedings of the 4th Workshop on Open-Source Arabic Corpora and Processing Tools, with a Shared Task on Offensive Language Detection, pages 9–15, Marseille, France, May 2020. European Language Resources Association.
- [36]Salam Khalifa, Nizar Habash, Fadhl Eryani, Ossama Obeid, Dana Abdulrahim, and Meera Al Kaabi. A morphologically annotated corpus of emirati Arabic. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan, May 2018. European Language Resources Association (ELRA).DOI
- [37]Taha Zerrouki and Amar Balla. Tashkeela: Novel corpus of arabic vocalized texts, data for auto-diacritization systems. Data in Brief, 11:147–151, 2017.DOI
- [38]Fakhraddin Alwajih, Abdellah El Mekki, Samar Mohamed Magdy, AbdelRahim A. Elmadanу, Omer Nacar, El Moatez Billah Nagoudi, Reem Abdel-Salam, Hanin Atwany, Youssef Nafea, Abdulfattah Mohammed Yahya, Rahaf Alhamouri, Hamzah A. Alsayadi, Hiba Zayed, Sara Shatnawi, Serry Sibaeе, Yasir Ech-chammakhy, Walid Al-Dhabyani, Marwa Mohamed Ali, Imen Jarraya, Ahmed Oumar El-Shangiti, Aisha Alraeesi, Mohammed Anwar AL-Ghrawi, Abdulrahman S. Al-Batati, Elgizouli Mohamed, Noha Taha Elgindi, Muhammed Saeed, Houdaifa Atou, Issam Ait Yahia, Abdelhak Bouayad, Mohammed Machrouh, Amal Makouar, Dania Alkawi, Mukhtar Mohamed, Safaa Taher Abdelfadil, Amine Ziad Ounnoughene, Anfel Rouabhia, Rwaa Assi, Ahmed Sorkatti, Mohamedou Cheikh Tourad, Anis Koubaa, Ismail Berrada, Mustafa Jarrar, Shady Shehata, and Muhammad Abdul-Mageed. Palm: A culturally inclusive and linguistically diverse dataset for Arabic LLMs. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 32871–32894, Vienna, Austria, July 2025. Association for Computational Linguistics.arxiv.org/abs/2503.00151
- [39]Bashar Talafha, Karima Kadaoui, Samar Mohamed Magdy, Mariem Habiboullah, Chafei Mohamed Chafei, Ahmed Oumar El-Shangiti, Hiba Zayed, Mohamedou Cheikh Tourad, Rahaf Alhamouri, Rwaa Assi, Aisha Alraeesi, Nour Mohamed, Fakhraddin Alwajih, Abdelrahman Mohamed, Abdellah El Mekki, El Moatez Billah Nagoudi, Benelhadj Djelloul Messaadia, Hamzah A. Alsayadi, Walid Al-Dhabyani, Sara Shatnawi, Yasir Ech-chammakhy, Amal Makouar, Yousra Berrachedi, Mustafa Jarrar, Shady Shehata, Ismail Berrada, and Muhammad Abdul-Mageed. Casablanca: Data and models for multidialectal Arabic speech recognition. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 21745–21758, Miami, Florida, USA, November 2024. Association for Computational Linguistics.arxiv.org/abs/2410.04527
- [40]NLLB Team, Marta R. Costa-jussà, James Cross, Onur Çelebi, Maha Elbayad, Kenneth Heafield, Kevin Heffernan, Elahe Kalbassi, Janice Lam, Daniel Licht, Jean Maillard, Anna Sun, Skyler Wang, Guillaume Wenzek, Al Youngblood, Bapi Akula, Loic Barrault, Gabriel Mejia Gonzalez, Prangthip Hansanti, John Hoffman, Semarley Jarrett, Kaushik Ram Sadagopan, Dirk Rowe, Shannon Spruit, Chau Tran, Pierre Andrews, Necip Fazil Ayan, Shruti Bhosale, Sergey Edunov, Angela Fan, Cynthia Gao, Vedanūj Goswami, Francisco Guzmán, Philipp Koehn, Alexandre Mourachko, Christophe Ropers, Safiyyah Saleem, Holger Schwenk, and Jeff Wang. No language left behind: Scaling human-centered machine translation, 2022.
- [41]Guokan Shang, Hadi Abdine, Yousef Khourbane, Amr Mohamed, Yassine Abbahaddou, Sofiane Ennadir, Imane Momayiz, Xuguang Ren, Eric Moulines, Preslav Nakov, Michalis Vazirgiannis, and Eric Xing. Atlas-chat: Adapting large language models for low-resource Moroccan Arabic dialect. In Proceedings of the First Workshop on Language Models for Low-Resource Languages, pages 9–30, Abu Dhabi, United Arab Emirates, January 2025. Association for Computational Linguistics.arxiv.org/abs/2409.17912
- [42]Huang Huang, Fei Yu, Jianqing Zhu, Xuening Sun, Hao Cheng, Song Dingjie, Zhihong Chen, Mosen Alharthi, Bang An, Juncai He, Ziche Liu, Junying Chen, Jianquan Li, Benyou Wang, Lian Zhang, Ruoyu Sun, Xiang Wan, Haizhou Li, and Jinchao Xu. AceGPT, localizing large language models in Arabic. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 8139–8163, Mexico City, Mexico, June 2024. Association for Computational Linguistics.arxiv.org/abs/2309.12053
- [43]Neha Sengupta, Sunil Kumar Sahu, Bokang Jia, Satheesh Katipomu, Haonan Li, Fajri Koto, William Marshall, Gurpreet Gosal, Cynthia Liu, Zhiming Chen, Osama Mohammed Afzal, Samta Kamboj, Onkar Pandit, Rahul Pal, Lalit Pradhan, Zain Muhammad Mujahid, Massa Baali, Xudong Han, Sondos Mahmoud Bsharat, Alham Fikri Aji, Zhiqiang Shen, Zhengzhong Liu, Natalia Vassilieva, Joel Hestness, Andy Hock, Andrew Feldman, Jonathan Lee, Andrew Jackson, Hector Xuguang Ren, Preslav Nakov, Timothy Baldwin, and Eric Xing. Jais and jais-chat: Arabic-centric foundation and instruction-tuned open generative large language models, 2023.arxiv.org/abs/2308.16149
- [44]Fanar Team, Ummar Abbas, Mohammad Shahmeer Ahmad, Firoj Alam, Enes Altinisik, Ehsaneddin Asgari, Yazan Boshmaf, Sabri Boughorbel, Sanjay Chawla, Shammur Chowdhury, Fahim Dalvi, Kareem Darwish, Nadir Durrani, Mohamed Elhefky, Ahmed Elmagarmid, Mohamed Eltabakh, Masoomali Fatehkia, Anastasios Fragkopoulos, Maram Hasanain, Majd Hawasly, Mus’ab Husaini, Soon-Gyo Jung, Ji Kim Lucas, Walid Magdy, Safa Messaoud, Abubakr Mohamed, Tasnim Mohiuddin, Basel Mousi, Hamdy Mubarak, Ahmad Musleh, Zan Naeem, Mourad Ouzzani, Dorde Popovic, Amin Sadeghi, Husrev Taha Sencar, Mohammed Shinoy, Omar Sinan, Yifan Zhang, Ahmed Ali, Yassine El Kheir, Xiaosong Ma, and Chaoyi Ruan. Fanar: An arabic-centric multimodal generative ai platform, 2025.arxiv.org/abs/2501.13944
- [45]M Saiful Bari, Yazeed Alnumay, Norah Alzahrani, Nouf Alotaibi, Hisham Alyahya, AlRashed AlRashed, Faisal Mirza, Shaykhah Alsubaie, Hassan Alahmed, Ghadah Alabduljabbar, et al. Allam: Large language models for arabic and english. In International Conference on Learning Representations, volume 2025, pages 34179–34214, 2025.arxiv.org/abs/2407.15390
- [46]OpenAI, Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, Red Avila, Igor Babuschkin, Suchir Balaji, Valerie Balcom, Paul Baltescu, Haiming Bao, Mohammad Bavarian, Jeff Belgum, Iwan Bello, Jake Berdine, Gabriel Bernadett-Shapiro, Christopher Berner, Lenny Bogdonoff, Oleg Boiko, Madelaine Boyd, Anna-Luisa Brakman, Greg Brockman, Tim Brooks, Miles Brundage, Kevin Button, Trevor Cai, Rosie Campbell, Andrew Cann, Brittany Carey, Chelsea Carlson, Rory Carmichael, Brooke Chan, Che Chang, Fotis Chantzis, Derek Chen, Sully Chen, Ruby Chen, Jason Chen, Mark Chen, Ben Chess, Chester Cho, Casey Chu, Hyung Won Chung, Dave Cummings, Jeremiah Currier, Yunxing Dai, Cory Decareaux, Thomas Decr, Noah Deutsch, Damien Deville, Arka Dhar, David Dohan, Steve Dowling, Sheila Dunning, Adrien Ecoffet, Atty Eleti, Tyna Eloundou, David Farhi, Liam Fedus, Niko Felix, Simón Posada Fishman, Juston Forte, Isabella Fulford, Leo Gao, Elie Georges, Christian Gibson, Vik Goel, Tarun Gogenini, Gabriel Goh, Rapha Gontijo-Lopes, Jonathan Gordon, Morgan Grafstein, Scott Gray, Ryan Greene, Joshua Gross, Shixiang Shane Gu, Yufei Guo, Chris Hallacy, Jesse Han, Jeff Harris, Yuchen He, Mike Heaton, Johannes Heidecke, Chris Hesse, Alan Hickey, Wade Hickey, Peter Hoeschele, Brandon Houghton, Kenny Hsu, Shengli Hu, Xin Hu, Joost Huizinga, Shantan J ain, Shawn Jain, Joanne Jang, Angela Jiang, Roger Jiang, Haozhun Jin, Denny Jin, Shino Jomoto, Billie Jonn, Heewoo Jun, Tomer Kaftan, Lukasz Kaiser, Ali Kamali, Ingmar Kanitscheider, Nitish Shirish Keskar, Tabarak Khan, Logan Kilpatrick, Jong Wook Kim, Christina Kim, Yongjik Kim, Jan Hendrik Kirchner, Jamie Kiros, Matt Knight, Daniel Kokotajlo, Łukasz Kondraciuk, Andrew Kondrich, Aris Konstantinidis, Kyle Kosic, Gretchen Krueger, Vishal Kuo, Michael Lampe, Ikai Lan, Teddy Lee, Jan Leike, Jade Leung, Daniel Levy, Chak Ming Li, Rachel Lim, Molly Lin, Stephanie Lin, Mateusz Litwin, Theresa Lopez, Ryan Lowe, Patricia Lue, Anna Makanju, Kim Malfacini, Sam Manning, Todor Markov, Yaniv Markovski, Bianca Martin, Katie Mayer, Andrew Mayne, Bob McGrew, Scott Mayer McKinney, Christine McLeavey, Paul McMillan, Jake McNeil, David Medina, Aalok Mehta, Jacob Menick, Luke Metz, Andrey Mishchenko, Pamela Mishkin, Vinnie Monaco, Evan Morikawa, Daniel Mossing, Tong Mu, Mira Murati, Oleg Murk, David Mély, Ashvin Nair, Reiichiro Nakano, Rajeev Nayak, Arvind Neelakantan, Richard Ngo, Hyeonwoo Noh, Long Ouyang, Cullen O’Keefe, Jakub Pachocki, Alex Paino, Joe Palermo, Ashley Pantuliano, Giambattista Parascandolo, Joel Parish, Emy Parparita, Alex Passos, Mikhail Pavlov, Andrew Peng, Adam Perelman, Filipe de Avila Belbute Peres, Michael Petrov, Henrique Ponde de Oliveira Pinto, Michael, Pokorny, Michelle Pokrass, Vitchyr H. Pong, Tolly Powell, Alethea Power, Boris Power, Elizabeth Proehl, Raul Puri, Alec Radford, Jack Rae, Aditya Ramesh, Cameron Raymond, Francis Real, Kendra Rimbach, Carl Ross, Bob Rotsted, Henri Roussez, Nick Ryder, Mario Saltarelli, Ted Sanders, Shibani Santurkar, Girish Sastry, Heather Schmidt, David Schnurr, John Schulman, Daniel Selsam, Kyla Sheppard, Toki Sherbakov, Jessica Shieh, Sarah Shoker, Pranav Shyam, Szymon Sidor, Eric Sigler, Maddie Simens, Jordan Sitkin, Katarina Slama, Ian Sohl, Benjamin Sokolowsky, Yang Song, Natalie Staudacher, Felipe Petroski Such, Natalie Summers, Ilya Sutskever, Jie Tang, Nikolas Tezak, Madeleine B. Thompson, Phil Tillet, Amin Tootoonchian, Elizabeth Tseng, Preston Tuggle, Nick Turley, Jerry Tworek, Juan Felipe Cerón Uribe, Andrea Vallone, Arun Vijayvergiya, Chelsea Voss, Carroll Wainwright, Justin Jay Wang, Alvin Wang, Ben Wang, Jonathan Ward, Jason Wei, CJ Weinmann, Akila Welihinda, Peter Welinder, Jiayi Weng, Lilian Weng, Matt Wiethoff, Dave Willner, Clemens Winter, Samuel Wolrich, Hannah Wong, Lauren Workman, Sherwin Wu, Jeff Wu, Michael Wu, Kai Xiao, Tao Xu, Sarah Yoo, Kevin Yu, Qiming Yuan, Wojciech Zaremba, Rowan Zellers, Chong Zhang, Marvin Zhang, Shengjia Zhao, Tianhao Zheng, Juntang Zhuang, William Zhuk, and Barret Zoph. Gpt-4 technical report, 2024.arxiv.org/abs/2303.08774
- [47]Anthropic. Introducing claude 4. https://www.anthropic.com/news/claude-4, 2025.
- [48]Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics, pages 311–318, Philadelphia, Pennsylvania, USA, July 2002. Association for Computational Linguistics.
- [49]Matt Post. A call for clarity in reporting BLEU scores. In Proceedings of the Third Conference on Machine Translation: Research Papers, pages 186–191, Brussels, Belgium, October 2018. Association for Computational Linguistics.arxiv.org/abs/1804.08771
- [50]Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger, and Yoav Artzi. Bertscore: Evaluating text generation with bert, 2020.
- [51]Ricardo Rei, Craig Stewart, Ana C Farinha, and Alon Lavie. COMET: A neural framework for MT evaluation. In Proceedings of EMNLP, pages 2685–2702, 2020.arxiv.org/abs/2009.09025
- [52]Senyu Li, Jiayi Wang, Felermino D. M. A. Ali, Colin Cherry, Daniel Deutsch, Eleftheria Briakou, Rui Sousa-Silva, Henrique Lopes Cardoso, Pontus Stenetorp, and David Ifeoluwa Adelani. SSA-COMET: Do LLMs outperform learned metrics in evaluating MT for under-resourced African languages? In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 12979–12998, Suzhou, China, November 2025. Association for Computational Linguistics.
- [53]Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, et al. Judging LLM-as-a-judge with MT-bench and chatbot arena. Advances in Neural Information Processing Systems, 36:46595–46623, 2023.arxiv.org/abs/2306.05685
- [54]Imad Kissami, Robert Basmadjian, Othmane Chakir, and M. Riduan Abid. TOUBKAL: a high-performance supercomputer powering scientific research in africa. The Journal of Supercomputing, 81(15):1401, 2025.DOI
- [55]Klaus Krippendorff. Computing krippendorff’s alpha-reliability. 2011.
- [56]Quinn McNemar. Note on the sampling error of the difference between correlated proportions or percentages. Psychometrika, 12:153–157, 1947.pubmed.ncbi.nlm.nih.gov/20254758
- [57]Yoav Benjamini and Yosef Hochberg. Controlling the false discovery rate: A practical and powerful approach to multiple testing. Journal of the Royal Statistical Society: Series B (Methodological), 57(1):289–300, 1995.DOI
- [58]Denise Rey and Markus Neuhäuser. Wilcoxon-Signed-Rank Test, pages 1658–1659. Springer Berlin Heidelberg, Berlin, Heidelberg, 2011.DOI