Preprint
Machine Learning

XLM

January 1, 2019

0

Citations

0

Influential Citations

Venue

2019

Year

Abstract

Proposes two methods to learn cross-lingual language models (XLMs): one unsupervised that only relies on monolingual data, and one supervised that leverages parallel data with a new cross-lingual language model objective.

Analysis

Why This Paper Matters

This paper addresses a critical challenge in NLP: building models that understand multiple languages without requiring extensive parallel data. By proposing both unsupervised and supervised methods for cross-lingual language model pretraining, it enables transfer learning across languages, which is essential for scaling NLP to the world's 7,000+ languages. The work is particularly significant because it shows that monolingual data alone can be sufficient to learn cross-lingual representations, reducing the dependency on expensive parallel corpora.

Technical Contributions

  • Unsupervised XLM: Uses masked language modeling (MLM) on concatenated monolingual data from multiple languages. The model learns to predict masked tokens, implicitly aligning representations across languages through shared vocabulary and context.
  • Supervised XLM: Introduces a translation language modeling (TLM) objective where parallel sentences are concatenated and masked tokens are predicted using cross-lingual context. This explicitly encourages alignment between languages.
  • Cross-lingual pretraining: Both variants are pretrained on large-scale data (e.g., Wikipedia) and fine-tuned on downstream tasks, showing consistent improvements over monolingual baselines.

Results

The paper reports strong results on XNLI (cross-lingual natural language inference), achieving up to 76.2% accuracy on English and competitive performance on other languages. For unsupervised machine translation, XLM outperforms previous methods by 2-3 BLEU points on WMT benchmarks. The supervised variant further improves performance, demonstrating the value of parallel data when available.

Significance

XLM laid the groundwork for a new paradigm in multilingual NLP. Its key insight—that cross-lingual representations can be learned from monolingual data—inspired subsequent models like XLM-R and mBERT, which are now widely used in production systems. The paper's contributions are foundational for zero-shot cross-lingual transfer, enabling applications such as multilingual chatbots, cross-lingual search, and low-resource language processing.