Skip to main content
QUICK REVIEW

[Paper Review] What makes multilingual BERT multilingual?

Chi-Liang Liu, Tsung-Yuan Hsu|arXiv (Cornell University)|Oct 20, 2020
Topic ModelingComputer Science22 references7 citations
TL;DR

This paper investigates the origins of multilingual BERT's cross-lingual transfer ability by comparing contextualized BERT with non-contextualized word embeddings (GloVe, Word2Vec) under identical pretraining conditions. It finds that large-scale pretraining data and modeling long-range dependencies via attention are essential for cross-lingual alignment, while non-contextualized models fail to achieve similar performance even with the same data and context window size.

ABSTRACT

Recently, multilingual BERT works remarkably well on cross-lingual transfer tasks, superior to static non-contextualized word embeddings. In this work, we provide an in-depth experimental study to supplement the existing literature of cross-lingual ability. We compare the cross-lingual ability of non-contextualized and contextualized representation model with the same data. We found that datasize and context window size are crucial factors to the transferability.

Motivation & Objective

  • To understand the specific factors enabling multilingual BERT’s superior cross-lingual transfer performance compared to non-contextualized embeddings.
  • To isolate the impact of data size and context window length on cross-lingual alignment in multilingual models.
  • To investigate whether non-contextualized embeddings trained under the same conditions as m-BERT can achieve comparable cross-lingual ability.
  • To analyze where and how cross-lingual alignment occurs within m-BERT by part-of-speech category.

Proposed method

  • Pretrained GloVe, Word2Vec, and BERT from scratch using Wikipedia data from 15 languages, with controlled vocabulary and wordpiece tokenization.
  • Evaluated cross-lingual alignment using word retrieval with MRR (Mean Reciprocal Rank) on bilingual dictionaries from MUSE.
  • Assessed zero-shot cross-lingual transfer performance on the XNLI benchmark across 14 languages.
  • Varied pretraining data size (200k vs. 1M sentences per language) to study data scale effects.
  • Modified input sequence length to 20 tokens to simulate reduced context window and assess impact on long-range dependency modeling.
  • Analyzed alignment performance by part-of-speech (POS) tag, grouping tokens into open-class (nouns, verbs, adjectives, adverbs) and closed-class (pronouns, prepositions).

Experimental results

Research questions

  • RQ1What role does pretraining data size play in the cross-lingual ability of multilingual BERT compared to non-contextualized models?
  • RQ2How does the context window size (i.e., modeling long-range dependencies) affect cross-lingual alignment in BERT versus non-contextualized embeddings?
  • RQ3Can non-contextualized word embeddings (GloVe, Word2Vec) achieve similar cross-lingual alignment to BERT when trained on the same data and with the same context window?
  • RQ4Which part-of-speech categories exhibit the strongest cross-lingual alignment in multilingual BERT?

Key findings

  • Large pretraining data size (1M sentences per language) significantly improves cross-lingual alignment in BERT, while smaller data (200k) limits performance, even with the same model architecture.
  • Reducing the input context window to 20 tokens drastically degrades BERT’s cross-lingual performance on both word retrieval and XNLI, indicating that long-range dependency modeling is crucial.
  • Non-contextualized models (GloVe, Word2Vec) trained on the same data and context window as BERT do not achieve comparable cross-lingual alignment, demonstrating the unique contribution of contextualization.
  • BERT shows higher cross-lingual alignment for open-class POS tags (e.g., nouns, adjectives) than closed-class tags, with adjectives achieving the highest MRR scores.
  • On the XNLI zero-shot transfer task, BERT outperforms GloVe and Word2Vec across all 14 target languages, with performance strongly correlated with word retrieval MRR scores.
  • In low-data regimes (200k sentences), reducing the context window improved BERT’s alignment, suggesting that limited data may benefit from simplified long-range modeling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.