Robots Atlas>ROBOTS ATLAS
Training

Multilingual Foundation Model

2019ActivePublished: 22 September 2026Updated: 22 September 2026Published
Key innovation
A single foundation model trained on corpora spanning many languages with a shared subword vocabulary, enabling cross-lingual transfer of knowledge — including zero-shot generalization to languages unseen during task fine-tuning.
Category
Training
Abstraction level
Paradigm
Operation level
ModelTrainingDataInference
Use cases
Multilingual natural language understanding (NLU)Machine translation and MT supportCross-lingual search and retrievalMultilingual classification and sentiment analysisZero-shot transfer to low-resource languagesMultilingual assistants and instruction-followingMultilingual embeddings for semantic search

How it works

Order of operations: (1) Tokenization — a shared subword tokenizer (BPE/SentencePiece/WordPiece) built over the concatenated multilingual corpus so that word pieces and scripts are shared across languages. (2) Data sampling — languages are mixed using exponential smoothing (temperature/alpha sampling) so high-resource languages do not dominate and low-resource ones are upweighted. (3) Pretraining — one shared Transformer backbone learns a self-supervised objective (masked LM as in mBERT/XLM-R, or causal/seq2seq LM as in BLOOM/mT5); optionally a cross-lingual objective from parallel data is added (Translation Language Modeling in XLM). (4) A shared representation space makes semantically similar sentences across languages map to similar representations, yielding cross-lingual transfer. (5) Fine-tuning on a task in one language transfers to others (zero-shot cross-lingual transfer).

Problem solved

Monolingual models require separate training and large labeled corpora for every language, which is infeasible for most of the world’s ~7000 languages (low-resource languages). A multilingual foundation model addresses this by learning a shared representation from many languages at once and transferring knowledge to data-poor languages, enabling zero-shot and few-shot transfer without building a per-language model.

Components

Shared subword vocabularyTokenizes text in all languages into a shared token space

A single tokenizer (BPE/SentencePiece/WordPiece) trained on a multilingual corpus; sharing word pieces and scripts across languages enables transfer. mBERT uses a 110k WordPiece vocabulary for 104 languages.

Official

Multilingual pretraining corpusSource of self-supervised data across many languages

A large mixture of multilingual text (e.g., Wikipedia for mBERT, CC-100/CommonCrawl for XLM-R, ROOTS for BLOOM, mC4 for mT5) with sampling that balances language proportions.

Official

Shared Transformer backboneShared parameters learning representations for all languages

A single set of Transformer weights (encoder, decoder or encoder-decoder) shared across all languages; builds the shared representation space responsible for cross-lingual transfer.

Language sampling (temperature sampling)Balances high- vs low-resource languages during training

Exponential smoothing of language proportions (alpha/temperature) upweights low-resource languages and limits high-resource dominance, mitigating data imbalance.

Official

Cross-lingual objective (optional)Strengthens cross-lingual alignment from parallel data

An optional supervised objective using parallel data, e.g., Translation Language Modeling (TLM) from XLM, where concatenated sentence pairs teach the model direct cross-lingual associations.

Official

Implementation

Implementation pitfalls
Curse of multilinguality (capacity dilution)High

At a fixed model size, adding more languages eventually degrades per-language performance — capacity is diluted across languages.

Fix:Increase model and vocabulary capacity, tune language sampling, limit the language set, or use adapters/MoE.
Tokenizer fertility / fragmentationMedium

A shared tokenizer often splits non-Latin-script text into more tokens, raising cost and hurting quality for those languages.

Fix:Larger, balanced vocabulary, byte-level BPE, and tokenizer training data representative of all scripts.
High/low-resource data imbalanceHigh

Without sampling correction, high-resource languages dominate training and low-resource ones are undertrained.

Fix:Exponential smoothing (temperature/alpha sampling), upsampling low-resource data, and corpus curation.
Gaps in multilingual evaluationMedium

Benchmarks cover a fraction of languages, making it hard to reliably assess low-resource quality and easy to overstate transfer.

Fix:Broader evaluation suites (e.g., XNLI, MLQA, FLORES), plus generative and human evaluation for low-resource languages.

Evolution

Original paper · 2019 · Guillaume Lample
Cross-lingual Language Model Pretraining
Guillaume Lample, Alexis Conneau
2018
Multilingual BERT (mBERT)
Inflection point

A single Transformer trained on Wikipedia of 104 languages with a shared 110k WordPiece vocabulary, without any cross-lingual objective; showed surprising zero-shot cross-lingual transfer.

2019
XLM — Cross-lingual LM Pretraining
Inflection point

Introduced explicit cross-lingual objectives: MLM on monolingual data and Translation Language Modeling (TLM) on parallel data, with a shared BPE vocabulary.

2020
XLM-R and the "curse of multilinguality"
Inflection point

Scaled to 100 languages over 2TB of CommonCrawl data (CC-100); named the trade-off between positive transfer and capacity dilution (curse of multilinguality). Large gains over mBERT (+14.6% on XNLI).

2021
mT5 — generative multilingual model

A multilingual variant of T5 in text-to-text format, pretrained on a Common Crawl dataset covering 101 languages; extended the paradigm to generation.

2021
Coining of "foundation model"
Inflection point

Stanford CRFM defines a foundation model as one trained on broad data at scale and adaptable to many downstream tasks — a conceptual frame that also covers multilingual models.

2022
BLOOM — open 176B multilingual LLM
Inflection point

A 176B model (BigScience) trained on the ROOTS corpus covering 46 natural and 13 programming languages; open access under the RAIL license.

2024
Aya — multilingual instruction-following model

An open model (Cohere For AI) instruction-finetuned across 101 languages, over 50% of which are lower-resourced; emphasis on underrepresented language communities.

Hyperparameters (configurable axes)

Number of languagesCritical

Number of languages in training; e.g., 104 (mBERT), 100 (XLM-R), 101 (mT5, Aya), 46 natural + 13 programming (BLOOM). More languages = broader coverage but risk of the curse of multilinguality.

Vocabulary sizeHigh

Size of the shared subword vocabulary; a larger vocabulary reduces fragmentation (fertility) for non-Latin scripts. mBERT: 110k; XLM-R: 250k.

Language sampling alphaHigh

Exponential smoothing parameter for language proportions; lower alpha upweights low-resource languages more strongly at the expense of high-resource ones.

Model sizeCritical

Number of parameters; increasing capacity mitigates the curse of multilinguality (capacity dilution) at a fixed number of languages.

Data mixtureMedium

Corpus composition: language proportions, domains, filtering quality, and any share of parallel data.

Execution paradigm

Primary mode
Dense

A multilingual foundation model is a paradigm, not a specific architecture — the execution mode reflects the most common realization (dense Transformer, all parameters active). Specific models may use MoE (e.g., sparse variants).

Activation pattern
All paths active

Parallelism

Parallelism level
Fully parallel

Pretraining multilingual foundation models requires massive parallelism (data + model + pipeline parallelism) across accelerator clusters; multilinguality does not change the parallelism profile relative to a monolingual LLM.

Scope
TrainingInferenceAcross devices

Hardware requirements

Primary

Pretraining and inference of dense multilingual Transformers benefit from mixed-precision matrix multiplication on Tensor Cores.

Good fit

Models such as mT5 were trained on TPUs; the Transformer architecture maps well onto TPU matrix units.