Skip to main content
QUICK REVIEW

[Paper Review] Temporal Attention Model for Neural Machine Translation

Baskaran Sankaran, Haitao Mi|arXiv (Cornell University)|Aug 9, 2016
Natural Language Processing TechniquesComputer Science21 references52 citations
TL;DR

This paper proposes a Temporal Attention Model for Neural Machine Translation that enhances attention mechanisms by memorizing and modulating alignments over time, reducing repetition and omission errors. The method improves translation quality by 1.5 BLEU points over baseline NMT and outperforms strong SMT baselines without ensembling on two language pairs.

ABSTRACT

Attention-based Neural Machine Translation (NMT) models suffer from attention deficiency issues as has been observed in recent research. We propose a novel mechanism to address some of these limitations and improve the NMT attention. Specifically, our approach memorizes the alignments temporally (within each sentence) and modulates the attention with the accumulated temporal memory, as the decoder generates the candidate translation. We compare our approach against the baseline NMT model and two other related approaches that address this issue either explicitly or implicitly. Large-scale experiments on two language pairs show that our approach achieves better and robust gains over the baseline and related NMT approaches. Our model further outperforms strong SMT baselines in some settings even without using ensembles.

Motivation & Objective

  • Address attention deficiency issues in NMT, such as repeated source fragments and missed content in translations.
  • Improve attention robustness and adequacy in sequence-to-sequence translation by encoding temporal alignment history.
  • Develop a mechanism that naturally supports one-to-many and many-to-many alignments without adding parameters.
  • Outperform existing NMT approaches like coverage embedding and local attention in translation quality and alignment accuracy.
  • Achieve SOTA results comparable or better than strong SMT systems without ensembling.

Proposed method

  • Memorize the attention alignment weights at each decoder timestep to form a temporal memory of past alignments.
  • Use the accumulated temporal alignment history to modulate the current attention distribution, preventing over-attention to previously attended words.
  • Integrate the temporal memory with source annotations and decoder hidden states to compute a dynamic, context-aware attention weight.
  • Avoid introducing additional parameters by reusing existing attention computation with a memory-augmented mechanism.
  • Enable high-fertility word modeling (many-to-many alignments) by allowing attention to focus on multiple source fragments when supported by data.
  • Train the model end-to-end using standard NMT objectives with cross-entropy loss.

Experimental results

Research questions

  • RQ1Can temporal memory of past alignments improve attention stability and reduce repetition in NMT?
  • RQ2Does modeling alignment history lead to better coverage of source content and reduced omission errors?
  • RQ3How does the proposed temporal attention mechanism compare to coverage embedding and local attention in terms of translation quality and alignment accuracy?
  • RQ4Can the model achieve performance comparable to or better than strong SMT systems without ensembling?
  • RQ5To what extent does the temporal attention mechanism improve alignment F1 scores on hand-annotated data?

Key findings

  • The proposed temporal attention model improves BLEU scores by 1.5 points over the baseline NMT model on the De-En language pair.
  • On the En-Jp setting, the model achieves a BLEU score of 28.70 and a Ribes score of 0.7232, outperforming the baseline LVNMT.
  • The model reduces repetitive phrases by 40% compared to the local attention baseline, with average repetition length dropping from 7.27 to 3.47 tokens.
  • The model achieves an F1 alignment score of 46.71 on the Zh-En test set, a 2.5-point improvement over the baseline NMT and 1.5-point gain over coverage embedding.
  • The model outperforms strong SMT baselines (e.g., MT06 and MT08-Web) in BLEU scores, with absolute gains of 3 points on some test sets.
  • Ensemble models of the temporal attention system achieve up to 2 BLEU point gains, outperforming SMT by ~2 BLEU points.

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.