Learning Unsupervised Word Mapping by Maximizing Mean Discrepancy

Pengcheng Yang, Fuli Luo, Shuangzhi Wu, Jingjing Xu, Dongdong Zhang, Xu SunarXiv 2018

Introduction

Cross-lingual word embeddings are essential for downstream NLP tasks such as machine translation and cross-lingual transfer learning. Traditionally, these embeddings are created by aligning independently trained monolingual vector spaces using a linear transformation matrix. While supervised methods rely on bilingual dictionaries, recent research has shifted toward unsupervised alignment. However, existing unsupervised approaches—often based on Generative Adversarial Networks (GANs)—suffer from training instability, sensitivity to hyperparameters, and local optima issues due to the complex "min-max" optimization process.

This paper introduces MMD-Matching, a novel unsupervised method that aligns monolingual vector spaces by directly matching their distributions using Maximum Mean Discrepancy (MMD). By replacing adversarial training with a stable, non-parametric statistical objective, the authors achieve state-of-the-art performance that rivals supervised methods.

Methodology

The core of the proposed approach is the minimization of MMD between mapped source embeddings and target embeddings. MMD measures the distance between two distributions in a Reproducing Kernel Hilbert Space (RKHS) using the "kernel trick" (specifically, a mixture of Gaussian RBF kernels). This objective avoids the need for intermediate density estimation or the unstable alternating optimization required by GANs.

Key Technical Components

  • Orthogonal Transformation: The model constrains the mapping matrix to be orthogonal, ensuring that the geometric properties (e.g., cosine similarity) of the original monolingual spaces are preserved during alignment.
  • Compressing Network: To handle the computational weight of MMD on 300-dimensional embeddings, the authors utilize a multi-layer perceptron (MLP) to compress embeddings to 50 dimensions during training. This dimensionality reduction makes batch-based statistical estimation significantly more accurate and efficient.
  • Smart Initialization: Unsupervised alignment is highly sensitive to the starting state. The authors warm-start the mapping matrix by exploiting structural similarities between monolingual embeddings, followed by an iterative refinement process to reach the final alignment.

Experimental Results

The model was evaluated using 300-dimensional fastText embeddings on the benchmark dataset introduced by Conneau et al. (2017) for Bilingual Lexicon Induction (BLI).

As shown in the results, MMD-Matching consistently outperforms strong unsupervised baselines like MUSE. For instance, it achieves 79.93% accuracy on English-to-Spanish (EN-ES) and 78.87% on French-to-English (FR-EN). Notably, the performance is highly comparable to supervised methods, such as achieving 78.40% on English-to-French (EN-FR) compared to the supervised baseline of 78.20%.

Ablation studies further confirm the importance of the MMD objective. Removing the MMD-matching component causes the accuracy on EN-ES to drop from 79.93% to 71.60%, demonstrating that MMD is the primary driver of the improved alignment.

Discussion and Limitations

While the method provides a stable and effective alternative to adversarial training, it faces challenges with vocabulary frequency. The quality of monolingual embeddings for rare words is typically lower than for common words, which violates the "isometric assumption"—the idea that different languages share nearly identical geometric structures in their embedding spaces.

As illustrated above, there is a significant performance gap between common and rare words across all tested language pairs. Future research is needed to develop techniques that specifically improve the alignment of these low-frequency terms to enhance the overall robustness of cross-lingual mappings.

Summary updated

BibTeX
@misc{yang2018learning,
  author = {Pengcheng Yang and Fuli Luo and Shuangzhi Wu and Jingjing Xu and Dongdong Zhang and Xu Sun},
  title = {{Learning Unsupervised Word Mapping by Maximizing Mean Discrepancy}},
  year = {2018},
  eprint = {1811.00275},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.00275},
}
Figure