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 Skip-gram 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
In cross-lingual Natural Language Processing, Bilingual Lexicon Induction (BLI) serves as a foundational task: automatically generating a translation dictionary from monolingual corpora. The standard paradigm involves training two separate word embedding spaces (e.g., English and Tamil) and finding a linear transformation to align them.
This methodology hinges on the "approximate isomorphism assumption"—the hypothesis that word embedding spaces for different languages naturally develop similar geometric structures. However, this assumption is fragile. When languages are linguistically distant, or when training data varies by domain (e.g., news vs. web crawls) or algorithm, the resulting spaces become non-isomorphic. When the geometric "shapes" of these spaces do not match, linear mapping fails, often resulting in zero or near-zero translation accuracy. While previous research has attempted to mitigate this through post-processing or non-linear mappings, IsoVec addresses the root cause: the training process itself.
Methodology: Proactive Geometry Control
IsoVec modifies the standard Skip-gram with Negative Sampling (SGNS) objective. Rather than learning word co-occurrences in isolation, the model incorporates a weighted isomorphism term into the loss function:
$$\mathcal{L} = (1 - \beta)\mathcal{L}_{SG} + \beta \mathcal{L}_{ISO}$$
The hyperparameter $\beta$ allows for a controlled trade-off between fitting the local text corpus and regularizing the global geometric structure to match a reference space. The authors propose five distinct isomorphism losses categorized by their data requirements:
Supervised Losses
These methods require a small seed dictionary of known translation pairs:
- L2: Minimizes the Euclidean distance between known translation pairs.
- Proc-L2: Minimizes distance after applying an "optimal" Procrustes rotation.
- RSIM (Relational Similarity): Maximizes the correlation between the similarity matrices of the two spaces.
Unsupervised Losses
These methods require no dictionary, making them suitable for low-resource scenarios:
- RSIM-U: A variant of RSIM that compares the relative distances between the top 2,000 most frequent words in both languages, regardless of whether they are direct translations.
- EVS-U (Eigenvector Similarity): Compares the "spectral signatures" (eigenvalues of the Laplacian matrix) of the $k$-nearest neighbor graphs. To ensure differentiability, the authors utilize a fully-connected weighted graph instead of a hard $k$-NN graph.
Experimental Setup
The researchers evaluated IsoVec across several languages—Bengali (bn), Ukrainian (uk), Tamil (ta), and English (en)—using Newscrawl 2020 data. To test the limits of the approach, they introduced two specific "mismatch" scenarios:
- Domain Mismatch: Comparing English Common Crawl (web data) against Newscrawl (news data).
- Data-Size Mismatch: Training on significantly different volumes of text.
Evaluation was conducted using standard MUSE dictionaries, measuring Precision@1 (P@1).
Key Insights and Results
1. Robustness to Mismatch
The most striking result occurs in the "Domain Mismatch" scenario. Standard unsupervised mapping methods (like VecMap) often fail completely in these conditions, crashing to 0.0% P@1. By applying the RSIM-U loss, IsoVec acts as a geometric "safety net," recovering performance to 13.5% P@1 for Bengali-English. This demonstrates that forcing a shared relative structure—even among words that aren't translations—is sufficient to enable successful mapping.
2. Performance Gains
IsoVec consistently outperforms baseline SGNS across standard conditions. For Bengali-English, the Proc-L2+Init configuration improved P@1 from 15.2% to 16.9%. The results suggest that we do not have to accept the geometry that an algorithm "naturally" produces; we can explicitly regularize training to ensure a space is "mappable."
3. Computational Efficiency
The L2-based regularization methods are highly efficient, adding less than 10% to total training time. While the EVS-U method is more computationally intensive (~2.5x increase due to eigendecomposition), it provides a unique and powerful unsupervised signal for aligning disparate geometries.
Limitations and Future Directions
While IsoVec represents a significant step forward in geometric control, several challenges remain:
- Static Embeddings: The current implementation focuses on static word embeddings, which inherit difficulties with polysemy (words with multiple meanings).
- English-Centricity: The study primarily utilized English as the fixed reference space. Future research should explore the dynamics of non-English pairs.
- Contextualized Models: A natural progression for this work is the application of global isomorphism constraints to the fine-tuning of multilingual transformers like mBERT or XLM-R.
- Metric Sensitivity: The authors observed that existing isomorphism metrics do not always correlate perfectly with downstream BLI performance, indicating a need for more sensitive geometric evaluation tools.
Conclusion
IsoVec demonstrates that the geometric non-isomorphism of word embedding spaces is not an immutable byproduct of training data, but a factor that can be actively managed. By incorporating isomorphism directly into the loss function, IsoVec provides a robust framework for cross-lingual alignment, particularly in the challenging, mismatched data conditions common in real-world NLP.
Summary updated