Abstract
In cross-lingual language models, representations for many different languages live in the same space. Here, we investigate the linguistic and non-linguistic factors affecting sentence-level alignment in cross-lingual pretrained language models for 101 languages and 5,050 language pairs. Using BERT-based LaBSE and BiLSTM-based LASER as our models, and the Bible as our corpus, we compute a task-based measure of cross-lingual alignment in the form of bitext retrieval performance, as well as four intrinsic measures of vector space alignment and isomorphism. We then examine a range of linguistic, quasi-linguistic, and training-related features as potential predictors of these alignment metrics. The results of our analyses show that word order agreement and agreement in morphological complexity are two of the strongest linguistic predictors of cross-linguality. We also note in-family training data as a stronger predictor than language-specific training data across the board. We verify some of our linguistic findings by looking at the effect of morphological segmentation on English-Inuktitut alignment, in addition to examining the effect of word order agreement on isomorphism for 66 zero-shot language pairs from a different corpus. We make the data and code for our experiments publicly available.
Introduction: The Challenge of Cross-lingual Alignment
In modern natural language processing, "polyglot" models such as LaBSE and LASER represent hundreds of languages within a single, shared vector space. Ideally, this space is "cross-lingual," meaning a sentence and its translation should occupy the same neighborhood (alignment), and the structural relationships between sentences should be preserved across languages (isomorphism). However, alignment quality varies significantly across language pairs. This paper investigates the linguistic and training-related factors that determine how effectively different languages align within these massively multilingual sentence embedding spaces.
Methodology and Experimental Setup
The researchers conducted a comprehensive study involving 101 languages and 5,050 language pairs. They evaluated two prominent models: LaBSE (Transformer-based) and LASER (BiLSTM-based), using the Bible as a superparallel corpus.
To quantify "cross-linguality," the researchers employed both task-based and intrinsic metrics:
- Bitext Retrieval (F1): A task-based measure where the model identifies the correct translation of a sentence from a pool of candidates.
- Intrinsic Isomorphism Metrics: Measures designed to compare the geometric "shapes" of different language spaces, including Gromov-Hausdorff distance and Singular Value Gap (SVG).
The study analyzed 13 potential predictors of alignment, including language family relationships, typological distances, and training data volume. Exhaustive regression searches and Analysis of Covariance (ANCOVA) were used to isolate the impact of linguistic features from the influence of training data size.
Key Insights: What Drives Alignment?
The "In-Family" Boost
A key finding is that the amount of training data available for a language family is a much stronger predictor of alignment than the data available for a specific language. This suggests that multilingual models leverage structural similarities within families to represent less-resourced languages more effectively.
Grammar and Morphology as Structural Bottlenecks
The research identifies word order agreement and morphological complexity as critical linguistic predictors. Specifically, whether a language is "polysynthetic" significantly impacts its alignment with less complex languages. Mismatches in these features hinder the model's ability to map languages into a shared, isomorphic space.
Causal Evidence from Morphological Segmentation
To test the causal impact of morphology, the authors performed a targeted experiment on English-Inuktitut alignment. By morphologically segmenting Inuktitut text to resemble English structure, the researchers observed a 5x increase in bitext retrieval performance for LaBSE, confirming that morphological mismatch is a primary barrier to cross-lingual alignment.
Key Results and Statistical Significance
The exhaustive analysis consistently highlighted in-family training data, morphological agreement, and word order agreement as the top predictors across all metrics and models.
Notably, word order agreement remained a statistically significant predictor even when controlling for training data quantities. Furthermore, shared word order improved isomorphism even for "double zero-shot" language pairs—pairs where neither language was seen by the model during training.
Conclusion
Cross-lingual alignment is deeply influenced by the linguistic structure of the languages involved. While models can leverage family-level data to bridge gaps, fundamental differences in grammar and morphology remain significant hurdles. Future work should explore more granular measures of linguistic complexity and investigate whether the massive scale of contemporary generative models eventually overcomes these typological barriers.
Summary updated