Lost in Embedding Space: Explaining Cross-Lingual Task Performance with Eigenvalue Divergence

Haim Dubossarsky, Ivan Vulic, Roi Reichart, Anna Korhonen

Abstract

Performance in cross-lingual NLP tasks is impacted by the (dis)similarity of languages at hand: e.g., previous work has suggested there is a connection between the expected success of bilingual lexicon induction (BLI) and the assumption of (approximate) isomorphism between monolingual embedding spaces. In this work we present a large-scale study focused on the correlations between monolingual embedding space similarity and task performance, covering thousands of language pairs and four different tasks: BLI, parsing, POS tagging and MT. We hypothesize that statistics of the spectrum of each monolingual embedding space indicate how well they can be aligned. We then introduce several isomorphism measures between two embedding spaces, based on the relevant statistics of their individual spectra. We empirically show that 1) language similarity scores derived from such spectral isomorphism measures are strongly associated with performance observed in different cross-lingual tasks, and 2) our spectral-based measures consistently outperform previous standard isomorphism measures, while being computationally more tractable and easier to interpret. Finally, our measures capture complementary information to typologically driven language distance measures, and the combination of measures from the two families yields even higher task performance correlations.

Introduction

In cross-lingual NLP, the goal is often to transfer knowledge from high-resource languages to lower-resource ones by aligning their respective word embedding spaces. This process typically relies on the isomorphism assumption: the idea that embedding spaces for different languages share similar geometric structures. If two spaces are approximately isomorphic, they can be aligned via simple linear transformations.

However, quantifying this similarity effectively has remained a challenge. Existing measures are often computationally expensive or fail to correlate strongly with actual task performance. This research addresses this gap by proposing computationally tractable, theoretically grounded spectral measures to predict cross-lingual success before engaging in resource-intensive training.

Methodology

Spectral Measures

The authors propose analyzing the spectrum of the embedding matrix—specifically the singular values obtained via Singular Value Decomposition (SVD). Three primary measures are introduced:

  1. Condition Number ($\kappa$): The ratio of the largest to the smallest singular value, measuring the numerical stability of the space. High values indicate instability and sensitivity to noise.
  2. Effective Condition Number (ECOND): This utilizes "Effective Rank" (based on the entropy of the singular value distribution) to focus on significant dimensions while ignoring noisy "tail" values.
  3. Singular Value Gap (SVG): This measures the squared Euclidean distance between the log-transformed, sorted singular values of two language spaces, capturing divergences in their global geometric shapes.

Experimental Setup

The study evaluates these measures across thousands of language pairs using 300-dimensional fastText vectors. Tasks include Bilingual Lexicon Induction (BLI) across PanLex, MUSE, and GTrans datasets, as well as downstream tasks like Machine Translation (MT), Dependency Parsing (DEP), and POS Tagging (POS).

Results and Analysis

Performance in Lexicon Induction

The spectral measures consistently outperform previous state-of-the-art isomorphism measures, such as Gromov-Hausdorff (GH) distance and Isospectrality (IS). As shown in Figure 1, the proposed measures (SVG, COND-HM, ECOND-HM) show significantly higher correlations with BLI performance across all datasets. Notably, combining spectral measures with traditional linguistic distances (geographic, typological) via stepwise regression yields a Pearson correlation as high as $r = 0.91$ for the PanLex dataset.

Correlations of spectral and typological measures with BLI performance across PanLex, MUSE, and GTrans datasets.

Generalization to Downstream Tasks

The predictive power of these measures extends beyond simple lexicon induction. The Singular Value Gap (SVG) emerged as the most robust all-rounder. For Dependency Parsing, SVG achieved a correlation of $-0.79$, vastly outperforming typological distance ($-0.40$). These results, detailed in Figure 2, confirm that internal geometric stability is a primary driver of alignment potential.

Correlations of spectral and typological measures with performance in downstream tasks: Machine Translation (MT), Dependency Parsing (DEP), and POS Tagging (POS).

Key Insights

  • Internal Stability: A language's transferability is constrained by its own internal geometry. Poorly conditioned (unstable) spaces are inherently difficult to map, regardless of the target language.
  • Complementary Information: Spectral measures capture implicit geometric knowledge that explicit typological databases miss. The best results are achieved by combining both families of measures.
  • Efficiency: Unlike graph-based methods, spectral measures are computed directly from SVD, making them highly efficient for large-scale language selection.

Conclusion

This work demonstrates that the spectra of monolingual embedding spaces provide a powerful signal for predicting cross-lingual task performance. By focusing on the internal stability and global shape of these spaces, researchers can better understand the limits of cross-lingual transfer. These spectral statistics can guide hyperparameter searches or help automatically select the best source languages for transfer learning in low-resource scenarios.

Summary updated

BibTeX
@misc{dubossarsky2020lost,
  author = {Haim Dubossarsky and Ivan Vulic and Roi Reichart and Anna Korhonen},
  title = {{Lost in Embedding Space: Explaining Cross-Lingual Task Performance with Eigenvalue Divergence}},
  year = {2020},
  eprint = {2001.11136},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.11136},
}
Figure