Abstract
Standard Neural Machine Translation (NMT) models often suffer from over-translation and under-translation due to a "read-only" attention mechanism that fails to track translation progress. This paper introduces Interactive Attention (NMTIA), a novel approach where the decoder both reads from and updates source sentence representations. By treating source annotations as a dynamic memory, the model effectively "marks off" translated content. Experimental results on Chinese-to-English tasks show that NMTIA significantly outperforms baseline models and coverage-based variants, particularly on long sentences.
Introduction
In 2016, attention-based NMT was the state-of-the-art, yet it faced a persistent challenge: the decoder frequently lost track of the "interaction history." Because source sentence representations remained static, the decoder might focus on the same source word multiple times (over-translation) or skip words entirely (under-translation). While "coverage models" attempted to address this with separate tracking vectors, the authors of this paper argue for a more integrated approach where the source representation itself evolves as a dynamic memory.
Methodology: Interactive Attention
The core of the NMTIA model is the treatment of source sentence annotations as a "memory" that the decoder interacts with via two primary operations at each time step:
- Attentive Read: Similar to standard attention, the decoder queries the source memory to identify relevant words for the current translation step.
- Attentive Write: This novel component updates the source memory using two sub-operations: FORGET, which removes information from source vectors that have already been "consumed," and UPDATE, which adds new information to reflect the current state of the translation.
By updating source representations at every step, the model maintains a history of the interaction directly within the data it reads, allowing the decoder to distinguish between translated and untranslated content more effectively than static models.
Experimental Setup
The model was evaluated on a Chinese-to-English translation task using 1.25M sentence pairs from LDC corpora. The development set was NIST 2002 (MT02), and testing was conducted on NIST 2003-2006 (MT03-MT06). Performance was measured using case-insensitive 4-gram NIST BLEU scores.
Results and Discussion
NMTIA demonstrated substantial improvements over existing systems:
- BLEU Gains: NMTIA outperformed the standard attention-based baseline (Groundhog) by an average of 4.22 BLEU points and the phrase-based Moses system by 3.94 BLEU points.
- Comparison to Coverage Models: NMTIA consistently beat state-of-the-art "coverage" variants by approximately 1.04 BLEU points, suggesting that the integrated read-write mechanism is a more powerful way to model translation history.
A significant strength of NMTIA is its robustness to sentence length. As shown in the figure above, while standard NMT performance typically degrades as sentences grow longer, NMTIA maintains higher translation quality even for sequences exceeding 40 words. Qualitative analysis further confirmed that NMTIA successfully avoids repeating phrases and preserves key technical terms that baseline models often miss.
Conclusion
Interactive Attention provides a simple yet effective way to manage translation history by transforming source annotations into a dynamic memory. While the "write" operation adds some computational complexity, the gains in translation quality and robustness—especially for long sentences—are significant. Future work may explore extending this mechanism to unbounded external memories for more complex tasks.
Summary updated