Myanmar XNLI: building a dataset and exploring low-resource approaches to natural language inference with Myanmar

Kyaw Htet Aung, Mark Dras · DOI

TL;DR

This paper introduces the first Natural Language Inference (NLI) dataset for Myanmar, myXNLI, addressing a critical gap in low-resource language NLP. They demonstrate that community-sourced data with expert verification yields significant improvements and explore data augmentation strategies that boost model performance for Myanmar and other low-resource languages.

What Problem Does This Paper Address?

Large Language Models (LLMs) have revolutionized NLP, but their application to low-resource languages remains a significant challenge. Benchmarks like Cross-Lingual Natural Language Inference (XNLI) highlight this gap, showcasing limited cross-lingual capabilities for languages with fewer digital resources. Myanmar, with its unique script and relatively slow digital adoption, exemplifies this problem. Existing NLP solutions often fall short, leaving such languages behind. This paper aims to bridge this gap by creating a dedicated NLI dataset for Myanmar and investigating how to improve the performance of state-of-the-art models on this language.

Methods

The authors employed a multi-stage approach:

  • Dataset Creation: They built the myXNLI dataset by extending the existing XNLI corpus. This involved a two-stage process:
  • Community Crowd-Sourcing: Initial translations were generated using Google Cloud Translate API for the training set and a team of local NLP researchers and students for the development and test sets.
  • Expert Verification: A crucial step involved expert translators reviewing and correcting the initial translations. This two-stage process was shown to significantly improve data quality.
  • Model Evaluation: They evaluated several multilingual and monolingual language models (XLM-R, mDeBERTa, RoBERTa, DeBERTaV3, MyanBERTa) on the myXNLI benchmark.
  • Data Augmentation: Various techniques were explored to enhance model performance:
  • Adversarial NLI Data Augmentation: Fine-tuning on additional English NLI datasets (like ANLI) to leverage cross-lingual transfer.
  • Multilingual NLI Data Augmentation: Training models on a combination of English and low-resource language data.
  • Cross-matched NLI Data Augmentation: Creating training data with mixed-language premise-hypothesis pairs (e.g., English-Myanmar, Myanmar-English).
  • Genre as Side-Input: Incorporating genre metadata as a prefix to the input sentences to provide contextual information.
  • Translation Quality Analysis: They meticulously analyzed translation errors, categorizing them into translator, language, input, and model errors, and developed translation guidelines to mitigate these issues.

Datasets

  • MultiNLI: Used as the source for the original English NLI training data.
  • XNLI: The existing 15-language cross-lingual NLI benchmark, which served as the basis for extending to Myanmar.
  • myXNLI: The newly created Myanmar NLI dataset, comprising training, validation (dev), and test sets. This dataset is made publicly available.

Key Insights and Ideas

  • Expert Verification is Crucial: The two-stage process of community sourcing followed by expert review significantly improved dataset quality and, consequently, model performance. This highlights the importance of human oversight in low-resource data creation.
  • Cross-Lingual Transfer is Powerful: Even without direct Myanmar-specific pre-training, multilingual models fine-tuned on high-resource languages (like English) can achieve reasonable performance on Myanmar NLI tasks.
  • Data Augmentation Yields Gains: Combining different data augmentation strategies, particularly those involving cross-lingual and cross-matched data, led to noticeable improvements in NLI accuracy for Myanmar.
  • Genre Metadata Matters: Incorporating genre information as a side input provided a consistent, albeit small, improvement in model performance, suggesting that contextual metadata can be valuable.
  • Myanmar's Unique Challenges: The paper touches upon specific challenges like non-standardized fonts, ad-hoc encodings, and the optional use of spaces in the Myanmar script, which require careful consideration in NLP tasks.

Key Results

  • The myXNLI dataset was successfully built, providing a benchmark for Myanmar NLI.
  • Data augmentation methods improved Myanmar NLI accuracy by up to 2 percentage points.
  • The revised myXNLI dataset led to a 2 percentage point improvement in accuracy compared to the initial version.
  • Fine-tuning mDeBERTa on a combination of English and Myanmar data (cross-matched with genre prefixes) achieved the best performance for Myanmar.
  • The Translate-Train scenario (fine-tuning multilingual models on Myanmar data) generally outperformed Cross-lingual Transfer and Translate-Test scenarios for Myanmar.
  • The quality of machine translation for the training data was deemed competitive, with a corpus-level BLEU score of 51.73 for Myanmar.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while multilingual models perform better than emerging Myanmar-only models, they still have limitations, as indicated by error analysis.
  • The quality of the original English sentences can impact the final translation quality.
  • Some errors persist due to ambiguous English inputs or inherent model limitations.
  • Future Work:
    • Include myXNLI in cross-lingual benchmarks like XTREME.
  • Evaluate other transformer architectures (mT5, Aya) on the myXNLI benchmark.
  • Explore synthetic data generation for Myanmar NLI.
  • Investigate architectural innovations in language models for low-resource challenges.
  • Develop more Myanmar/multilingual datasets to further advance NLP for these languages.
  • Further explore Myanmar-specific issues like morphological variations and the impact of unknown tokens.
  • Investigate the effects of genre on model behavior when provided with incorrect genre information or when domains differ between training and testing.

Summary updated

Abstract

Despite dramatic recent progress in NLP, it is still a major challenge to apply Large Language Models (LLM) to low-resource languages. This is made visible in benchmarks such as Cross-Lingual Natural Language Inference (XNLI), a key task that demonstrates cross-lingual capabilities of NLP systems across a set of 15 languages. In this paper, we extend the XNLI task for one additional low-resource language, Myanmar, as a proxy challenge for broader low-resource languages, and make three core contributions. First, we build a dataset called Myanmar XNLI (myXNLI) using community crowd-sourced methods, as an extension to the existing XNLI corpus. This involves a two-stage process of community-based construction followed by expert verification; through an analysis, we demonstrate and quantify the value of the expert verification stage in the context of community-based construction for low-resource languages. We make the myXNLI dataset available to the community for future research. Second, we carry out evaluations of recent multilingual language models on the myXNLI benchmark, as well as explore data-augmentation methods to improve model performance. Our data-augmentation methods improve model accuracy by up to 2 percentage points for Myanmar, while uplifting other languages at the same time. Third, we investigate how well these data-augmentation methods generalise to other low-resource languages in the XNLI dataset.
BibTeX
@article{aung2025myanmar,
  author = {Kyaw Htet Aung and Mark Dras},
  title = {{Myanmar XNLI: building a dataset and exploring low-resource approaches to natural language inference with Myanmar}},
  journal = {Lang. Resour. Evaluation},
  year = {2025},
  doi = {10.1007/s10579-025-09844-1},
}
Figure