[Paper Review] Neural Machine Translation with External Phrase Memory
This paper proposes phraseNet, a neural machine translation model that integrates an external phrase memory storing bilingual phrase pairs to improve translation quality. By combining word-level and phrase-level generation via a gating mechanism, phraseNet achieves a 3.45 BLEU improvement over standard NMT on Chinese-to-English translation, demonstrating effective integration of symbolic knowledge into sequence-to-sequence models.
In this paper, we propose phraseNet, a neural machine translator with a phrase memory which stores phrase pairs in symbolic form, mined from corpus or specified by human experts. For any given source sentence, phraseNet scans the phrase memory to determine the candidate phrase pairs and integrates tagging information in the representation of source sentence accordingly. The decoder utilizes a mixture of word-generating component and phrase-generating component, with a specifically designed strategy to generate a sequence of multiple words all at once. The phraseNet not only approaches one step towards incorporating external knowledge into neural machine translation, but also makes an effort to extend the word-by-word generation mechanism of recurrent neural network. Our empirical study on Chinese-to-English translation shows that, with carefully-chosen phrase table in memory, phraseNet yields 3.45 BLEU improvement over the generic neural machine translator.
Motivation & Objective
- To integrate symbolic, human- or corpus-extracted phrase pairs into neural machine translation as external knowledge.
- To extend the standard RNN-based sequence-to-sequence generation beyond word-by-word decoding by enabling multi-word phrase generation.
- To design a differentiable, end-to-end trainable mechanism that dynamically selects and generates phrases while maintaining RNN state consistency.
- To evaluate the effectiveness of phrase memory in improving translation fluency and accuracy, especially for rare or OOV words.
- To explore whether phrase-level knowledge can outperform vocabulary expansion alone in low-resource or OOV scenarios.
Proposed method
- The model uses a phrase memory containing symbolic phrase pairs mined from parallel corpora or provided by experts.
- The encoder processes the source sentence with a bidirectional RNN, and the phrase memory is scanned to tag the source representation with relevant phrase candidates.
- The decoder employs a mixture of two modes: word-generating and phrase-generating, with a gating mechanism (phraseNet gate) or a softmax mixture (phraseNet softmax) to decide the generation type at each step.
- After generating a multi-word phrase, the decoder performs an 'idle run' to preserve RNN hidden state consistency across modes.
- The attention mechanism is adapted to incorporate phrase-level context, and the decoder uses a context vector derived from both encoded source and attention over phrase memory.
- The model is trained end-to-end using backpropagation with a cross-entropy loss function over the target vocabulary and phrase table.
Experimental results
Research questions
- RQ1Can external symbolic phrase knowledge improve neural machine translation performance beyond standard NMT architectures?
- RQ2Does a hybrid word-phrase generation mechanism outperform pure word-by-word decoding in terms of BLEU and fluency?
- RQ3How does the integration of phrase memory affect the handling of OOV (out-of-vocabulary) words?
- RQ4What is the impact of different mixture modeling strategies (gating vs. softmax) on phrase generation and overall translation quality?
- RQ5Can phraseNet generate phrases at correct positions in the output sequence, rather than just increasing n-gram overlap?
Key findings
- phraseNet gate achieves an average 3.45 BLEU improvement over the baseline RNNsearch model on Chinese-to-English translation.
- phraseNet softmax yields a 2.13 BLEU improvement over the same baseline, showing consistent but smaller gains than the gate variant.
- The model significantly outperforms RNNsearch with a 30K vocabulary (1.65 BLEU behind phraseNet gate), indicating phrase memory provides more effective knowledge than vocabulary expansion alone.
- In 4-gram BLEU evaluation, phraseNet gate achieves 16.47 average score compared to 14.97 for RNNsearch, confirming that phrases are generated in correct positions and not just increasing n-gram overlap.
- Case studies show that phraseNet gate correctly translates phrases even when source words are OOV, and maintains a balanced, flexible mode switching between word and phrase generation.
- The model demonstrates robustness in handling common phrases, sometimes generating them correctly even when the phrase mode is not selected, indicating effective word-mode fallback.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.