Aligning Vector-spaces with Noisy Supervised Lexicon

Noa Yehezkel Lubin, Jacob Goldberger, Yoav Goldberg

Abstract

Standard methods for aligning word embedding spaces, such as the Orthogonal Procrustes problem, rely on the assumption of a perfect training dictionary. However, real-world lexicons are often noisy, containing mistranslations or semantic shifts that can significantly degrade alignment quality. This paper introduces a noise-aware Expectation-Maximization (EM) algorithm that automatically identifies and discounts "bad" lexicon pairs during training. Our approach demonstrates increased robustness in bilingual translation tasks and provides a novel framework for tracking diachronic semantic changes in language.

Introduction

In Natural Language Processing, mapping one vector space to another—such as aligning English word embeddings with Italian ones—is a fundamental task for creating bilingual dictionaries. The standard approach utilizes a "seed lexicon" of known word pairs to find a linear transformation, typically an orthogonal rotation, that aligns the spaces.

However, real-world lexicons are rarely perfect. They often contain mistranslations, rare word senses, or "false friends." Traditional methods like Orthogonal Procrustes attempt to fit every pair in the dictionary, regardless of quality. As shown in Figure 1, even a single noisy pair can significantly "tilt" the entire alignment, leading to a "one bad apple" effect that degrades translation quality for the entire vocabulary.

Figure 1: Impact of noise on alignment. (A) Visualizing how a single noisy pair affects 2D point alignment. (B) Mean error across varying noise levels for Procrustes, Gradient-based, and the proposed Noise-aware method.

Methodology: Noise-aware Alignment

The authors propose a Noise-aware Model based on a generative framework. Instead of assuming every pair $(x, y)$ in the lexicon is a valid translation, they introduce a latent variable $z$ for each pair:

  • Aligned ($z=1$): The pair follows a Gaussian distribution centered on the transformed vector ($Qx$).
  • Noise ($z=0$): The pair follows a general background Gaussian distribution.

To optimize this model, an Expectation-Maximization (EM) algorithm is employed:

  1. E-step: Calculate the posterior probability that each pair is "clean" versus "noise" given the current mapping.
  2. M-step: Update the transformation matrix $Q$ using only the pairs weighted by their likelihood of being clean. Simultaneously, the parameters of the noise distribution are updated.

This iterative process allows the model to "self-clean" the dictionary during learning, effectively ignoring outliers that would otherwise skew the transformation.

Experimental Evaluation

The model was evaluated across synthetic data, bilingual lexicons, and diachronic embeddings.

Bilingual Translation

The researchers tested the method on standard datasets for English to Italian (En→It), German (En→De), Finnish (En→Fi), and Spanish (En→Es). As shown in Table 1, the noise-aware alignment consistently outperformed the state-of-the-art baseline (Artetxe et al., 2018b).

Table 1: Performance comparison on bilingual translation tasks. The noise-aware method achieves higher precision and faster convergence (fewer iterations) across multiple language pairs.

Beyond raw accuracy, the model proved more stable and efficient. For instance, in the English-to-Finnish task, it converged in 502 iterations compared to 988 for the baseline.

Diachronic Semantic Shift

A particularly insightful application of this framework is in historical linguistics. By aligning English embeddings from the 1900s and 1990s, words that underwent semantic shifts (e.g., "gay" or "actually") naturally appear as "noise" because their relative neighborhoods changed. By treating these shifts as noise, the model achieves a superior alignment for the stable core vocabulary. In this task, the model correctly identified 45.5% of input pairs as semantic shifts and successfully mapped the 1990s word "actually" to its 1900s equivalent "really," a mapping missed by standard Procrustes.

Conclusion

The proposed noise-aware alignment provides a robust, computationally efficient drop-in replacement for standard Procrustes methods. While the current model is constrained to linear orthogonal transformations, it effectively mitigates the impact of lexicon noise. Future work may explore extending this framework to non-linear mappings to better handle structural differences between disparate languages.

Summary updated

BibTeX
@inproceedings{lubin2019aligning,
  author = {Noa Yehezkel Lubin and Jacob Goldberger and Yoav Goldberg},
  title = {{Aligning Vector-spaces with Noisy Supervised Lexicon}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/n19-1045},
}
Figure