Skip to main content
QUICK REVIEW

[Paper Review] FarsTail: A Persian Natural Language Inference Dataset

Hossein Amirkhani, Mohammad AzariJafari|arXiv (Cornell University)|Sep 18, 2020
Natural Language Processing TechniquesComputer Science15 citations
TL;DR

This paper introduces FarsTail, the first large-scale Persian Natural Language Inference (NLI) dataset with 10,367 samples, constructed from multiple-choice questions using a minimal-annotation, multi-step process inspired by SciTail. The best model, mBERT, achieved 83.38% test accuracy, highlighting significant room for improvement and revealing strong dataset biases exploited by models.

ABSTRACT

Natural language inference (NLI) is known as one of the central tasks in natural language processing (NLP) which encapsulates many fundamental aspects of language understanding. With the considerable achievements of data-hungry deep learning methods in NLP tasks, a great amount of effort has been devoted to develop more diverse datasets for different languages. In this paper, we present a new dataset for the NLI task in the Persian language, also known as Farsi, which is one of the dominant languages in the Middle East. This dataset, named FarsTail, includes 10,367 samples which are provided in both the Persian language as well as the indexed format to be useful for non-Persian researchers. The samples are generated from 3,539 multiple-choice questions with the least amount of annotator interventions in a way similar to the SciTail dataset. A carefully designed multi-step process is adopted to ensure the quality of the dataset. We also present the results of traditional and state-of-the-art methods on FarsTail including different embedding methods such as word2vec, fastText, ELMo, BERT, and LASER, as well as different modeling approaches such as DecompAtt, ESIM, HBMP, and ULMFiT to provide a solid baseline for the future research. The best obtained test accuracy is 83.38% which shows that there is a big room for improving the current methods to be useful for real-world NLP applications in different languages. We also investigate the extent to which the models exploit superficial clues, also known as dataset biases, in FarsTail, and partition the test set into easy and hard subsets according to the success of biased models. The dataset is available at https://github.com/dml-qom/FarsTail

Motivation & Objective

  • To address the lack of high-quality, native NLI datasets for low-resource languages like Persian (Farsi), which is spoken by 110 million people across Iran, Afghanistan, and Tajikistan.
  • To develop a large-scale, high-quality NLI dataset for Persian that minimizes human annotation bias through a systematic, multi-step data generation process.
  • To provide a benchmark for evaluating NLP models on Persian, enabling research into multilingual and low-resource language understanding.
  • To investigate dataset biases in FarsTail by identifying patterns exploited by simple models, and to partition the test set into easy and hard subsets based on these biases.

Proposed method

  • Generated NLI samples from 3,539 multiple-choice questions by creating three hypotheses per premise: one for entailment (correct answer), one for contradiction (incorrect answer), and one for neutral (unrelated web snippet).
  • Used web snippets to ensure entailment and neutral hypotheses were grounded in real-world knowledge, enhancing naturalness and reducing synthetic artifacts.
  • Applied a four-step labeling and filtering process: initial labeling by one annotator, followed by four independent relabelings, with samples requiring at least four out of five agreements preserved.
  • Employed a multi-stage quality control protocol, including rework and relabeling for rejected samples, to ensure high data quality.
  • Trained and evaluated diverse models including word2vec, fastText, ELMo, BERT, LASER, DecompAtt, ESIM, HBMP, and ULMFiT on the dataset to establish strong baselines.
  • Analyzed dataset biases using two simple models: one based solely on hypothesis content and another based on premise-hypothesis overlap (cosine similarity), using their predictions to partition the test set into easy and hard subsets.

Experimental results

Research questions

  • RQ1How effective are existing deep learning models on a newly introduced, large-scale Persian NLI dataset, and what performance benchmarks can be established?
  • RQ2To what extent do state-of-the-art models exploit superficial biases in the FarsTail dataset, such as lexical overlap or hypothesis-only patterns?
  • RQ3How do different model architectures and embedding methods perform on the FarsTail dataset, and which combinations yield the highest accuracy?
  • RQ4Can the test set be meaningfully partitioned into easy and hard subsets based on biased model predictions, and how does model performance vary across these subsets?
  • RQ5What are the implications of dataset biases for model generalization, and how can out-of-distribution evaluation be improved for Persian NLP?

Key findings

  • The best-performing model on FarsTail, mBERT, achieved a test accuracy of 83.38%, indicating substantial room for improvement in Persian NLI models.
  • A simple hypothesis-only model achieved 55.31% accuracy, with the highest performance on the neutral class, indicating that hypothesis content alone provides some predictive signal.
  • An overlap-based model using cosine similarity between premise and hypothesis vectors achieved 56.46% accuracy, showing better discrimination of neutral from entailed/contradicted pairs.
  • 497 (32%) test samples were classified as easy by both biased models, while 313 (20%) were hard for both, indicating that the two models capture distinct biased patterns.
  • Model performance dropped significantly on the hard subsets, especially for the overlap-based model, suggesting that models rely more on lexical overlap than on hypothesis-specific patterns.
  • The results confirm that a significant portion of model success is due to exploitation of dataset biases, particularly lexical overlap, rather than deep semantic understanding.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.