Abstract
Multilingual Masked Language Models (MLMs) such as mBERT and XLM-R demonstrate a remarkable capacity for cross-lingual transfer, often performing well on target languages for which they have seen no parallel training data. This study investigates the structural drivers of this phenomenon by systematically isolating three linguistic properties: constituent order, hierarchical composition, and word co-occurrence. By pre-training models on syntactically manipulated versions of English and evaluating their performance on diverse target languages, we demonstrate that hierarchical composition is the primary catalyst for cross-lingual success, while specific word order and simple co-occurrence statistics play surprisingly minor roles.
Introduction
The "superpower" of multilingual models lies in their ability to generalize knowledge across languages. A model trained on English tasks can often perform zero-shot inference in languages as diverse as Hindi or Swahili. Early hypotheses attributed this to "anchor words"—shared strings like "NASA" or "Digital"—but subsequent research proved that transfer persists even when vocabularies are entirely disjoint.
This leaves a fundamental question: What commonality between languages is the model exploiting? This paper narrows the search to three structural candidates:
- Constituent Order: The linear sequence of words (e.g., Subject-Verb-Object).
- Composition: The hierarchical grouping of words into phrases and nested structures.
- Word Co-occurrence: The statistical frequency with which words appear together in a sentence, regardless of order or structure.
Methodology
To isolate these variables, the researchers employed a control variable method. They created "artificial" versions of English by modifying specific properties of the pre-training data and then measured how these modifications affected transfer to six natural target languages (Spanish, Russian, Hindi, Turkish, Thai, and Vietnamese).
Experimental Conditions
- Constituent Order Modification: Using a syntactic parser, the researchers identified specific structures (like Adjective-Noun) and flipped them (to Noun-Adjective) to match or mismatch the target language's syntax.
- Constituent Shuffle: The researchers took the parse tree of a sentence and randomly shuffled the order of "sibling" nodes. This process destroys the linear word order but preserves the hierarchical "composition"—the knowledge of which words belong together in a phrase.
- Word Shuffle: All words in a sentence were randomly shuffled. This destroys both linear order and hierarchical composition, leaving only word co-occurrence (a "bag-of-words" model).
Experimental Setup
The models were pre-trained on the entirety of Wikipedia for each respective language. Evaluation was conducted using two primary benchmarks:
- XNLI (Cross-lingual Natural Language Inference): A classification task requiring the model to determine if a premise entails or contradicts a hypothesis.
- Tatoeba: A sentence retrieval task used to measure the alignment of semantic spaces across languages.
Key Insights and Results
1. The Marginal Role of Word Order
Contrary to traditional linguistic intuition, specific word order (syntax) had a negligible impact on transfer. Modifying WALS (World Atlas of Language Structures) features in the source language resulted in less than a 1% change in XNLI performance. The model appears indifferent to whether the source language is SVO (Subject-Verb-Object) and the target is SOV.
2. Composition as the Primary Driver
The study's most significant finding is the "Composition Gap." When hierarchical groupings were preserved but word order was destroyed (Constituent Shuffle), performance remained remarkably robust. However, when those groupings were removed (Word Shuffle), performance collapsed.
- XNLI Accuracy: The original language model achieved ~78% accuracy. The Constituent Shuffle model only dropped slightly to ~76%. In contrast, the Word Shuffle model crashed to ~39%, which is barely above the 33% random guess threshold.
- Tatoeba Retrieval: The impact was even more pronounced in retrieval tasks, where Word Shuffle performance fell from ~78% to as low as 10% in some languages.
3. The "Universal Tree" Hypothesis
These results suggest that while languages vary significantly on the surface, the method by which humans build complex ideas from simple components—composition—is a structural universal. MLMs appear uniquely adept at capturing this hierarchical structure, using it as a bridge to align meanings across different linguistic systems.
Conclusion and Limitations
This research demonstrates that hierarchical composition, rather than linear order or simple co-occurrence, is the "secret sauce" of cross-lingual transfer in MLMs. However, the authors note several areas for future study:
- Task Scope: The findings are based on classification and retrieval; it is unclear if they extend to generative tasks like translation.
- Architecture: The study focused on Masked Language Models (BERT-style). Causal Language Models (GPT-style) may rely on different structural dependencies.
Ultimately, these insights suggest that future pre-training objectives should explicitly emphasize hierarchical composition to improve the efficiency of models, particularly for low-resource languages where structural data is more critical than sheer volume.
Summary updated