Abstract
Neural Machine Translation (NMT) has become the state-of-the-art for its fluency and handling of long-range dependencies. However, it often struggles with rare words and lacks the explicit controllability found in Phrase-Based Machine Translation (PBMT). This paper introduces a hybrid search algorithm that combines the strengths of both paradigms. By using NMT’s attention mechanism to trigger the injection of phrases from a statistical phrase table during beam search, the proposed approach achieves significant quality improvements—up to 3.1% BLEU—particularly on rare words and domain-specific terminology.
Introduction
While NMT has largely superseded PBMT, it faces two primary challenges: the "rare word" problem and a lack of interpretability/control. NMT relies on embeddings that require substantial training data, often failing on singletons. Furthermore, as a "black box," NMT makes it difficult to enforce specific translations for technical or legal terms. In contrast, PBMT allows for direct manipulation of phrase tables. This work seeks to retain NMT’s fluency while regaining the memorization and controllability of phrase-based systems through an integrated hybrid search.
Methodology: Hybrid Search Algorithm
The core innovation is a search process that integrates SMT features directly into the NMT beam search.
Log-Linear Combination
The search employs a log-linear model to combine multiple features: the NMT score, a target $n$-gram language model (LM), word/phrase penalties, and bidirectional phrase translation probabilities.
Attention-Guided Phrase Suggestion
During beam search, the algorithm monitors NMT attention weights. When attention focuses on a specific source word, the system queries a standard SMT phrase table for translations of that word or the phrase starting there. These suggestions are added as new hypotheses. To maintain NMT state consistency, the decoder scores these phrases word-by-word.
Two-Part Beam Management
To efficiently handle phrases of varying lengths, the system maintains two beams: a "word beam" for standard NMT extensions and a "phrase beam" for hypotheses undergoing multi-word phrase injection.
Experimental Setup
The approach was evaluated on two distinct tasks:
- WMT 2016 German $\rightarrow$ English: A standard news domain benchmark.
- eBay E-commerce English $\rightarrow$ Russian: A challenging real-world task involving noisy product descriptions, rare terminology, and measurement units.
Results and Discussion
The hybrid approach consistently outperformed both pure NMT and PBMT baselines.
Quantitative Performance
On the E-commerce task, the hybrid system improved BLEU scores by 1.0% to 2.3% absolute over a strong NMT baseline.
In the WMT news domain, the gains were even more pronounced, reaching up to 3.1% BLEU absolute when combined with a large News Crawl language model.
Qualitative Insights
Human analysis revealed that the hybrid search often "nudges" the model toward correct translations that were already present in the NMT's top predictions but would otherwise have been discarded. The system successfully corrected common NMT errors, such as word repetition and literal translations of idioms (e.g., correctly translating "nach und nach" as "gradually" instead of "after and after").
Conclusion and Future Work
The hybrid search effectively bridges the gap between neural and statistical translation. While it introduces additional computational complexity due to dual-beam management and external table queries, the gains in accuracy and domain adaptation are substantial. Future work will explore training NMT models to be explicitly aware of phrasal components and implementing "hard" constraints for strict terminology enforcement.
Summary updated