A Primer on Pretrained Multilingual Language Models

Sumanth Doddapaneni, Gowtham Ramesh, Mitesh M. Khapra, Anoop Kunchukuttan, Pratyush KumararXiv 2021

TL;DR

This paper provides a comprehensive survey of Pretrained Multilingual Language Models (MLLMs), tracing their evolution across architectures, training objectives, and evaluation benchmarks. It synthesizes key findings on how these models handle cross-lingual transfer, compare to monolingual counterparts, and can be extended to low-resource or completely unseen languages.

What Problem Does This Paper Address?

While monolingual language models like BERT have revolutionized Natural Language Processing (NLP), training a dedicated model for every language is computationally and data-prohibitive. This limitation disproportionately leaves low-resource languages behind.

Multilingual Language Models (MLLMs)—such as mBERT, XLM, and XLM-R—address this by training a single model on a pooled corpus of up to hundreds of languages simultaneously. This enables zero-shot cross-lingual transfer, where a model fine-tuned on a resource-rich language (like English) can immediately perform tasks in a resource-deprived language. However, because this sub-field has expanded rapidly, researchers lack a unified overview of how these models differ, when they outperform monolingual models, and how they manage language representation. This paper serves as a foundational primer and survey to fill that gap.

Methods

The authors categorize the construction of MLLMs into three main structural components:

  1. Architecture: Most MLLMs adapt the Transformer encoder architecture. They share a single tokenization vocabulary (typically learned via BPE, WordPiece, or SentencePiece) across all languages.
  2. Monolingual Training Objectives: Models use self-supervised tasks on text from individual languages. The most standard is Masked Language Modeling (MLM), which forces the model to predict missing tokens using surrounding context.
  3. Parallel-Corpora Objectives: To explicitly align different languages in the same vector space, some models leverage parallel text (translation pairs). Key objectives include Translation Language Model (TLM)—where sentences from two languages are concatenated and masked jointly—and Cross-lingual Contrastive Learning (XLCO), which maximizes the similarity between parallel sentence representations.

The paper maps out how these methods are combined across over 20 major MLLM variants developed over recent years.

A comparison of existing Multilingual Language Models, detailing their architectures, pretraining data, and language coverage.

Datasets

The paper reviews the datasets used to train and evaluate MLLMs:

  • Pretraining Corpora: Primarily large-scale text dumps like Wikipedia and CommonCrawl, alongside region-specific datasets like IndicCorp.
  • Evaluation Benchmarks: Standardized cross-lingual suites including XGLUE, XTREME, and XTREME-R. These cover classification (e.g., XNLI, PAWS-X), structure prediction (e.g., UD-POS, WikiANN-NER), question answering (e.g., XQuAD, MLQA, TyDiQA), and sentence retrieval (e.g., BUCC, Tatoeba).

Key Insights and Ideas

  • The Curse of Multilinguality: Allocating a fixed model capacity to more languages inherently dilutes its performance on any single language. This creates a fundamental trade-off between language coverage and per-language accuracy.
  • Vocabulary Overlap is Overrated: While a shared vocabulary assists cross-lingual transfer, it isn't strictly mandatory. MLLMs can successfully transfer knowledge between completely different scripts (like Hindi in Devanagari and Urdu in Arabic script) by learning deeper structural and syntactic alignments.
  • No True Interlingua: MLLMs do not learn a completely language-agnostic universal representation. Instead, language-neutral features peak in the middle layers (layers 5–8), while the final layers specialize back into language-specific representations to satisfy pretraining objectives.
  • Tokenization Bottlenecks: Multilingual tokenizers often suffer from high "fertility" in low-resource languages, chopping single words into too many meaningless sub-words. This heavily degrades representation quality.

Key Results

  • Monolingual vs. Multilingual: High-capacity MLLMs (like XLM-R) can match or come within 1–2% of state-of-the-art monolingual models on high-resource tasks, but dedicated monolingual models still dominate when data is abundant.
  • Data Scale Matters: Transitioning pretraining data from Wikipedia to the much larger CommonCrawl corpus consistently yields massive downstream performance gains across classification, NER, and QA tasks.
  • Tokenizer Impact: Studies show that replacing a joint multilingual tokenizer with a language-specific tokenizer improves performance in 38 out of 48 evaluated combinations of models, tasks, and languages.

Limitations and Future Work

The authors highlight several critical gaps for future MLLM research:

  • Costly Ablations: Due to the massive computational footprint of training MLLMs, there is a lack of controlled, scaled-down ablation studies to determine optimal architecture shapes relative to the number of languages.
  • Evaluation Gaps: Zero-shot performance varies wildly across tasks. More rigorous comparisons against strong machine-translation baselines (like translate-train and translate-test) are required.
  • Scaling Inclusivity: Current models top out at roughly 100–110 languages. True language inclusivity requires scaling models to support thousands of world languages efficiently, potentially moving beyond language-specific adapters.
  • Efficiency and Bias: Future work must focus on downsizing these massive models for edge devices via pruning and distillation, alongside developing robust frameworks to audit and mitigate encoded linguistic and cultural biases.

Summary updated

BibTeX
@misc{doddapaneni2021primer,
  author = {Sumanth Doddapaneni and Gowtham Ramesh and Mitesh M. Khapra and Anoop Kunchukuttan and Pratyush Kumar},
  title = {{A Primer on Pretrained Multilingual Language Models}},
  year = {2021},
  eprint = {2107.00676},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.00676},
}

Loading related content...

Figure