[Paper Review] A Study of Cross-Lingual Ability and Language-specific Information in Multilingual BERT
This paper investigates cross-lingual transfer in multilingual BERT (m-BERT), demonstrating that large-scale pretraining data and long context windows are critical for cross-lingual alignment. It proposes a simple, computationally efficient method—mean difference shift (MDS)—to disentangle language-specific representations, improving zero-shot cross-lingual transfer without fine-tuning, and achieves unsupervised token translation by manipulating latent representations.
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. We also observe the language-specific information in multilingual BERT. By manipulating the latent representations, we can control the output languages of multilingual BERT, and achieve unsupervised token translation. We further show that based on the observation, there is a computationally cheap but effective approach to improve the cross-lingual ability of multilingual BERT.
Motivation & Objective
- To understand the role of data size and context window length in m-BERT’s cross-lingual transfer performance.
- To investigate whether language-specific information persists in m-BERT’s latent representations despite its cross-lingual capabilities.
- To develop a method for controlling m-BERT’s output language by manipulating latent representations.
- To improve zero-shot cross-lingual transfer performance using language-specific representation disentanglement.
- To demonstrate that a simple, efficient method can enhance m-BERT’s cross-lingual transfer without additional training or parallel data.
Proposed method
- Compared m-BERT’s cross-lingual performance against non-contextualized word embeddings using the same training data.
- Evaluated the impact of varying training data size and context window length on cross-lingual alignment and transferability.
- Proposed mean difference shift (MDS), a technique that adds a fixed language-specific vector to all hidden representations to control output language.
- Applied MDS to the last few layers of m-BERT, where language-specific information is most prominent, to improve zero-shot transfer.
- Used MDS to enable unsupervised token translation by shifting representations to align with target language semantics.
- Fine-tuned m-BERT on English XNLI data while freezing early layers, then applied MDS to hidden states before final classification layers.
Experimental results
Research questions
- RQ1How do data size and context window length affect m-BERT’s cross-lingual transfer performance?
- RQ2To what extent is language-specific information preserved in m-BERT’s latent representations?
- RQ3Can language-specific representations be isolated and manipulated to control m-BERT’s output language?
- RQ4Can a simple, parameter-free method like MDS improve zero-shot cross-lingual transfer in m-BERT?
- RQ5Does MDS improve performance on downstream cross-lingual tasks like XNLI without fine-tuning?
Key findings
- Larger training data and longer context windows significantly improve m-BERT’s cross-lingual alignment and transfer performance.
- Language-specific information remains encoded in m-BERT’s representations, particularly in the final layers, enabling control over output language via MDS.
- Applying MDS with a shifting weight of α=3.0 to the last few layers improved BLEU-1 scores for most languages in unsupervised translation, especially in the 10th and 11th layers.
- On the XNLI test set, MDS improved average accuracy from 58.00% to 62.24% when using optimal α values per language, with gains observed across most languages except Spanish and French.
- The improvement from MDS was most effective when applied to the last few layers, consistent with prior findings that these layers encode more language-specific information.
- MDS did not improve performance for Spanish and French, likely due to high subword overlap with English, suggesting that a more nuanced, vocabulary-aware shift mechanism may be needed.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.