Multilingual BERT (mBERT)
Train one BERT on Wikipedia in 104 languages, tell it nothing about which language any sentence is in, then fine-tune it for named entity recognition on English data alone. It will tag entities in Hindi. That result is why mBERT matters.
One model, 104 languages, no translations
Multilingual BERT is a single BERT-base encoder pre-trained with masked language modeling and next-sentence prediction on Wikipedia text from 104 languages, simply concatenated. One shared WordPiece vocabulary of roughly 110,000 subwords covers all of them, with high-resource languages down-sampled and low-resource ones up-sampled so English does not dominate. There are no language id tokens and no parallel sentences anywhere — whatever ties the languages together, the model found for itself in shared subwords, shared scripts and shared structure.
Zero-shot cross-lingual transfer
Fine-tune mBERT on a labelled English task and it performs that task in languages it never saw labelled. This is the practical answer when annotation exists in one language and users exist in forty. The transfer is uneven:
- Strongest between languages sharing a script and holding plenty of Wikipedia text.
- Weak for low-resource languages, whose words the shared vocabulary shreds into fragments.
- Limited by fixed capacity divided across 104 languages — the "curse of multilinguality".
Where it stands now
XLM-R, trained on far more Common Crawl text with a larger vocabulary, beats it across cross-lingual benchmarks, and XTREME is the suite you would measure on. mBERT remains the baseline everyone reports, loaded as bert-base-multilingual-cased in Hugging Face Transformers.
Multilingual BERT is a single BERT-base encoder pre-trained with masked language modeling on Wikipedia text from 104 languages, sharing one WordPiece vocabulary and using no parallel data and no language markers. Its value is zero-shot cross-lingual transfer: fine-tuned on a task labelled in one language, it performs that task in others. Transfer weakens for low-resource languages, where XLM-R is now the stronger choice.
Imagine someone who read encyclopedia articles in a hundred languages, with nobody ever telling them which language they were reading or what any sentence meant in another. Remarkably, they would still start to notice that certain ideas look alike across those languages.
Multilingual BERT is a program trained that way. The surprising part is what follows: teach it a job in English — spotting people's names in text, say — and it can do that job in Hindi or Finnish without ever being shown examples in those languages. For languages with little text online it is much shakier, but it opened the door to building tools for languages that have almost no labelled data.