TL;DR
This paper introduces a novel unsupervised approach for learning cross-lingual sentence representations using weighted matrix factorization. By extending a monolingual model to handle two languages simultaneously, they achieve competitive results on the SemEval-2016 cross-lingual STS task without relying on explicit translations or extensive parameter tuning.
What Problem Does This Paper Address?
Semantic Textual Similarity (STS) aims to measure how similar two sentences are in meaning. A significant challenge arises when comparing sentences across different languages (cross-lingual STS). Traditional methods often require translation or complex mapping between languages. This paper tackles this by proposing a method to learn shared, fixed-length vector representations for sentences in different languages directly, enabling direct comparison using cosine similarity.
Methods
The core of the proposed approach is an extension of the Weighted Matrix Factorization (WMF) model. The original WMF model learns distributed word and sentence representations by decomposing a tf-idf matrix of word occurrences in sentences into two lower-rank matrices. This paper extends WMF in two ways:
- b-WMF (Bilingual Loss Function): A global loss function is defined for both languages, aiming to factorize two matrices (one for each language) into language-specific factors and a single shared factor. This is achieved using an alternating least squares (ALS) algorithm.
- x-WMF (Monolingual Loss Functions with Shared Factor): This approach involves training a monolingual WMF model for a "pivot" language first. Then, using the parallel corpus, the learned representations are used to deterministically calculate the representations for the second language. This method is presented as more efficient and scalable.
Both methods leverage sentence-aligned corpora to learn these shared representations.
Datasets
- Monolingual Data: For the English monolingual model, a large dataset of 700K sentences was compiled from various sources including LDC's English Gigaword, English Wikipedia, the Brown Corpus, Wordnet, and Wiktionary.
- Bilingual Data: For training the bilingual models, sentence-aligned parallel corpora were used, specifically from WMT13, EuroParl (version 7), multiUN, and news commentary data. Approximately 1 million sentence pairs were used for training.
- Evaluation Data: The SemEval-2016 EN-ES cross-lingual STS shared task test data was used for evaluation.
Key Insights and Ideas
- Direct Cross-lingual Representation Learning: The paper demonstrates that it's possible to learn meaningful cross-lingual sentence representations directly from parallel corpora without explicit translation. This bypasses the need for costly translation systems.
- Shared Factor for Semantic Alignment: The key insight is using a shared factor in the matrix factorization process to enforce semantic alignment between representations of sentences from different languages.
- Scalability of x-WMF: The x-WMF approach offers a promising direction for scaling to multiple languages. By training a pivot model and then deterministically calculating representations for other languages, it becomes computationally more efficient.
- Robustness with Minimal Tuning: The proposed models achieved good performance with relatively small parallel datasets and without extensive parameter optimization, suggesting a robust methodology.
Key Results
The proposed models were evaluated on the SemEval-2016 EN-ES cross-lingual STS shared task using the Pearson Correlation Coefficient.
- The x-WMF model achieved a Pearson correlation of 0.80 on the News and Multi-Source datasets, and 0.73 on the Multi-Source dataset.
- The b-WMF model achieved a Pearson correlation of 0.78 on the News and Multi-Source datasets, and 0.72 on the Multi-Source dataset.
- These results placed the x-WMF model at rank 4 in the official SemEval evaluation.
- The paper also reports the results of the first-ranked system (UWB) for comparison, which achieved 0.86.
Limitations and Future Work
- Limitations: The paper acknowledges that the b-WMF models are trained strictly using bilingual parallel data, while the x-WMF models use English monolingual data for the pivot and parallel corpora for the second language. The performance might be sensitive to the choice of the pivot language.
- Future Work: The authors suggest that the x-WMF method can be readily extended to more than two languages. By using one trained monolingual model, representations for any number of languages can be learned quickly using sentence-aligned data. The paper also hints at the potential for further improvements by exploring different weighting schemes or factorization techniques.
Summary updated