Skip to main content
QUICK REVIEW

[Paper Review] Neural Machine Translation with Recurrent Attention Modeling

Zichao Yang, Zhiting Hu|arXiv (Cornell University)|Jul 18, 2016
Natural Language Processing TechniquesComputer Science13 references14 citations
TL;DR

This paper proposes a recurrent attention mechanism that models dependencies between previous and subsequent attention decisions in neural machine translation by using a separate RNN per source word to summarize attention history. By incorporating this dynamic memory into the attention computation, the model improves translation quality by up to 1.5 BLEU points on Chinese-English and 0.7 BLEU points on English-German, outperforming prior attentive models and state-of-the-art baselines.

ABSTRACT

Knowing which words have been attended to in previous time steps while generating a translation is a rich source of information for predicting what words will be attended to in the future. We improve upon the attention model of Bahdanau et al. (2014) by explicitly modeling the relationship between previous and subsequent attention levels for each word using one recurrent network per input word. This architecture easily captures informative features, such as fertility and regularities in relative distortion. In experiments, we show our parameterization of attention improves translation quality.

Motivation & Objective

  • To improve neural machine translation by explicitly modeling dependencies between attention decisions across time steps.
  • To address the limitation of existing attention mechanisms that treat each attention step independently, ignoring historical alignment patterns.
  • To capture structural regularities such as fertility and relative distortion in word alignments through a recurrent modeling of attention history.
  • To develop a method that handles variable-length source sentences while learning long-range coverage and ordering constraints.
  • To outperform standard attention-based NMT models and prior state-of-the-art systems on benchmark translation tasks.

Proposed method

  • For each source word, a separate recurrent network summarizes the attention history within a fixed-size window of previous alignment decisions.
  • The hidden state of this RNN, representing the attention history, is concatenated with the source word's context vector to form a dynamic memory representation.
  • This dynamic memory is used alongside the static context vector in the attention mechanism to compute attention weights for the current target word.
  • The attention mechanism uses content-based addressing with a compatibility function involving a tanh non-linearity and a softmax normalization.
  • The decoder uses an LSTM with a context vector computed as a weighted sum of source annotations, where weights are determined by the compatibility function.
  • The model is trained via stochastic gradient descent with learning rate decay and gradient clipping, and includes an UNK replacement strategy to improve OOV handling.

Experimental results

Research questions

  • RQ1Can modeling the sequential dependencies between attention decisions improve neural machine translation performance?
  • RQ2How does incorporating historical attention patterns affect translation quality compared to independent attention mechanisms?
  • RQ3What is the impact of varying the size of the attention history window on translation performance?
  • RQ4Can the proposed method better capture linguistic regularities such as word fertility and relative distortion in alignments?
  • RQ5Does the model outperform strong baselines like RNNSearch and four-layer LSTM with attention on standard MT benchmarks?

Key findings

  • The proposed model improves BLEU scores by 0.7 points on the English-German newstest2015 set compared to the baseline RNNSearch model.
  • Using a window size of 11 for attention history leads to a 1.5 BLEU point improvement on the Chinese-English test set, compared to the baseline.
  • The combination of the proposed attention mechanism and UNK replacement boosts performance to 25.0 BLEU on English-German, outperforming prior state-of-the-art models by 0.8 BLEU points.
  • The model achieves a 29.3 BLEU score on the Chinese-English MT05 test set, surpassing the best reported result by 1.6 BLEU points.
  • The improvement is more pronounced on Chinese-English than on English-German, likely due to fewer shared vocabulary items between source and target languages.
  • Experiments show that modeling attention history via RNNs is more effective than indirect modeling through hidden states or coverage-only approaches.

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.