Multilingual Training of Crosslingual Word Embeddings

Long Duong, Hiroshi Kanayama, Tengfei Ma, Steven Bird, Trevor CohnEACL 2017 · DOI

TL;DR

This paper tackles the challenge of building unified crosslingual word embeddings for many languages, moving beyond the typical English-centric, bilingual approach. They introduce novel methods for both post-hoc combination of existing bilingual embeddings and a joint training framework that leverages monolingual data and bilingual lexicons to create a single, rich multilingual embedding space.

What Problem Does This Paper Address?

Traditional crosslingual word embeddings map words from different languages into a shared vector space, enabling crosslingual transfer learning. However, most prior work focuses on creating embeddings for only pairs of languages, with English often serving as the "pivot" language due to its abundant resources. This approach is limiting because it doesn't fully exploit the rich relationships between non-English languages (e.g., Italian and Spanish) and hinders the development of truly multilingual NLP systems. The paper aims to bridge this gap by developing methods to create high-quality, unified crosslingual word embeddings for multiple languages simultaneously, allowing for richer information sharing and transfer.

Methods

The authors propose two main categories of methods:

  • Post-hoc Unification: This approach takes pre-trained bilingual word embeddings (where one language is typically English) and maps them into a common space.
  • Linear Transformation: A simple and fast method where a linear transformation matrix is learned to align the English side of one bilingual embedding pair to match the English side of a chosen "pivot" pair. Foreign language embeddings are then transformed using this learned matrix.
  • Multilingual Joint Training: This is a more integrated approach that learns multilingual embeddings from scratch.
  • Joint Prediction (Equation 3): An extension of the CBOW model that, given a context, predicts not only the target word but also its translations in all foreign languages for which a lexicon exists. This encourages compatible embeddings across languages.
  • Joint Training with Explicit Mapping (Equation 4): This method combines the joint training approach with a regularization term that explicitly encourages the English parts of different bilingual embeddings to align. This is inspired by the linear transformation method but integrated directly into the training objective.

Datasets

  • Training Data: Tokenized monolingual data from Wikipedia dumps (specifically, the first 5 million sentences from Al-Rfou et al., 2013).
  • Lexicons: PanLex, a multilingual lexical resource covering over 1,000 language varieties.
  • Evaluation Data:
    • Bilingual Lexicon Induction (BLI): Manually constructed datasets for it-en, es-en, nl-en, and a newly constructed nl-es pair.
  • Monolingual Similarity: WordSim353 (WS-en), RareWord (RW-en), and German WordSim353 (WS-de).
  • Crosslingual Document Classification (CLDC): Multilingual RCV1/RCV2 corpus, with document labels from categories like CCAT, ECAT, GCAT, and MCAT. They extended evaluation to pairs like it→de, it→es, and en→es.

Key Insights and Ideas

  • Beyond English-Centric: The core idea is that by unifying embeddings for multiple languages, we can leverage relationships between non-English languages directly, which is not possible with traditional bilingual methods.
  • Joint Training is Powerful: The joint training approach, especially with explicit mapping, consistently outperforms post-hoc methods and many baselines, suggesting that learning embeddings together allows for better interaction and information sharing between languages.
  • Linear Transformation is Surprisingly Effective: Despite its simplicity, the linear transformation method provides competitive results, highlighting the power of aligning embedding spaces even with a basic transformation.
  • Lexicons are Key, but Not Always Necessary for English Alignment: While lexicons are crucial for establishing crosslingual links, the "explicit mapping" method in joint training can learn to align English embeddings without needing a direct lexicon for that specific alignment, sidestepping some polysemy issues.
  • Multilingual Embeddings Enable Novel Transfer: The paper demonstrates that using a less-resourced language (Italian) as a source for crosslingual transfer to another less-resourced language (Spanish) can yield better results than relying solely on English as the pivot, especially when direct bilingual resources are scarce.

Key Results

  • Bilingual Lexicon Induction (BLI): The "Joint + Mapping" model achieved state-of-the-art performance for recall at 5, outperforming existing bilingual word embeddings (BiWE) and other multilingual baselines across multiple language pairs.
  • Monolingual Similarity: The "Joint + Mapping" model achieved results comparable to the state-of-the-art bilingual embeddings, demonstrating that multilingual embeddings preserve monolingual quality.
  • Crosslingual Document Classification (CLDC): The "Joint + Mapping" model achieved competitive results, and for the it→de and de→en pairs, it achieved new state-of-the-art performance. This highlights the utility of multilingual embeddings for transfer learning, especially to low-resource languages.
  • Analogy Tasks: The paper shows examples of multilingual word analogies (e.g., "prince" in German to "princess" in Italian) that hold in their embeddings, indicating that linguistic regularities are preserved.

Limitations and Future Work

  • Linearity Assumption: The authors note that while they experimented with non-linear transformations for post-hoc unification, they did not observe significant improvements. This suggests that linear transformations might be sufficient for aligning embeddings, but it's a potential area for further exploration.
  • Coverage: While PanLex provides broad coverage, the performance can still be affected by the availability and quality of lexicons for specific language pairs.
  • Future Work: The paper implicitly suggests that further exploration of joint training methods, potentially with more complex regularization or different base models, could lead to even better multilingual embeddings. The success in crosslingual document classification also points towards applying these embeddings to a wider range of downstream NLP tasks.

Summary updated

BibTeX
@inproceedings{duong2017multilingual,
  author = {Long Duong and Hiroshi Kanayama and Tengfei Ma and Steven Bird and Trevor Cohn},
  title = {{Multilingual Training of Crosslingual Word Embeddings}},
  booktitle = {EACL},
  year = {2017},
  doi = {10.18653/v1/e17-1084},
}
Figure