XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalization

Junjie Hu, Sebastian Ruder, Aditya Siddhant, Graham Neubig, Orhan Firat, Melvin JohnsonarXiv 2020

Introduction

While Natural Language Processing (NLP) has seen rapid advancements, progress has been heavily skewed toward English. Most state-of-the-art models and benchmarks are designed for a single language, leaving the vast majority of the world's ~7,000 languages underserved. To address this "evaluation crisis," the XTREME (Cross-lingual TRansfer Evaluation of Multilingual Encoders) benchmark provides a standardized, diverse, and challenging stress test for massively multilingual models. XTREME evaluates the ability of models to learn concepts in English and generalize them to 40 typologically diverse languages without additional target-language training.

The XTREME Benchmark

XTREME comprises nine distinct tasks spanning 40 languages from 12 language families. These tasks are categorized into four functional areas:

  1. Sentence Classification: XNLI (Natural Language Inference) and PAWS-X (Paraphrase detection).
  2. Structured Prediction: Part-of-speech (POS) tagging and Named Entity Recognition (NER).
  3. Question Answering (QA): XQuAD, MLQA, and TyDiQA-GoldP.
  4. Sentence Retrieval: BUCC and Tatoeba.

The benchmark emphasizes zero-shot cross-lingual transfer, where models are pretrained on unlabeled multilingual text, fine-tuned on labeled English data, and evaluated directly on target languages.

Results and the Cross-Lingual Gap

Evaluation of state-of-the-art models like mBERT, XLM, and XLM-R reveals a significant "cross-lingual gap." While models approach human-level performance in English, their ability to transfer knowledge varies wildly across tasks and languages.

Performance across XTREME tasks compared to human baselines.

Classification tasks generally show higher transferability than structured prediction or retrieval tasks. For instance, XLM-R achieves an average of 79.2% accuracy on XNLI, but performance on sentence retrieval (Tatoeba) can drop as low as 32.6% for certain languages. This suggests that transferring semantic meaning is more straightforward for current architectures than transferring syntactic structure or fine-grained alignment.

Analysis of Performance Drivers

A critical finding is the strong correlation between a language's digital footprint and model performance. Languages with larger amounts of Wikipedia data available during pretraining consistently outperform low-resource languages.

Correlation between Wikipedia document count and model performance across tasks.

Furthermore, an "Indo-European bias" is evident; models perform significantly better on languages linguistically related to English (e.g., Spanish, German) than on those from different families like Sino-Tibetan or Niger-Congo. This highlights the difficulty models face with diverse scripts and complex morphologies.

Conclusion and Future Work

XTREME serves as a vital diagnostic tool for the NLP community, exposing the limitations of current "universal" models. While scaling data (as seen in XLM-R) improves generalization, significant challenges remain in bridging the gap for low-resource languages and complex reasoning tasks. Future research must move beyond English-centricity and address the cultural and linguistic nuances that automated translations often overlook.

Summary updated

BibTeX
@misc{hu2020xtreme,
  author = {Junjie Hu and Sebastian Ruder and Aditya Siddhant and Graham Neubig and Orhan Firat and Melvin Johnson},
  title = {{XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalization}},
  year = {2020},
  eprint = {2003.11080},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.11080},
}
Figure