IsoVec: Controlling the Relative Isomorphism of Word Embedding Spaces

Kelly Marchisio, Neha Verma, Kevin Duh, Philipp Koehn

Abstract

The ability to extract high-quality translation dictionaries from monolingual word embedding spaces depends critically on the geometric similarity of the spaces—their degree of “isomorphism.” We address the root-cause of faulty cross-lingual mapping: that word embedding training resulted in the underlying spaces being non-isomorphic. We incorporate global measures of isomorphism directly into the skipgram loss function, successfully increasing the relative isomorphism of trained word embedding spaces and improving their ability to be mapped to a shared cross-lingual space. The result is improved bilingual lexicon induction in general data conditions, under domain mismatch, and with training algorithm dissimilarities. We release IsoVec at https://github.com/kellymarchisio/isovec.

Introduction

The success of bilingual lexicon induction (BLI) via cross-lingual word embedding mapping relies heavily on the isomorphism assumption: the notion that word embedding spaces for different languages share a similar geometric structure. In practice, however, this assumption often fails due to differences in training corpora, domains, or algorithms. When spaces are non-isomorphic, standard mapping techniques—especially unsupervised ones—frequently collapse, yielding zero translation accuracy.

While prior work has focused on post-hoc alignment of disparate spaces, IsoVec introduces a novel training paradigm that enforces geometric similarity during the embedding generation process. By incorporating global isomorphism metrics directly into the Skip-gram loss function, IsoVec produces embeddings that are inherently easier to map, even under challenging conditions like domain mismatch.

Methodology: Joint Isomorphism Loss

IsoVec modifies the standard Skip-gram with Negative Sampling (SGNS) objective by introducing a joint loss function:

$$L = (1 - \beta)L_{Skip-gram} + \beta L_{Isomorphism}$$

The $\beta$ parameter controls the trade-off between standard distributional learning and geometric alignment with a reference space.

The IsoVec training framework incorporates an isomorphism loss alongside the standard Skip-gram loss to align source and reference embedding spaces.

The authors propose five distinct isomorphism losses ($L_{ISO}$):

Supervised Losses

These methods utilize a small seed dictionary of translation pairs:

  • L2: Minimizes the Euclidean distance between known translation pairs.
  • Proc-L2: Minimizes distance after applying an optimal linear (Procrustes) transformation.
  • RSIM (Relational Similarity): Ensures the internal similarity matrix of words in the source language matches that of their translations in the reference language.

Unsupervised Losses

These methods require no parallel data:

  • RSIM-U: A variant of RSIM that calculates similarity over the most frequent words in both languages, leveraging the observation that frequent words often share similar relational structures across languages.
  • EVS-U (Eigenvector Similarity): Uses the Laplacian spectra of nearest-neighbor graphs to align the global "shape" of the spaces. To ensure differentiability, hard k-NN graphs are replaced with fully-connected weighted graphs.

Experimental Setup

The method was evaluated on mapping Bengali (bn), Ukrainian (uk), and Tamil (ta) to English (en). Training data primarily utilized newscrawl2020, with Common Crawl data used to simulate domain mismatch. Performance was measured using Precision@1 (P@1) on MUSE ground-truth bilingual dictionaries.

Results and Discussion

IsoVec consistently outperforms standard word2vec (W2V) baselines across various language pairs and supervision levels.

Comparison of Precision@1 (P@1) for standard Word2Vec (W2V) versus IsoVec (Ours) across three language pairs under Supervised (Su), Semi-supervised (Se), and Unsupervised (U) settings.

Key Insights

  • Controllable Geometry: The results demonstrate that embedding space geometry can be "coaxed" into a more useful shape without sacrificing the quality of distributional information.
  • Robustness to Domain Mismatch: In unsupervised settings where domain mismatch typically leads to total failure (0% P@1), IsoVec’s RSIM-U loss successfully recovers performance to levels comparable with in-domain training (approximately 13.5% P@1).
  • Algorithm Invariance: IsoVec effectively mitigates geometric divergences caused by using different training algorithms for source and target spaces, recovering 2.7 to 4.9 points in accuracy.
  • Computational Efficiency: L2-based losses add negligible overhead (less than 10% training time), while the more complex EVS-U loss, though slower (~2.5x), provides a robust unsupervised alternative.

Conclusion

IsoVec addresses the root cause of cross-lingual mapping failures by enforcing isomorphism during training. By making geometric similarity an explicit objective, the method significantly improves bilingual lexicon induction, particularly in low-resource and domain-mismatched scenarios. Future research may explore applying these geometric constraints to the pre-training of large-scale multilingual language models to further enhance cross-lingual transfer capabilities.

Summary updated

BibTeX
@inproceedings{marchisio2022isovec,
  author = {Kelly Marchisio and Neha Verma and Kevin Duh and Philipp Koehn},
  title = {{IsoVec: Controlling the Relative Isomorphism of Word Embedding Spaces}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  url = {https://openreview.net/forum?id=9IZhSLTN9h},
}
Figure