Unsupervised Multilingual Alignment using Wasserstein Barycenter

Xin Lian, Kshitij Jain, Jakub Truszkowski, Pascal Poupart, Yaoliang Yu

Abstract

We study unsupervised multilingual alignment, the problem of finding word-to-word translations between multiple languages without using any parallel data. One popular strategy is to reduce multilingual alignment to the much simplified bilingual setting, by picking one of the input languages as the pivot language that we transit through. However, it is well-known that transiting through a poorly chosen pivot language (such as English) may severely degrade the translation quality, since the assumed transitive relations among all pairs of languages may not be enforced in the training process. Instead of going through a rather arbitrarily chosen pivot language, we propose to use the Wasserstein barycenter as a more informative "mean" language: it encapsulates information from all languages and minimizes all pairwise transportation costs. We evaluate our method on standard benchmarks and demonstrate state-of-the-art performances.

Introduction

Word embeddings are fundamental in modern Natural Language Processing, providing vector representations that capture semantic relationships. Aligning these embeddings across different languages—mapping "cat" in English to "chat" in French—is a critical task for cross-lingual transfer. While supervised methods rely on bilingual dictionaries, unsupervised alignment seeks to discover these mappings by exploiting the shared semantic structures across languages.

Existing multilingual alignment strategies often rely on a single "pivot" language, typically English. This approach introduces significant bias and fails to leverage the collective information present in all input languages. Furthermore, simple arithmetic averaging of distributions often "blurs" the distinct geometric features of word distributions, leading to suboptimal alignment.

Methodology: Barycenter Alignment (BA)

The proposed Barycenter Alignment (BA) method avoids the pitfalls of a physical pivot language by constructing a "virtual" pivot represented by the Wasserstein barycenter.

Optimal Transport and the Wasserstein Barycenter

The model treats each language as a probability distribution in vector space. It employs Optimal Transport (OT) and the Wasserstein metric (Earth Mover's Distance) to measure the cost of aligning these distributions. Unlike a standard L2 or arithmetic mean, which might place the average of two clusters in an empty region, the Wasserstein barycenter preserves the manifold structure and "peaks" of the input distributions.

Comparison of L2 vs. Wasserstein barycenters. The Wasserstein barycenter preserves the geometric structure and peaks of the input distributions, whereas the L2 mean blurs them.

Algorithm

The alignment is achieved through an alternating minimization process:

  1. Compute Barycenter: Fix the current language mappings and find the Wasserstein barycenter of the aligned space.
  2. Re-align Languages: Fix the barycenter and update the mapping for each language using orthogonal transformations and optimal transport couplings.

To initialize the process without a pre-existing common space, the authors utilize the Gromov-Wasserstein distance, which aligns distributions based on their internal relational structures.

Experiments and Results

The method was evaluated on two benchmarks: MUSE (6 European languages) and XLING (10 diverse languages including Finnish, Russian, and Turkish).

Quantitative Performance

On the MUSE benchmark, BA achieved an average precision of 84.24%, a significant improvement over the previous state-of-the-art (UMH) at 78.46%. The method showed statistically significant gains in 22 out of 30 language pairs.

Performance comparison on the MUSE benchmark. BA consistently outperforms baseline methods across a wide range of language pairs.

On the more challenging XLING dataset, BA demonstrated even more substantial improvements. For English-to-Hindi (en-hr) alignment, BA reached a Mean Average Precision (MAP) of 0.646, compared to 0.123 for the standard Gromov-Wasserstein (GW) approach.

Key Insights

  • Geometric Preservation: The Wasserstein barycenter maintains a distribution that resembles a natural language, unlike arithmetic means that destroy manifold structure.
  • Strength in Diversity: Including linguistically distant languages (e.g., Turkish) actually improves the alignment of core Indo-European languages by providing a more robust "universal" barycenter.
  • Handling Polysemy: The use of probabilistic couplings allows the model to better manage words with multiple meanings compared to strict 1-to-1 mappings.

Conclusion

Barycenter Alignment offers a robust, unsupervised framework for multilingual word embedding alignment. By leveraging the geometric properties of the Wasserstein barycenter, the method creates a more informative "universal language" pivot that outperforms traditional bilingual or pivot-based strategies. Future work includes scaling the method to larger vocabularies and exploring its application in zero-shot machine translation.

Summary updated

BibTeX
@inproceedings{lian2020unsupervised,
  author = {Xin Lian and Kshitij Jain and Jakub Truszkowski and Pascal Poupart and Yaoliang Yu},
  title = {{Unsupervised Multilingual Alignment using Wasserstein Barycenter}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=HrBbAo2_ZZ5},
}
Figure