Skip to main content
QUICK REVIEW

[Paper Review] Neural Phrase-to-Phrase Machine Translation

Jiangtao Feng, Lingpeng Kong|arXiv (Cornell University)|Nov 6, 2018
Natural Language Processing TechniquesComputer Science26 references9 citations
TL;DR

This paper proposes Neural Phrase-to-Phrase Machine Translation (NP²MT), a neural machine translation model that uses a phrase-level attention mechanism to enable direct phrase-to-phrase alignment between source and target sentences, improving translation robustness in out-of-vocabulary and cross-domain settings. By integrating an external phrase dictionary during decoding, NP²MT achieves significant BLEU gains—especially in low-resource and domain-shift scenarios—outperforming Transformer models by up to +1.25 BLEU on cross-domain translation tasks.

ABSTRACT

In this paper, we propose Neural Phrase-to-Phrase Machine Translation (NP$^2$MT). Our model uses a phrase attention mechanism to discover relevant input (source) segments that are used by a decoder to generate output (target) phrases. We also design an efficient dynamic programming algorithm to decode segments that allows the model to be trained faster than the existing neural phrase-based machine translation method by Huang et al. (2018). Furthermore, our method can naturally integrate with external phrase dictionaries during decoding. Empirical experiments show that our method achieves comparable performance with the state-of-the art methods on benchmark datasets. However, when the training and testing data are from different distributions or domains, our method performs better.

Motivation & Objective

  • To address the limitations of standard neural machine translation in handling out-of-vocabulary (OOV) words and domain shifts.
  • To incorporate linguistic inductive bias from phrase structures into end-to-end neural translation models.
  • To enable efficient decoding with external phrase dictionaries without relying on monotonic alignment constraints.
  • To improve translation robustness in low-resource and cross-domain settings through structured phrase-level modeling.

Proposed method

  • The model uses a dual-encoder architecture: a sentence-level bidirectional LSTM and a phrase-level encoder that independently encodes all possible source segments up to length L.
  • Phrase-level attention is computed between target-side hidden states and all source phrase representations, enabling direct alignment of source phrases to target phrases.
  • A dynamic programming decoding algorithm is designed to efficiently generate phrase segments while avoiding the computational cost of monotonic alignment in prior models.
  • An external phrase-to-phrase dictionary is integrated during decoding via a lookup mechanism that replaces OOV words or phrases with dictionary-matched translations.
  • The segment decoder uses a Transformer architecture to generate target phrases conditioned on phrase-level context and attention vectors.
  • The model is trained end-to-end with cross-entropy loss, and inference leverages beam search with dictionary lookups to improve OOV handling.

Experimental results

Research questions

  • RQ1Can phrase-level attention improve neural machine translation performance in out-of-vocabulary and cross-domain settings?
  • RQ2How does integrating an external phrase dictionary during decoding affect translation quality in low-resource or domain-shifted scenarios?
  • RQ3Does a phrase-to-phrase attention mechanism reduce reliance on monotonic alignment assumptions and improve training efficiency compared to prior phrase-based NMT models?
  • RQ4Can a phrase-level attention mechanism outperform standard Transformer models in open-vocabulary translation tasks?

Key findings

  • NP²MT achieves comparable performance to state-of-the-art models on standard benchmarks such as WMT14 and IWSLT14.
  • In a simulated open-vocabulary setting, NP²MT outperforms the Transformer by +1.25 BLEU when using an external dictionary.
  • On cross-domain translation (IWSLT14 training, WMT14 testing), NP²MT with dictionary integration achieves 16.11 BLEU, a +1.25 gain over the base Transformer model.
  • The model shows superior performance on OOV words, with 12.8% OOV rate in German and 6.7% in English on the WMT14 test set, where dictionary use significantly improves results.
  • The phrase-level attention mechanism avoids the costly dynamic programming step required by monotonic alignment models, enabling faster training and decoding.
  • The integration of external phrase dictionaries during decoding is more effective in NP²MT than in standard NMT systems, particularly in domain-shifted and low-resource settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.