Phrase Table as Recommendation Memory for Neural Machine Translation

Yang Zhao, Yining Wang, Jiajun Zhang, Chengqing Zong

Neural Machine Translation (NMT) has become the standard for high-quality, fluent translation. However, it often suffers from "unfaithfulness"—a phenomenon where the model generates grammatically correct sentences that hallucinate content or ignore specific terms from the source text. This research proposes a novel solution: using a traditional Statistical Machine Translation (SMT) phrase table as a "recommendation memory" to ground NMT in faithful word choices.

Bridging the Gap Between Fluency and Faithfulness

While NMT relies on distributed vector representations to achieve superior fluency, it lacks the explicit anchoring found in traditional SMT. SMT is built on literal phrase-to-phrase mappings, making it generally more faithful but less fluent. The authors seek to combine these strengths, providing NMT with the creative power of deep learning while keeping it grounded with the reliable memory of a phrase table.

Methodology: The Recommendation Framework

The authors introduce a three-step framework to integrate SMT phrase tables into the NMT decoding process:

  1. Candidate Retrieval & Prefix Tree: For a given source sentence, the system searches a pre-computed SMT phrase table for all matching source phrases. These target phrases are then organized into a prefix tree for efficient real-time searching.
  2. Dynamic Word Recommendation: As the NMT generates a translation word-by-word, the system analyzes the "suffix" of the current partial translation. It matches this suffix against the prefix tree. If a match is found, the subsequent word in the tree is added to a "recommendation set."
  3. Bonus Integration: Rather than forcing the NMT to select a recommended word, the system calculates a bonus value. This value is determined by the NMT's current attention weights (is it looking at the relevant source phrase?) and the translation probability from the SMT table.
Overview of the recommendation memory construction process, from source sentence to prefix tree.

This bonus is integrated into the NMT’s final softmax layer, nudging the model toward faithful choices without overriding its internal linguistic logic.

Experimental Setup

The researchers evaluated their method on two major translation tasks:

  • Chinese-to-English (CH-EN): Evaluated using NIST 2003–2008 benchmarks on both small-scale (0.63M pairs) and large-scale (2.1M pairs) datasets.
  • English-to-Japanese (EN-JA): Evaluated using the Kyoto Free Translation Task (KFTT) dataset (0.44M pairs).

Key Results and Insights

The proposed method demonstrated significant improvements over strong attention-based NMT baselines and previous lexicon-based approaches:

  • BLEU Score Gains: On Chinese-English tasks, the method achieved an average improvement of 2.23 BLEU points. On English-Japanese, the improvement reached 1.96 BLEU points.
  • Phrase-Level Superiority: The method outperformed state-of-the-art lexicon-based approaches (e.g., Arthur et al., 2016), suggesting that phrases are more effective than individual words at capturing local reordering and fixed collocations.
  • Human Evaluation: In subjective tests for faithfulness (scored 0-5), human evaluators rated the proposed method at 3.33, higher than both the baseline (3.21) and lexicon-based methods (3.25).
Quantitative performance comparison (BLEU scores) across Chinese-English and English-Japanese benchmarks.

Limitations and Future Directions

While effective, the system currently relies on pre-built SMT phrase tables (e.g., via Moses), which adds preprocessing complexity. Additionally, while the prefix tree ensures fast matching, there is a minor computational overhead at each decoding step. Future work will focus on refining the bonus calculation to better balance NMT fluency with SMT-derived faithfulness.

Summary updated

BibTeX
@inproceedings{zhao2018phrase,
  author = {Yang Zhao and Yining Wang and Jiajun Zhang and Chengqing Zong},
  title = {{Phrase Table as Recommendation Memory for Neural Machine Translation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/641},
}
Figure