GRI: Graph-based Relative Isomorphism of Word Embedding Spaces

Muhammad Asif Ali, Yan Hu, Jianbin Qin, Di Wang

Abstract

Automated construction of bilingual dictionaries using monolingual embedding spaces is a core challenge in machine translation. The end performance of these dictionaries relies upon the geometric similarity of individual spaces, i.e., their degree of isomorphism. Existing attempts aimed at controlling the relative isomorphism of different spaces fail to incorporate the impact of semantically related words in the training objective. To address this, we propose GRI that combines the distributional training objectives with attentive graph convolutions to unanimously consider the impact of semantically similar words required to define/compute the relative isomorphism of multiple spaces. Experimental evaluation shows that GRI outperforms the existing research by improving the average P@1 by a relative score of up to 63.6%. We release the codes for GRI at https://github.com/asif6827/GRI.

Introduction

Bilingual Lexical Induction (BLI) is the process of automatically generating bilingual dictionaries by aligning word embeddings from two different languages into a shared geometric space. This task is critical for low-resource languages where parallel corpora are scarce. Traditionally, BLI relies on the isomorphism assumption: the hypothesis that word embedding spaces across different languages share a nearly identical geometric structure.

However, in practice, this assumption often fails. Linguistic nuances, domain differences in training data, and the existence of multiple synonyms for a single concept create "shape" mismatches between embedding spaces. Standard methods often treat words as isolated points, ignoring the rich semantic neighborhoods that define a word's meaning. For instance, the English words "terrible," "horrible," and "awful" form a cluster that should ideally align with a corresponding cluster in the target language, rather than being mapped as independent, unrelated points.

Figure 1: Conceptual illustration of aligning semantic neighborhoods across languages.

Methodology: Graph-based Relative Isomorphism (GRI)

To address these structural discrepancies, we introduce GRI (Graph-based Relative Isomorphism). GRI shifts the focus from point-wise alignment to the alignment of semantic neighborhoods using graph-based representations.

Graph Construction and Convolutions

The framework begins by constructing a graph for each language where nodes represent words. Edges are established between words whose cosine similarity exceeds a predefined threshold, capturing synonymy and close semantic relations.

GRI utilizes a two-layer Graph Convolutional Network (GCN) with attentive weights. Unlike standard GCNs that learn weights during training, GRI employs "hard" attention based on pre-calculated cosine similarities. This design choice allows the model to smooth word representations by effectively aggregating information from their semantic neighbors, preserving the local topology of the embedding space.

Figure 2: The GRI architecture, integrating Skip-Gram objectives with Graph Convolutions and Isomorphism constraints.

Training Objectives

The model is optimized using a joint loss function:

  1. Distributional Loss: A skip-gram objective ensures that the fundamental semantic properties of the word embeddings are maintained.
  2. Isomorphism Loss: A geometric constraint, such as the Orthogonal Procrustes loss, is applied to force the source language's graph structure to align with the target language's graph structure.

Experimental Evaluation

We evaluated GRI on English-Bengali (bn), English-Tamil (ta), and English-Ukrainian (uk) language pairs using the MUSE dataset. Training was conducted on the Newscrawl-2020 dataset.

Key Results

GRI demonstrates significant improvements over the previous state-of-the-art (IsoVec):

  • Precision@1 (P@1) Gains: GRI achieved a relative improvement in P@1 of 63.6% for Ukrainian, 21.4% for Bengali, and 60.7% for Tamil compared to the IsoVec baseline.
  • Robustness to Domain Mismatch: When tested with English embeddings from Common Crawl against target embeddings from Newscrawl, GRI maintained high performance. Notably, it improved Tamil P@1 by 74.22% over the baseline in these mismatched scenarios.
  • Ablation and Stability: Ablation studies confirmed that the graph convolution component is vital for these gains. Furthermore, the model exhibited low variance across runs, indicating high reliability.

Conclusion

GRI represents a significant advancement in BLI by moving beyond the rigid point-wise isomorphism assumption. By leveraging attentive graph convolutions to align semantic neighborhoods, GRI achieves state-of-the-art performance, particularly in challenging low-resource and domain-mismatched settings. Future work will explore extending this framework to contextualized embeddings and addressing semantic confusion between antonyms and synonyms.

The code for GRI is available at https://github.com/asif6827/GRI.

Summary updated

Abstract

Automated construction of bilingual dictionaries using monolingual embedding spaces is a core challenge in machine translation. The end performance of these dictionaries relies upon the geometric similarity of individual spaces, i.e., their degree of isomorphism. Existing attempts aimed at controlling the relative isomorphism of different spaces fail to incorporate the impact of semantically related words in the training objective. To address this, we propose GRI that combines the distributional training objectives with attentive graph convolutions to unanimously consider the impact of semantically similar words required to define/compute the relative isomorphism of multiple spaces. Experimental evaluation shows that GRI outperforms the existing research by improving the average P@1 by a relative score of up to 63.6%. We release the codes for GRI at https://github.com/asif6827/GRI.
BibTeX
@inproceedings{ali2023gri,
  author = {Muhammad Asif Ali and Yan Hu and Jianbin Qin and Di Wang},
  title = {{GRI: Graph-based Relative Isomorphism of Word Embedding Spaces}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.756},
}
Figure