Unsupervised Cross-lingual Representation Learning at Scale

Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek +5 more
11/5/2019
cs.CL

Official code: facebookresearch/XLM (2,922 stars, last commit 2023-02-14). 1 more implementation below.

Abstract

This paper shows that pretraining multilingual language models at scale leads to significant performance gains for a wide range of cross-lingual transfer tasks. We train a Transformer-based masked language model on one hundred languages, using more than two terabytes of filtered CommonCrawl data. Our model, dubbed XLM-R, significantly outperforms multilingual BERT (mBERT) on a variety of cross-lingual benchmarks, including +14.6% average accuracy on XNLI, +13% average F1 score on MLQA, and +2.4% F1 score on NER. XLM-R performs particularly well on low-resource languages, improving 15.7% in XNLI accuracy for Swahili and 11.4% for Urdu over previous XLM models. We also present a detailed empirical analysis of the key factors that are required to achieve these gains, including the trade-offs between (1) positive transfer and capacity dilution and (2) the performance of high and low resource languages at scale. Finally, we show, for the first time, the possibility of multilingual modeling without sacrificing per-language performance; XLM-R is very competitive with strong monolingual models on the GLUE and XNLI benchmarks. We will make our code, data and models publicly available.

View on arXivView PDF

Code Implementations(2)

PyTorch original implementation of Cross-lingual Language Model Pretraining.

2,922498Perl, ShellFeb 2, 20193 years agoNOASSERTION
MIT

Tools to download and cleanup Common Crawl data

1,045152Python, MakefileOct 29, 20193 years agoMIT

Similar Papers

Cite this paper

@article{conneau2019unsupervised,
  title  = {Unsupervised Cross-lingual Representation Learning at Scale},
  author = {Alexis Conneau and Kartikay Khandelwal and Naman Goyal and Vishrav Chaudhary and Guillaume Wenzek and Francisco Guzmán and Edouard Grave and Myle Ott and Luke Zettlemoyer and Veselin Stoyanov},
  year   = {2019},
  eprint = {1911.02116},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.02116}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1911.02116.svg)](https://codeofpaper.com/paper/1911.02116)

Discussion