Skip to main content
QUICK REVIEW

[Paper Review] Emerging Cross-lingual Structure in Pretrained Language Models

Shijie Wu, Alexis Conneau|arXiv (Cornell University)|Nov 4, 2019
Topic ModelingComputer Science45 references26 citations
TL;DR

This paper demonstrates that multilingual masked language models learn cross-lingual representations primarily through parameter sharing in top Transformer layers, even without shared subwords or domain similarity. It shows monolingual BERT models from different languages can be aligned via simple linear transformations, revealing universal latent symmetries akin to word embeddings, explaining why mBERT achieves strong zero-shot transfer with minimal architectural constraints.

ABSTRACT

We study the problem of multilingual masked language modeling, i.e. the training of a single model on concatenated text from multiple languages, and present a detailed study of several factors that influence why these models are so effective for cross-lingual transfer. We show, contrary to what was previously hypothesized, that transfer is possible even when there is no shared vocabulary across the monolingual corpora and also when the text comes from very different domains. The only requirement is that there are some shared parameters in the top layers of the multi-lingual encoder. To better understand this result, we also show that representations from independently trained models in different languages can be aligned post-hoc quite effectively, strongly suggesting that, much like for non-contextual word embeddings, there are universal latent symmetries in the learned embedding spaces. For multilingual masked language modeling, these symmetries seem to be automatically discovered and aligned during the joint training process.

Motivation & Objective

  • To investigate the key factors enabling cross-lingual transfer in multilingual masked language models.
  • To determine whether shared vocabulary or domain similarity is necessary for effective cross-lingual representation learning.
  • To examine whether monolingual BERT models trained independently in different languages still exhibit structural similarity.
  • To evaluate the effectiveness of linear alignment techniques for mapping representations across languages.
  • To understand the role of parameter sharing and architectural design in emergent multilingual representation learning.

Proposed method

  • Conduct ablation studies on bilingual BERT models with varying levels of shared vocabulary, shared subword tokenization, and domain overlap to isolate key factors in cross-lingual transfer.
  • Train monolingual BERT models independently in multiple languages and apply Procrustes alignment to assess similarity of their hidden representations.
  • Use centered kernel alignment (CKA) to measure neural network similarity between monolingual and bilingual models across all transformer layers.
  • Create synthetic code-switched corpora using bilingual dictionaries to generate artificial anchor points for distantly related languages.
  • Apply linear mapping techniques to align embedding spaces of monolingual BERT models at both subword and contextual representation levels.
  • Evaluate alignment performance on zero-shot cross-lingual transfer tasks and parallel sentence retrieval using limited parallel data.

Experimental results

Research questions

  • RQ1What factors are most critical for cross-lingual transfer in multilingual masked language models—shared vocabulary, domain similarity, or parameter sharing?
  • RQ2Can monolingual BERT models trained in isolation still learn similar representations across languages, even without any shared parameters?
  • RQ3To what extent can representations from monolingual BERT models be aligned using simple linear transformations, and how effective is this alignment for cross-lingual transfer?
  • RQ4How does the similarity of representations vary across different layers of the Transformer encoder, and does this vary with language distance?
  • RQ5Can synthetic code-switched data improve cross-lingual alignment, especially for distantly related languages?

Key findings

  • Parameter sharing in the top layers of the multilingual encoder is the primary driver of cross-lingual representation learning, with performance remaining strong even when no subwords are shared between languages.
  • Cross-lingual transfer is effective even without shared vocabulary or domain similarity, indicating that shared parameters alone enable meaningful alignment of representations.
  • Monolingual BERT models from different languages exhibit high structural similarity, as evidenced by strong alignment performance using linear mapping—achieving over 90% accuracy on parallel sentence retrieval with only 10,000 parallel sentences.
  • The early layers of multilingual BERT models show higher CKA similarity across languages than later layers, suggesting that low-level features are more universally shared.
  • CKA similarity correlates strongly (r > 0.9) with alignment performance, confirming that neural network similarity metrics can reliably predict cross-lingual transfer effectiveness.
  • The similarity gap between monolingual and bilingual models decreases for more distantly related languages, indicating that joint training provides less benefit for language pairs with greater linguistic distance.

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.