Modeling Coverage for Neural Machine Translation

Zhaopeng Tu, Zhengdong Lu, Yang Liu, Xiaohua Liu, Hang Li

Abstract

Neural Machine Translation (NMT) has achieved state-of-the-art performance but often struggles with "memory" issues, leading to over-translation (repeating words) and under-translation (skipping words). This paper introduces a coverage mechanism for NMT that tracks which parts of a source sentence have been translated. By maintaining a coverage vector that summarizes attention history, the model ensures more comprehensive and accurate translations. Experimental results on Chinese-to-English tasks show improvements of up to 1.82 BLEU points and significantly better alignment.

Introduction

In 2016, attention-based NMT models were the standard for machine translation. However, unlike traditional Statistical Machine Translation (SMT) systems that used a "coverage" checklist to track word translation, NMT models relied primarily on the current decoder state. This lack of record-keeping often resulted in two failure modes:

  1. Over-translation: The model translates the same source word multiple times.
  2. Under-translation: The model forgets to translate a word or terminates the sentence prematurely.
Figure 3: An example of over-translation in baseline NMT models, where the model gets 'stuck' and translates the same source concept multiple times (e.g., 'closed' and 'close').

This paper proposes bridging this gap by integrating the concept of coverage into the neural framework, providing the model with a form of statefulness regarding the source sentence.

Proposed Method: NMT-COVERAGE

The authors propose NMT-COVERAGE, which augments the standard attention mechanism with a coverage vector. This vector is updated at each decoding step to reflect the "attention history" of each source word.

Linguistic Coverage Model

This approach uses a scalar to track the "translated ratio" of each word. It introduces Fertility, a concept that predicts how many target words a source word should generate. For example, a single Chinese verb might naturally map to three English words. By comparing the accumulated attention to the predicted fertility, the model can decide when a word has been "fully covered."

Neural Network (NN) Based Coverage Model

A more flexible variant uses a dedicated Gated Recurrent Unit (GRU) to learn and maintain a multi-dimensional coverage vector. This allows the model to learn its own "neural language" for tracking translation progress.

Figure 4: The NN-based coverage mechanism updates the coverage vector $C_i$ using the previous state $C_{i-1}$, the previous target word $t_{i-1}$, the source context $h$, and the current attention weights $\alpha_i$.

Experimental Setup

The models were evaluated on a Chinese-to-English translation task using 1.25M sentence pairs from LDC corpora. Testing was conducted on NIST 2005, 2006, and 2008 datasets. Additionally, alignment accuracy was measured using a manually aligned dataset of 900 sentence pairs.

Key Results

  • Translation Quality: The NMT-COVERAGE model achieved a gain of up to 1.82 BLEU points over the baseline GroundHog model, a significant improvement in the field of machine translation.
  • Alignment Accuracy: The Alignment Error Rate (AER) dropped significantly, particularly with the Linguistic model, which reduced AER from 54.67 to 52.13.
  • Robustness to Sentence Length: Coverage models are notably more robust for long sentences (over 40 words), preventing the "early exit" problem where baseline models produce truncated results.
  • Efficiency: While the NN-based coverage model adds computational overhead, the quality gains are argued to outweigh the cost.

Conclusion

By "neuralizing" the symbolic concept of coverage from SMT, the authors demonstrate that linguistic intuition can significantly improve deep learning architectures. The coverage mechanism provides NMT with the necessary statefulness to avoid common translation errors, paving the way for more reliable and fluent machine translation.

Summary updated

BibTeX
@inproceedings{tu2016modeling,
  author = {Zhaopeng Tu and Zhengdong Lu and Yang Liu and Xiaohua Liu and Hang Li},
  title = {{Modeling Coverage for Neural Machine Translation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-1008},
}
Figure