Bilingual distributed phrase representations for statistical machin translation

Peyman Passban, Chris Hokamp, Qun LiuMTSummit 2015

Authors: Peyman Passban, Chris Hokamp, Qun Li
Source: Proceedings of Machine Translation Summit XV: Papers.

2015.

Introduction

In 2015, Phrase-Based Machine Translation (PBMT) was the industry standard. These systems rely on a "phrase table"—a massive lookup table of source phrases and their possible translations. Traditionally, these tables use four main features based on co-occurrence statistics (how often phrase A appears with phrase B in a training corpus).

The fundamental problem is that co-occurrence is not the same as meaning. Two phrases might appear together frequently but lack semantic equivalence, especially when taken out of context. While researchers had previously attempted to add semantic features, they were usually "dynamic," requiring on-the-fly calculations during the translation process (decoding). This is computationally expensive and requires deep changes to the translation engine's core code. The authors of this paper sought a "static" feature: a semantic similarity score that could be pre-calculated and simply added as a new column in the phrase table.

Methodology

The researchers built upon the "Paragraph Vector" (Doc2Vec) approach to create a novel bilingual context for learning embeddings.

  1. Bilingual Document Creation: They prepared a training corpus where each "document" was a mix of source/target sentences, phrase pairs extracted by alignment models, and direct word-translation pairs.
  2. Joint Embedding Space: They trained a Neural Network (NN) on this mixed corpus. Because the network sees source and target elements in the same context, it learns to map them into a shared bilingual vector space. In this space, the English word "cat" and the French word "chat" end up with very similar vector representations.
  3. The Similarity Feature: For every phrase pair $(f, e)$ already in their SMT phrase table, they fetched the corresponding vectors from their trained model and calculated the cosine similarity.
  4. Integration: This similarity score (normalized between 0 and 1) was added as a fifth feature to the phrase table. The standard SMT decoder (Moses) then used its usual tuning process (MERT) to decide how much weight to give this new "semantic" signal compared to the traditional frequency-based signals.
Architecture for learning bilingual distributed representations

Experimental Setup

The authors evaluated their approach on two distinct language pairs to test the model's robustness:

  • English–French (En–Fr): Using the Europarl v7 corpus. This represented a high-resource, linguistically similar pair.
  • English–Farsi (En–Fa): Using the TEP++ corpus (600k parallel sentences). Farsi is a low-resource, morphologically rich language with a very different structure than English, making it a more rigorous test for the model.

Key Results and Insights

The addition of the semantic similarity feature led to an average improvement of +0.56 BLEU points across all tested directions. While these numbers might seem small, in the world of SMT, a +0.5 to +0.7 BLEU gain from a single static feature is considered a substantial and statistically significant improvement.

BLEU score improvements across different language pairs

Key Insights

  • Static is Sufficient: One of the biggest takeaways is that complex dynamic features are not always necessary for gains. A simple, pre-computed similarity score provides a significant boost with almost zero added complexity at translation time.
  • Shared Space via "Bilingual Documents": Instead of training two separate vector spaces and trying to align them later, treating bilingual pairs as part of the same document naturally forces the network to find a common semantic ground.
  • Bridging the Typological Gap: The model proved effective even for English-Farsi, suggesting that distributed representations can capture underlying semantic concepts that transcend vastly different grammatical structures and alphabets.

Limitations and Future Work

The primary limitation is the static nature of the feature. Because the score is baked into the phrase table, it provides a "global" measure of how well two phrases match in general. However, it cannot assist with word sense disambiguation based on the specific sentence being translated. For example, it cannot help the system decide if "bank" refers to a financial institution or a riverbank based on the surrounding context of a specific sentence.

Future work aims to incorporate context from surrounding paragraphs to move toward a more "dynamic" but still efficient cross-lingual similarity measure.

Summary updated

BibTeX
@inproceedings{passban2015bilingual,
  author = {Peyman Passban and Chris Hokamp and Qun Liu},
  title = {{Bilingual distributed phrase representations for statistical machin translation}},
  booktitle = {MTSummit},
  year = {2015},
  url = {https://openreview.net/forum?id=h5tvq7DDTM1},
}
Figure