Robust Unsupervised Cross-Lingual Word Embedding using Domain Flow Interpolation

Liping Tang, Zhen Li, Zhiquan Luo, Helen MengarXiv 2022 · DOI

Robust Unsupervised Cross-Lingual Word Embedding using Domain Flow Interpolation

Abstract

Unsupervised cross-lingual word embedding (CLWE) often fails when languages are "distant" (like English and Chinese) because the gap between their distributions is too large for adversarial models to bridge stably. This paper introduces Domain Flow Interpolation, a technique that creates a sequence of intermediate "pseudo-language" spaces to smoothly guide the mapping process. This approach significantly improves the robustness and accuracy of word alignments for distant language pairs, succeeding where previous state-of-the-art models frequently crashed or failed to converge.

The Challenge of Distant Languages

To perform natural language processing across different languages without massive parallel datasets, researchers use Cross-Lingual Word Embeddings (CLWE). The goal is to map word vectors from two different languages into a single shared space. While supervised methods use dictionaries, unsupervised methods rely on adversarial training (GANs).

This works well for similar languages (e.g., English to French) because their embedding spaces are nearly "isomorphic." However, for distant languages (e.g., English to Japanese), the shapes are very different. In these cases, adversarial training becomes highly unstable. The Discriminator easily "wins" early on, providing useless gradients to the Generator, which leads to a total failure to align the languages. This "Curse of Distance" is primarily an optimization problem: the loss landscape is too difficult for direct mapping to navigate.

Methodology: Domain Flow Interpolation

The authors propose a "smooth bridging" strategy inspired by Domain Flow in computer vision. Instead of forcing the model to jump directly from the Source language ($S$) to the Target language ($T$), they introduce a sequence of intermediate spaces $M^{(z)}$, where $z$ is an interpolation factor between 0 and 1.

Key components include:

  • Linear Interpolation: The mapping is defined as a mixture: $G(x, z) = z \cdot (W \cdot x) + (1 - z) \cdot x$. When $z=0$, the word stays in the source space; when $z=1$, it is fully transformed.
  • Soft Discriminator Targets: Standard GANs use binary targets. Here, the discriminator predicts the value of $1-z$. This "soft" objective prevents the discriminator from being too aggressive early on, allowing the generator to learn the transformation gradually.
  • Beta Distribution Sampling: $z$ is sampled from a Beta distribution that shifts from source-skewed to target-skewed as training progresses, acting as a natural curriculum.

Robustness and Stability

A major contribution of this work is the focus on robustness. The proposed model achieves a 100% success rate (10/10 successful runs) on several distant pairs where baselines failed 60-100% of the time.

Learning curves for en-ja alignment. The left plot shows the instability of the baseline (without domain flow), while the right plot shows the smooth convergence achieved with the proposed method.

As seen in the learning curves above, the domain flow approach stabilizes the mean cosine value between aligned words, preventing the erratic fluctuations seen in standard adversarial training.

Key Results

The model was evaluated on Bilingual Dictionary Induction (BLI) using the MUSE dataset. On distant pairs like English-Chinese (en-zh) and English-Japanese (en-ja), the baseline adversarial model (AutoEnc) failed in every single run. In contrast, the proposed model achieved successful alignments with 41.45% and 46.67% precision (P@1), respectively.

Performance comparison (P@1) on distant language pairs. Our model consistently outperforms MUSE, VecMap, and AutoEnc baselines across various distant pairs.

Even for languages where baselines did converge, the proposed model often established new state-of-the-art performance, as shown in the table above for pairs involving Hebrew (he), Turkish (tr), and Finnish (fi). In downstream tasks like XNLI, accuracy for Chinese (zh) jumped from ~34% (random guessing) to 45.44%.

Conclusion

Domain Flow Interpolation provides a robust path for unsupervised CLWE, particularly for non-isomorphic language pairs. By treating the alignment as a gradual transition through intermediate pseudo-languages, the model finds a path through the loss landscape that direct mapping cannot find. Future work may explore non-linear interpolation paths and integration with large-scale multilingual pre-trained models.

Summary updated

BibTeX
@misc{tang2022robust,
  author = {Liping Tang and Zhen Li and Zhiquan Luo and Helen Meng},
  title = {{Robust Unsupervised Cross-Lingual Word Embedding using Domain Flow Interpolation}},
  year = {2022},
  eprint = {2210.03319},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.03319},
}
Figure