A Massively Multilingual Analysis of Cross-linguality in Shared Embedding Space

Alexander Jones, William Yang Wang, Kyle Mahowald

Abstract

Modern multilingual sentence encoders like LaBSE and LASER aim to create a shared embedding space across hundreds of languages. However, the quality of alignment in these spaces is often inconsistent. This study analyzes 101 languages and 5,050 pairs to determine the drivers of cross-lingual alignment. We find that while training data volume is a significant factor, linguistic typological features—specifically word order and morphological complexity—are independent and powerful predictors of how well a model maps different languages into a shared space.

Introduction: The Challenge of Shared Embedding Spaces

Massively multilingual models represent diverse languages in a single vector space, theoretically placing semantically similar sentences from different languages in close proximity. In practice, alignment is often uneven. This research investigates whether these discrepancies stem from training data imbalances or fundamental linguistic differences. By quantifying the impact of linguistic factors versus training-related factors, the authors aim to identify the constraints on cross-lingual transfer.

Methodology

The study evaluates two prominent sentence encoders: the Transformer-based LaBSE and the BiLSTM-based LASER. Cross-linguality is assessed through two lenses:

  1. Task-based Performance: Measured via bitext retrieval using F1 scores and a novel "Average Margin Score."
  2. Intrinsic Isomorphism: Evaluated using geometric measures such as the Gromov-Hausdorff distance, Singular Value Gap (SVG), and Effective Condition Number (ECOND-HM) to determine if language-specific embedding "clouds" share structural similarities.

Statistical drivers were identified using exhaustive feature search across 13 predictors, including language family, word order, and training data size.

Key Insights

The Role of Language Families and Word Order

A primary finding is that "in-family" data volume is a stronger predictor of performance than the data volume for a single language alone. This indicates that multilingual models effectively leverage cross-lingual transfer within related language groups.

Furthermore, word order significantly influences the geometric "shape" of the embedding space. Languages sharing the same basic word order (e.g., SVO) exhibit higher isomorphism, meaning their embedding spaces have more similar geometric structures.

Impact of basic word order on embedding space isomorphism (ECOND-HM) for LaBSE.

Morphological Complexity as a Barrier

Polysynthetic languages, where complex words function as entire sentences, present a significant challenge for alignment. The study demonstrates that this is a structural issue rather than just a data issue. In a case study on Inuktitut, applying morphological segmentation to break words into smaller units resulted in a 5x increase in bitext retrieval F1 scores for LaBSE, providing causal evidence that reducing morphological complexity directly improves alignment.

Key Results

Statistical analysis confirms that linguistic factors remain significant predictors even when controlling for training data volume. Regression models highlighted "same polysynthesis status" and "combined in-family sentences" as the most frequent predictors of high performance across various metrics.

Frequency of linguistic and data-related predictors across performance metrics.

Even in zero-shot scenarios—where models encounter languages not seen during training—typological similarity (especially word order) continues to drive higher isomorphism, suggesting that these models learn universal linguistic patterns that generalize beyond their training sets.

Limitations and Future Directions

The study acknowledges potential biases in the superparallel Bible corpus, which may not reflect idiomatic modern language. Additionally, a "floor effect" was observed in LASER for low-resource languages, complicating statistical trends. Future research could utilize synthetic languages to further isolate causal variables and explore whether these typological constraints persist at the word or document level.

Summary updated

BibTeX
@inproceedings{jones2021massively,
  author = {Alexander Jones and William Yang Wang and Kyle Mahowald},
  title = {{A Massively Multilingual Analysis of Cross-linguality in Shared Embedding Space}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  url = {https://openreview.net/forum?id=PkhUdyoLflx},
}
Figure