Source-linked AI summary

E-CONAN (Entailment, CONtradition And Neutral) Benchmarks: Arabic Textual Entailment and Natural Inference Datasets

Khloud AL Jallad, Nada Ghneim, Ghaida Rebdawi

arXiv:2609.11334v1cs.CLcs.AIcs.LG

TL;DR

Arabic NLI lacks high-quality benchmarks spanning diverse data-generation approaches. E-CONAN introduces two such benchmarks and evaluates pretrained models on them; mDeBERTa led among pretrained models across datasets, while Gemma led among LLMs on most datasets and 2-way results exceeded 3-way results.

  • Problem

    Arabic NLI has few high-quality benchmarks, and existing resources often rely on a single data-generation paradigm or domain.

    Source: §I · p. 2, §II · p. 4
  • Method

    The paper introduces E-CONAN-2 and E-CONAN-3, combining translated, human-crafted, and news-based sentence pairs, and evaluates models using zero-shot classification.

    Source: §VII · p. 13
  • Results

    Among pretrained models, mDeBERTa outperformed the others across datasets; Gemma led among LLMs on most datasets, and 2-way results significantly outperformed 3-way results.

    Source: a. Pretrained Results · p. 9, b. LLM Results · p. 9
  • Takeaways & Limitations

    E-CONAN may provide a useful basis for testing model generalization and improving pretrained models.

    Source: a. Pretrained Results · p. 9

Abstract

from arXiv · show

Natural Language Inference processes pairs of sentences to extract their semantic relations. NLI has been a hot research topic, integrated as a main component in other NLP applications. Despite significant advancements in textual inference across various languages all around the world, Arabic language still suffers from limited resources in this domain. To address this gap, this paper introduces E-CONAN benchmarks that are composed of sentences pairs from various sources: (1) automatically-translated pairs, (2) human-validated machine-translated pairs, (3) hand-crafted pairs from teaching Arabic as foreign language books, and (4) headlines pairs from different news channels containing rumors. E-CONAN contains two benchmark datasets, E-CONAN-2, a 2-way dataset (RTE) and E-CONAN-3, a 3-way dataset (NLI). Additionally, we have used E-CONAN benchmarks to evaluate 9 state-of-the-art multilingual pretrained models using zero-shot classification. Models were evaluated across the ArNLI, XNLI, and E-CONAN datasets. Results show that E-CONAN is a potentially valuable resource for evaluating model generalization and even for fine-tuning pre-trained models. Its diverse composition, derived from a combination of sources, offers a broader and more robust assessment compared to XNLI and ArNLI. In addition, we have evaluated 5 LLMs on E-CONAN-3 dataset. Moreover, we incorporated MARBERT as a representative Arabic-specific baseline and conducted performance evaluation comparison to demonstrate how Arabic-specific models scale against cross-lingual and LLM-based approaches on the E-CONAN benchmarks. Furthermore, we conducted detailed qualitative and quantitative error analysis to analyze frequent error patterns. E-CONAN benchmarks will be publicly available, we hope that it will enrich research community in Arabic textual entailment and natural language inference.

I. INTRODUCTION

E-CONAN addresses the shortage of high-quality Arabic textual-inference benchmarks by combining varied data-generation approaches and Arabic text styles. It introduces two- and three-way datasets and evaluates pretrained models and LLMs against existing benchmarks.

I. INTRODUCTION

  • Arabic inference benchmarks often rely on a single data-generation paradigm, limiting evaluation of generalization across real-world linguistic variation.E-CONAN is proposed to address this gap with a broader mix of sources and text styles.Source: §I · p. 2
  • E-CONAN combines human-validated and automatic translations, hand-crafted texts, and news headlines to capture varied Arabic styles and assess model generalization.The sources span formal, casual, translated, and nuanced native Arabic structures.Source: §I · p. 2
  • E-CONAN-2 is an RTE benchmark containing 24,875 sentence pairs collected from ArNLI, Arabic-translated SNLI and XNLI sections, AnsStance, and ArEntail.Source: §I · p. 2
  • E-CONAN-3 is a three-way NLI benchmark containing 18,875 sentence pairs collected from ArNLI, Arabic SNLI and XNLI translations, and AnsStance.Source: §I · p. 2
  • The paper evaluates 10 pretrained models against ArNLI, XNLI, and ArEntail using the E-CONAN datasets.Source: §I · p. 2
  • The paper also evaluates 6 LLMs against ArNLI, XNLI, and ArEntail using the E-CONAN datasets.Source: §I · p. 2

II. Related Works

Related work traces the evolution of textual entailment from PASCAL’s RTE challenges to two- and three-class NLI, while highlighting limited high-quality native Arabic data. Existing Arabic datasets and machine-translated benchmarks leave a gap that E-CONAN addresses with new datasets and model evaluations.

II. Related Works

  • RTE was first started as a challenge in PASCAL; PASCAL stands for Pattern Analysis, Statistical Modelling and Computational Learning, and its challenge series focused on RTE in specific applications.Source: §II · p. 2
  • Automatic translation of English datasets such as XNLI and SNLI into Arabic can introduce meaning errors that affect pair labels and model performance.The passage also lists WNLI, SNLI, MultiNLI, and GLUE’s RTE dataset, which combines RTE1, RTE2, RTE3, and RTE5.Source: §II · p. 3
  • Arabic resources include 2-way ArbTEDS with 618 pairs and 2-way ArEntil with 6000 sentence pairs, while 3-way ArNLI contains 6366 pairs.ArbTEDS draws on news websites and hand-collected pairs across several domains and was annotated by eight volunteer annotators; ArEntil uses manually labeled news headlines.Source: §II · p. 3
  • Arabic NLI remains constrained by scarce high-quality native datasets, while many benchmarks rely on machine translation; this work introduces two datasets and evaluates 5 LLMs and 10 foundational models.The cited passage notes that recent studies evaluate LLMs including Allam, Qwen [47], [48], Command R7B Arabic [53], DeepSeek-R1 [54], and Gemma.Source: §II · p. 4

III. E-CONAN Datasets

The section describes the construction and label harmonization of E-CONAN-2 and E-CONAN-3, then reports their class balance, source and domain coverage, and lexical diversity.

a. DATASETS CONSTRUCTION

  • E-CONAN-2 combines manually collected and translated pairs, while E-CONAN-3 also draws on human-validated Arabic translations of SNLI and XNLI and other Arabic NLI sources.Sources described include ArNLI, ArbTEDS, SICK, PHEME, Stanford Real Life contradiction corpus, AnsStance, and ArEntail; ArEntail is used only in E-CONAN-2 because it has binary labels.Source: a. DATASETS CONSTRUCTION · p. 4, c. Datasets Statistics · p. 5

b. Datasets Annotation Mapping

  • E-CONAN-3 preserves original NLI labels and maps AnsStance agree to entailment, disagree to contradiction, and all remaining labels to neutral; E-CONAN-2 maps contradiction and neutral to not-entail.Existing 2-way sources are retained without modification, and the merged datasets' inter-annotator agreement was not re-evaluated, which the authors identify as a limitation.Source: b. Datasets Annotation Mapping · pp. 4–5

c. Datasets Statistics

  • E-CONAN-2 has 37% entail and 63% not-entail samples; E-CONAN-3 has 32% entailment, 34% neutral, and 34% contradiction samples.Sentence lengths range from 2 words to maxima of 39 in Text and 59 in Hypothesis, with averages of approximately 8 and 11 words, respectively.Source: c. Datasets Statistics · p. 5, Table 2 · p. 5, Table 3 · p. 6
  • The source distribution is largest for XNLI and ArNLI and smallest for SNLI; ArEntail appears only in E-CONAN-2 because it distinguishes entailment from non-entailment without separating contradiction and neutral.Source: c. Datasets Statistics · p. 5, Figure 3
  • The datasets cover News (35%), Simple Everyday (30%), Social Media (20%), and Multi-Genre (15%), drawing from eight source datasets.The reported styles contribute formal, straightforward, informal, and cross-domain language coverage, respectively.Source: c. Datasets Statistics · p. 5, Figure 4 · p. 6
  • E-CONAN's word cloud includes geographical, political, economic, and general vocabulary, complementing its varied domains and sentence structures.Source: c. Datasets Statistics · pp. 5, 7, Figure 5 · p. 6
  • E-CONAN-3 achieves a near-perfect balance across the three standard NLI classes: entailment (~32.6%), contradiction (~33.7%), and neutral (~33.7%), resolving distribution skews found in older benchmarks like ArNLI.Source: c. Datasets Statistics · p. 6

IV. Evaluation Models

The evaluation compares multilingual and Arabic-specific pretrained models with Arabic-capable LLMs on E-CONAN using zero-shot inference. All models use a shared deterministic configuration, with LLMs receiving a structured prompt to classify entailment, contradiction, or neutral relations.

a. Pretrained Models

  • The pretrained-model evaluation uses zero-shot classification on E-CONAN with multilingual models tuned on MNLI, XNLI, or related NLI data, alongside Arabic-specific MARBERT fine-tuned on Arabic XNLI.The models are also used to compare Arabic-specific and cross-lingual pretrained approaches.Source: a. Pretrained Models · p. 7

b. LLMs

  • Five Arabic-capable LLMs are evaluated zero-shot: ALLAM, Qwen2.5, Gemma3, Command R7B Arabic, and DeepSeek-R1.The described models span Arabic-English pretrained, multilingual, multimodal, and reasoning-oriented systems.Source: b. LLMs · pp. 7–8

c. Experiments Setup:

  • All models use zero-shot inference without fine-tuning, few-shot examples, or task-specific adaptations, with default decoding settings, temperature 0, and penalty restrictions disabled.The shared configuration is intended to support fairness, transparency, and reproducibility.Source: c. Experiments Setup · p. 8
  • LLMs receive each text pair with a structured zero-shot prompt that asks them to classify the relation as entailment, contradiction, or neutral.The template supplies the text and hypothesis and requests a class label.Source: c. Experiments Setup · p. 8

V. Results and Discussion

E-CONAN results show varied performance across datasets and model types, with accuracy as the main metric. Results also show stronger performance on the 2-way task than the 3-way task, while the authors’ corrected pairwise test found significant performance differences.

a. Pretrained Results

  • ArNLI had the lowest results and XNLI the highest, while E-CONAN results fell between them; the authors attribute this pattern partly to dataset composition and prior training.They propose E-CONAN’s mix of translated, human-created, and news-derived sentence pairs as a basis for testing or improving model generalization.Source: a. Pretrained Results · pp. 8–9
  • mDeBERTa outperformed the other multilingual pretrained models on all datasets; models tuned on both XNLI and MNLI outperformed those tuned on MNLI alone.Accuracy was the main metric used in all experiments.Source: Table 6 · p. 8, Table 7 · p. 8, §V · p. 8

b. LLM Results:

  • Gemma3 led on E-CONAN-3 (68%), XNLI (68%), SNLI (48%), and AnsStance (86%); Qwen2.5 led on ArNLI (64%), while Gemma3 and Qwen2.5 scored 95% and 94% on E-CONAN-2.Allam had the lowest reported accuracies on these datasets: 55% on E-CONAN-3, 56% on XNLI, 32% on SNLI, 68% on AnsStance, 50% on ArNLI, and 66% on E-CONAN-2.Source: b. LLM Results · p. 9
  • Merging neutral and contradiction into not-entail raised accuracy by 15–30%: Allam 55%→66%, Command R7B Arabic 64%→92%, DeepSeek 61%→87%, Gemma3 68%→95%, and Qwen2.5 64%→94%.The authors report that confusion between neutral and contradiction caused most errors in the 3-way setting.Source: b. LLM Results · p. 9
  • LLM results were highest on AnsStance and lowest on SNLI; the authors suggest this may reflect models’ greater pretraining exposure to news than to logical data.They emphasize diverse, high-quality benchmarks for assessing and improving model generalization in resource-limited languages such as Arabic.Source: b. LLM Results · p. 9
  • In the representative-model comparison, Gemma achieved the highest performance on most datasets and led on ArNLI, while mDeBERTa led on ArXNLI; MARBERT served as the Arabic-specific baseline.The comparison covered E-CONAN-3 and E-CONAN-2 and included the top-performing cross-lingual model, mDeBERTa-v3-base-xnli-multilingual-nli-2mil7, and Gemma.Source: b. LLM Results · p. 9, Table 9 · p. 10, Table 10 · p. 10

c. McNemar’s Test

  • Gemma3’s performance versus mDeBERTa-v3-base-xnli-multilingual-nli-2mil7 was statistically significant across all datasets (Bonferroni-corrected pairwise McNemar test, p < 0.000001).The authors say their zero-shot evaluation, without supervised fine-tuning or parameter tuning, exposes limits in adapting to specialized domains despite strong results on traditional NLI datasets.Source: c. McNemar’s Test · pp. 10–11

VI. Error Analysis

The error analysis finds that Arabic NLI models often rely on similarity rather than logical consistency, while neutral and contradiction distinctions remain difficult. It also identifies E-CONAN-3’s broader data mix as supporting more balanced class-wise performance, with inherited dataset biases still relevant.

VI. Error Analysis

  • Qualitative analysis identifies lexical-overlap bias, entity mismatches, Arabic morphology and quantifier errors, antonymy or negation blindness, and topical hallucination.Examples include treating unverified locations, counts, or racing contexts as entailed, and missing conflicts such as Russia versus America or lifting versus continuing a curfew.Source: §VI · p. 11

b. Quantitative Error Analysis

  • Pretrained models are often misled by lexical overlap, whereas LLMs are often misled by topical familiarity; both favor Entailment over logical consistency.The quantitative analysis examined representative errors from MiniLM-L6-mnli and Allam.Source: b. Quantitative Error Analysis · p. 12, Figure 14 · p. 12

c. Class-Wise Performance and Error Patterns

  • Neutral and contradiction remain challenging across architectures, with frequent confusion between them and predictions of Neutral for contradiction and entailment cases.Gemma3 particularly favors the majority Neutral class on ArSNLI and ArNLI, retaining relatively high Neutral recall while performance on Contradiction and Entailment decreases.Source: c. Class-Wise Performance and Error… · p. 12
  • Crowdsourced annotation boundaries, translation artifacts, and lexical-overlap heuristics contribute to confusion between Neutral and Contradiction.Missing information can be ambiguous between non-contradiction and direct conflict, while translation may obscure cultural cues and shared vocabulary can mask negation or contextual shifts.Source: c. Class-Wise Performance and Error… · pp. 12–13
  • E-CONAN-3’s multi-source diversity appears to mitigate dataset-specific label biases and is reflected in more balanced class-wise performance and clearer confusion-matrix diagonals.The authors report consistent zero-shot performance across evaluated models and argue that combining sources increases contextual and linguistic diversity.Source: c. Class-Wise Performance and Error… · p. 13
  • 35% news and 30% simple-everyday contexts make up most of E-CONAN-3, while social media accounts for 20% and multi-genre settings 15%.The benchmark retains domain and topic imbalance as well as possible translation and crowdsourcing annotation bias; the authors nevertheless describe it as a foundation for future fine-tuning and more robust Arabic NLI.Source: c. Class-Wise Performance and Error… · p. 13

VII. Conclusion

E-CONAN introduces diverse Arabic textual-entailment and NLI benchmarks, evaluates pretrained models and LLMs on them, and identifies current scope limits and future dialect coverage needs.

VII. Conclusion

  • mDeBERTa outperformed the other evaluated models across datasets, with accuracies of 0.71 on E-CONAN-3 and 0.86 on XNLI; E-CONAN showed intermediate difficulty.ArNLI had the lowest observed performance and XNLI the highest, while E-CONAN’s diverse composition was presented as a more balanced evaluation.Source: §VII · p. 13
  • E-CONAN-2 provides 2-way RTE data and E-CONAN-3 provides 3-way NLI data, combining automatically translated, human-validated machine-translated, hand-crafted, and news-based sentence pairs.The paper presents the datasets as a diverse resource for evaluating model generalization in Arabic NLI.Source: §VII · pp. 13–14
  • Gemma achieved the best LLM accuracy on E-CONAN-3 at 0.68; in a two-way analysis, Gemma and Qwen scored 0.95 and 0.94, respectively.The analysis found that most errors were between neutral and contradiction classes.Source: §VII · p. 13
  • The study included MARBERT as an Arabic-specific baseline for comparison with cross-lingual and LLM-based approaches on E-CONAN.The authors also conducted qualitative and quantitative error analysis, finding pretrained models often misled by lexical overlap and LLMs by topical familiarity.Source: §VII · pp. 13–14
  • The benchmarks cover Modern Standard Arabic but not regional dialects; future work will expand the datasets to include Arabic dialect variation.Source: §VII · p. 14

Logical Relation · ZERO-SHOT CLASSIFICATION RESULTS ON E-CONAN-3 DATASETS

The supplied passages document proposed evaluations of cross-lingual, Arabic-baseline, and LLM models, and list accuracy, precision, recall, and F1 as metrics. They do not provide the scores or comparisons.

Logical Relation

  • The cross-lingual baseline evaluation is presented in Figure 6.Source: Figure 6 · p. 19
  • The Arabic baseline model evaluation is presented in Figure 7.Source: Figure 7 · p. 19
  • The LLM evaluation is presented in Figure 8.Source: Figure 8 · p. 20
  • The listed zero-shot models are FacebookAI/roberta-large-mnli, facebook/bart-large-mnli, MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7, MoritzLaurer/MiniLM-L6-mnli, and MoritzLaurer/mDeBERTa-v3-base-mnli-xnli.Source: Logical Relation · p. 21
  • The listed zero-shot models also include MoritzLaurer/multilingual-MiniLMv2-L6-mnli-xnli, MoritzLaurer/DeBERTa-v3-base-mnli, MoritzLaurer/multilingual-MiniLMv2-L12-mnli-xnli, and MoritzLaurer/ernie-m-base-mnli-xnli.Source: Logical Relation · p. 21

ZERO-SHOT CLASSIFICATION RESULTS ON E-CONAN-3 DATASETS

ZERO-SHOT CLASSIFICATION RESULTS ON XNLI DATASET · ZERO-SHOT CLASSIFICATION RESULTS ON ARNLI DATASET · ZERO-SHOT CLASSIFICATION RESULTS ON TEST XNLI DATASET

The supplied passages identify accuracy, precision, recall, and F1 as evaluation metrics, and captions specify figures covering dataset results and LLM zero-shot classification; no result values are provided.

ZERO-SHOT CLASSIFICATION RESULTS ON XNLI DATASET

ZERO-SHOT CLASSIFICATION RESULTS ON ARNLI DATASET

ZERO-SHOT CLASSIFICATION RESULTS ON TEST XNLI DATASET

LLM RESULTS ON E-CONAN-3 · LLM RESULTS ON ARNLI

The supplied passages identify LLM evaluation results for E-CONAN-3 and ArNLI, listing five models and Accuracy, Precision, Recall, and F1 metrics without showing scores.

LLM RESULTS ON E-CONAN-3

  • The supplied passages list Allam, Cmd_rb, Deepseek, Gemma3, and Qwen2.5, and show metric headings for Accuracy, Precision, Recall, and F1; no scores are visible.Source: LLM RESULTS ON E-CONAN-3 · p. 23

LLM RESULTS ON ARNLI

  • The ArNLI results passage lists Allam, Cmd_rb, Deepseek, Gemma3, and Qwen2.5 as evaluated models.The accompanying metric headings are Accuracy, Precision, Recall, and F1; no scores are visible in the supplied passages.Source: LLM RESULTS ON ARNLI · p. 23

LLM RESULTS ON ARSNLI

The supplied passages identify LLM zero-shot classification on E-CONAN-3 and SoTA benchmarks, with a classification report and confusion matrices, but provide no performance values.

LLM RESULTS ON ARSNLI

  • The listed models are Allam, Cmd_rb, Deepseek, Gemma3, and Qwen2.5.No model-specific scores are supplied.Source: LLM RESULTS ON ARSNLI · p. 23
  • The classification metrics shown are accuracy, precision, recall, and F1.No metric values are supplied.Source: LLM RESULTS ON ARSNLI · p. 23
  • Figure 13 covers LLM zero-shot classification on E-CONAN-3 and SoTA benchmarks, while Table 12 is a classification report for E-CONAN and SoTA benchmarks.The supplied caption and table title do not include the underlying results.Source: Figure 13 · p. 23, Table 12 · p. 24
  • Figure 15 presents confusion matrices for E-CONAN and SoTA benchmarks.The supplied caption provides no class-level counts or error patterns.Source: Figure 15 · p. 25
Loading 2609.11334v1…