Abstract
Multilingual BERT (mBERT) has become a cornerstone of cross-lingual NLP, yet the nature of its internal cross-linguistic representations remains poorly understood. This paper investigates whether mBERT induces a syntactic space that aligns with formal linguistic theory and how these learned distances influence zero-shot transfer performance. By representing grammatical relations as vector differences and employing Optimal Transport Dataset Distance (OTDD), we demonstrate that mBERT’s internal "syntactic map" closely mirrors phylogenetic and structural linguistic distances. Furthermore, we show that while these distances are primary drivers of transfer success, fine-tuning on a source language can distort this internal map, particularly for typologically distant languages.
Introduction
Pretrained multilingual models like mBERT enable zero-shot cross-lingual transfer, allowing models trained on high-resource languages (e.g., English) to be applied to lower-resource ones (e.g., Hindi). However, the success of this transfer is inconsistent across language pairs. While it is widely accepted that typological similarity plays a role, it remains unclear if mBERT’s internal representations truly reflect the structural diversity of human languages. This study seeks to determine if mBERT learns syntactic differences that align with formal linguistic formalisms and whether these learned differences can predict transfer success without the need for exhaustive experimentation.
Methodology
To analyze mBERT’s internal syntactic representations, the researchers focused on grammatical relations rather than raw word embeddings. They represented specific relations (e.g., the link between a verb and its subject) as the vector difference between a "head" word and its "dependent."
Measuring Syntactic Distance
The researchers utilized Optimal Transport Dataset Distance (OTDD) to calculate the distance between the distributions of these syntactic representations across 24 typologically diverse languages from the Universal Dependencies (UD) Treebanks (v2.8). To validate these findings, mBERT’s induced distances were compared against:
- Formal Syntactic Distance: Based on Chomsky’s Principles-and-Parameters theory.
- Phylogenetic Trees: Gold-standard language family data from Glottolog.
Predictive Modeling
A Gradient Boosting Regressor was trained to predict the syntactic distances induced by mBERT using morphosyntactic features from the World Atlas of Language Structures (WALS). This allowed the researchers to test if known linguistic properties, such as word order, could serve as proxies for the model's internal representations.
Key Insights
The Emergence of a Syntactic Map
The study found that syntactic information is not uniformly distributed across mBERT’s architecture. The 7th and 8th layers were identified as the "sweet spot" for encoding grammatical relations. In these layers, mBERT’s internal map of languages is remarkably accurate, correlating highly ($\rho = 0.80$) with formal linguistic distances. The model effectively "discovers" language families—such as Germanic and Romance—during its self-supervised pretraining phase.
The Impact of Fine-Tuning
While mBERT begins with a balanced syntactic map, the process of fine-tuning on a specific source language (e.g., English) introduces a "distortion effect." While fine-tuning helps the model learn task-specific features, it warps the representation space. This improves transfer to languages similar to the source but can degrade the model's understanding of typologically distant languages, creating a trade-off between task specialization and cross-lingual generalization.
Word Order and Transfer Success
When analyzing which features most influenced syntactic differences, word order (e.g., the relative order of Subject, Object, and Verb) emerged as the most significant factor. This confirms long-standing linguistic intuitions regarding structural divergence. Furthermore, the syntactic differences learned during pretraining are strongly predictive of transfer success; the correlation between mBERT’s internal distance and the drop in Labeled Attachment Score (LAS) during transfer was $ ho = 0.51$.
Results and Practical Utility
The regression model (REG) developed in this study, which uses WALS features to predict mBERT distances, achieved an NDCG@3 of 77.0% for selecting the optimal source language for transfer. This performance significantly outperforms standard baselines like URIEL ($d_{syn} = 71.7\%$). These results suggest that researchers can optimize cross-lingual transfer by selecting source languages based on morphosyntactic features alone, potentially bypassing the need for expensive trial-and-error across dozens of language pairs.
Limitations and Future Work
Despite its strengths, the study noted that mBERT’s performance is affected by tokenization bias. Languages with rich morphology (e.g., Turkish) or CJK characters (e.g., Chinese) often suffer because subword tokenization fragments words in ways that obscure their underlying syntactic structure. Additionally, the reliance on UD treebanks means Indo-European languages are currently overrepresented in the data.
Future research will explore multi-source transfer—using multiple languages to train a single model—and investigate how these syntactic insights apply to downstream tasks beyond dependency parsing, such as semantic role labeling or machine translation.
Summary updated