Deep Multilingual Correlation for Improved Word Embeddings

Ang Lu, Weiran Wang, Mohit Bansal, Kevin Gimpel, Karen LivescuNAACL 2015

TL;DR

This paper introduces Deep Canonical Correlation Analysis (DCCA) to learn richer word embeddings by leveraging parallel text from two languages. By learning non-linear relationships between word representations, DCCA significantly improves performance on word and bigram similarity tasks compared to monolingual embeddings and traditional linear CCA.

What Problem Does This Paper Address?

Word embeddings, which represent words as dense vectors, are crucial for many Natural Language Processing (NLP) tasks. While these embeddings capture semantic relationships based on word context, incorporating information from multiple languages can potentially enhance their quality. Previous work explored using Canonical Correlation Analysis (CCA) to find linear correlations between word embeddings from different languages, showing improvements. However, this linear approach might miss more complex, non-linear relationships between languages. This paper aims to bridge this gap by exploring deep, non-linear transformations to better capture these multilingual semantic connections.

Methods

The core of this paper is the application of Deep Canonical Correlation Analysis (DCCA), a technique that extends traditional CCA by using deep neural networks.

  • Canonical Correlation Analysis (CCA): The standard CCA aims to find linear projections (vectors u and v) for two sets of data (word embeddings from two languages, x and y) such that the projected data is maximally correlated. This is achieved by optimizing a correlation objective function involving covariance matrices.
  • Deep Canonical Correlation Analysis (DCCA): DCCA enhances CCA by replacing the linear projections with deep neural networks (f and g). These networks learn non-linear transformations of the input embeddings. The objective is then to maximize the correlation between the outputs of these deep networks. This allows for capturing more complex, non-linear relationships. The optimization is done using gradient-based methods, specifically mini-batch stochastic gradient descent in this work.

The authors train these DCCA models on parallel English-German word pairs and then apply the learned transformations to monolingual English word embeddings.

Datasets

  • Training Data: 36,000 German-English translation pairs. These pairs were obtained using a word aligner on the WMT06-10 news commentary corpora and Europarl. For each English word type, the most frequently aligned German word was used.
  • Evaluation Datasets:
    • Word Similarity:
      • WordSim-353 (WS-SIM and WS-REL): Contains 353 English word pairs with human similarity and relatedness ratings.
  • SimLex-999: A newer dataset with 666 noun, 222 verb, and 111 adjective pairs, focusing on semantic similarity.
  • Bigram Similarity: * Mitchell and Lapata (2010) dataset: Includes three subsets (adjective-noun, noun-noun, verb-object) with human ratings for bigram similarity. For bigram vectors, the authors simply add the constituent word vectors.

Key Insights and Ideas

  • Non-linearity Matters: The most significant insight is that learning non-linear transformations between multilingual word embeddings (via DCCA) yields substantially better results than linear transformations (via CCA). This suggests that the semantic relationships between languages are not always captured by simple linear mappings.
  • Deeper Representations, Better Similarity: DCCA embeddings consistently outperform both original monolingual embeddings and linear CCA embeddings across various word and bigram similarity tasks. This highlights the power of deep learning in extracting richer semantic information.
  • Tuning Criteria Impact: The paper explores two tuning criteria for DCCA (BestAvg and MostBeat). While both perform well, they show that different criteria can lead to better performance on different tasks, suggesting that the choice of tuning strategy can be important for generalization.
  • Multilingualism for Paraphrase: The authors observe that bilingual information, especially when learned through DCCA, encourages paraphrase-like similarity and discourages hypernym-hyponym (e.g., "dog" and "animal") similarity. This is attributed to the use of the most frequent translation alignment, which likely focuses on the most common sense of a word.
  • Improved Synonym/Antonym Separation: Visualizations suggest that DCCA embeddings provide a clearer separation between synonyms and antonyms compared to monolingual or linear CCA embeddings.

Key Results

  • Overall Improvement: DCCA embeddings consistently improved performance on word and bigram similarity tasks. For example, on WS-353, DCCA achieved correlations in the high 60s to low 70s, compared to around 46.7 for original vectors and 67.5 for linear CCA ensembles.
  • Specific Task Gains: DCCA showed notable improvements on WS-SIM, WS-REL, and SimLex-999. For bigram tasks, DCCA also outperformed CCA, especially when tuned on bigram development sets.
  • NN Task Anomaly: The noun-noun (NN) bigram task did not show improvement. The authors attribute this to higher annotation variance and potential topical rather than functional similarity in the NN annotations.
  • Network Architectures: The best-performing DCCA networks were often asymmetric, with varying numbers of layers for English and German views.

Limitations and Future Work

  • Normalization Sensitivity: The authors note that cosine similarity is sensitive to affine transformations. They found that simply removing the standard deviation from the training set significantly improved original vector performance, suggesting that learned similarity functions might be more robust.
  • NN Task Performance: The lack of improvement on the NN task is acknowledged, potentially due to annotation noise or the nature of the similarity being measured.
  • Future Directions:
    • Compare DCCA with other non-linear approaches.
  • Explore different language pairs as multiview contexts.
  • Extend the approach to aligned phrase pairs.
  • Investigate methods for handling unaligned data.

Summary updated

BibTeX
@inproceedings{lu2015deep,
  author = {Ang Lu and Weiran Wang and Mohit Bansal and Kevin Gimpel and Karen Livescu},
  title = {{Deep Multilingual Correlation for Improved Word Embeddings}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2015},
  url = {https://openreview.net/forum?id=HJWwsm-_bH},
}
Figure