Neural Machine Translation Advised by Statistical Machine Translation

Xing Wang, Zhengdong Lu, Zhaopeng Tu, Hang Li, Deyi Xiong, Min Zhang

Abstract

This paper introduces a hybrid translation framework that integrates Statistical Machine Translation (SMT) recommendations directly into a Neural Machine Translation (NMT) system. By using a learned gating mechanism to blend NMT's fluency with SMT's structural adequacy, the authors achieve significant improvements in translation quality and effectively solve the "UNK" (unknown word) problem.

Introduction: The Fluency vs. Adequacy Gap

While Neural Machine Translation (NMT) has become the state-of-the-art due to its high fluency, it suffers from three major weaknesses:

  1. The Coverage Problem: NMT lacks a built-in mechanism to track which source words have been translated, often leading to "over-translation" (repeating words) or "under-translation" (skipping words).
  2. Imprecise Translation: NMT is prone to generating "hallucinations"—words that sound natural in the target language but do not reflect the actual meaning of the source.
  3. The UNK Problem: To keep computations manageable, NMT uses a fixed, modest-sized vocabulary. Rare words are replaced with a generic UNK token, which destroys the meaning of the sentence.

In contrast, Statistical Machine Translation (SMT) is excellent at coverage and handling rare words because it treats words as discrete symbols and uses explicit translation tables, though it often produces clunky, less fluent output. This paper seeks to bridge the gap by letting SMT "advise" the NMT model during both training and inference.

Proposed Architecture

The authors propose an end-to-end architecture where an NMT model is augmented by an auxiliary SMT component.

Architecture of the hybrid NMT-SMT system featuring a gating mechanism and dual classifiers.

Key Components:

  • SMT Recommendations: At each decoding step, the SMT model suggests a set of candidate words based on the current NMT state (the partial translation and attention history).
  • SMT Classifier: A small neural network scores these SMT recommendations. Traditional SMT features (like reordering and coverage) are adapted to function with NMT’s continuous attention mechanism.
  • Gating Mechanism: This is the "brain" of the hybrid. A learned gate ($\alpha_t$) dynamically decides how much weight to give the NMT's internal prediction versus the SMT's recommendation. For example, the gate might lean on SMT for a rare technical noun but trust NMT for common grammar and flow.
  • Joint Training: Unlike previous attempts that combined NMT and SMT as a post-processing step, this model is trained end-to-end. The NMT learns specifically how and when to listen to the SMT advisor.
  • UNK Replacement: During testing, if the NMT still insists on outputting an UNK token, the system automatically fills that slot with the highest-scoring SMT recommendation.

Experimental Setup

The researchers evaluated their approach on Chinese-English translation tasks using a parallel corpus from LDC containing 1.25M sentence pairs. The model was developed on NIST 2006 and tested across multiple NIST sets (2002, 2003, 2004, 2005, and 2008). Baselines included Moses (standard phrase-based SMT) and Groundhog/RNNSearch (standard NMT).

Key Results and Discussion

The hybrid model outperformed both standalone NMT and SMT systems across all test sets. As shown in the results table, the proposed model (+SMT rec, UNK Replace) achieved an average BLEU score of 34.94.

Translation performance (BLEU scores) across various NIST test sets comparing baselines to the proposed hybrid model.

This represents a +2.44 BLEU improvement over the NMT baseline and a +3.21 BLEU improvement over the SMT baseline (Moses). Simply adding SMT recommendations improved scores, but the specific "UNK Replace" strategy provided an additional jump of over 1.2 BLEU points, proving that SMT is a highly effective fallback for rare vocabulary.

Insights: The Accountant and the Poet

The paper treats NMT as a "poet" (fluent but sometimes loose with facts) and SMT as an "accountant" (precise and literal but stiff). The gating mechanism allows the system to switch roles word-by-word. By incorporating SMT's coverage vector, the NMT is forced to "remember" which parts of the source sentence it hasn't translated yet, directly addressing the under-translation issue. Crucially, the experiment showed that a fixed gate performed worse than the NMT baseline; the NMT must learn to ignore the SMT when the SMT's suggestions are irrelevant or non-fluent.

Limitations and Future Work

Running an SMT decoder alongside an NMT decoder adds significant computational overhead. The authors had to simplify the SMT component (using only 6 features) to keep it performant. Additionally, the system requires pre-training both SMT and NMT models before joint training can begin. Future directions include exploring "phraseNet" to incorporate multi-word phrases from SMT into the NMT decoder and training on larger monolingual corpora to further refine UNK replacements.

Summary updated

BibTeX
@inproceedings{wang2017neural,
  author = {Xing Wang and Zhengdong Lu and Zhaopeng Tu and Hang Li and Deyi Xiong and Min Zhang},
  title = {{Neural Machine Translation Advised by Statistical Machine Translation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10975},
}
Figure