Abstract
We present a novel technique for learning semantic representations that extends the distributional hypothesis to multilingual data and joint-space embeddings. By leveraging sentence-aligned parallel data, our models learn to align embeddings of semantically equivalent sentences across languages while maintaining distance between dissimilar ones. This approach avoids reliance on word alignments or syntactic information. We evaluate these models on cross-lingual document classification, demonstrating state-of-the-art performance and the ability to capture semantic relationships across languages through qualitative analysis.
Introduction
Traditional word embeddings are typically monolingual, failing to capture semantic relationships across different languages. Existing cross-lingual models often require expensive resources like word-level alignments or syntactic parse trees, which limits their applicability to low-resource languages. This paper addresses these limitations by proposing a method to learn a shared, multilingual semantic space using only sentence-aligned parallel data.
Methodology: Compositional Vector Models
The core of our approach is the Compositional Vector Model (CVM), which maps sentences into a shared $d$-dimensional space.
We explore two primary composition functions:
- ADD: A simple summation of word vectors (bag-of-words).
- BI: A bigram model using a non-linear activation function ($\tanh$) over adjacent word pairs to capture local context.
The model is trained using a noise-contrastive large-margin objective, minimizing the distance between parallel sentence pairs while maximizing the distance to non-parallel "noise" sentences. This framework is extended to document-level representations (DocCVM) by recursively applying the CVM to sequences of sentence vectors.
Experimental Results
We evaluated our models on the Reuters RCV1/RCV2 cross-lingual document classification task, comparing them against several baselines, including the previous state-of-the-art "I-Matrix" model.
As shown in the results, the BI+ model (trained with additional multilingual data) achieved a significant performance boost, reaching 88.1% accuracy on the English $\rightarrow$ German task. The "+" models demonstrate that joint training on multiple language pairs acts as a regularizer, improving the quality of the shared semantic space even for the original language pairs.
Qualitative Analysis and Pivoting
Beyond quantitative metrics, t-SNE visualizations confirm that the model learns semantically plausible clusters. For instance, gender-specific honorifics like "Mr. President," "Monsieur le Président," and "Herr Präsident" cluster together across languages, while their female counterparts form a distinct, parallel cluster.
Furthermore, the model exhibits "pivoting" effects: by training on English-German and English-French pairs, it learns to associate German and French concepts directly without ever seeing German-French parallel data. This suggests the model successfully abstracts meaning from surface linguistic forms.
Conclusion
Our approach provides a scalable way to build multilingual semantic spaces without the need for complex linguistic preprocessing. By treating translation as a form of semantic grounding, we can create robust, language-agnostic representations that excel in cross-lingual tasks and offer a foundation for bootstrapping NLP tools in low-resource settings.
Summary updated