Skip to main content
QUICK REVIEW

[Paper Review] A GRU-Gated Attention Model for Neural Machine Translation

Biao Zhang, Deyi Xiong|arXiv (Cornell University)|Apr 27, 2017
Natural Language Processing TechniquesComputer Science17 references27 citations
TL;DR

This paper proposes a GRU-gated attention mechanism (GAtt) for neural machine translation that enhances context vector discrimination by making source representations sensitive to decoder states. By using a GRU to combine original source annotations with previous decoder states, GAtt generates more diverse and discriminative context vectors, significantly reducing over-translation and improving translation quality on Chinese-English benchmarks compared to vanilla attention models.

ABSTRACT

Neural machine translation (NMT) heavily relies on an attention network to produce a context vector for each target word prediction. In practice, we find that context vectors for different target words are quite similar to one another and therefore are insufficient in discriminatively predicting target words. The reason for this might be that context vectors produced by the vanilla attention network are just a weighted sum of source representations that are invariant to decoder states. In this paper, we propose a novel GRU-gated attention model (GAtt) for NMT which enhances the degree of discrimination of context vectors by enabling source representations to be sensitive to the partial translation generated by the decoder. GAtt uses a gated recurrent unit (GRU) to combine two types of information: treating a source annotation vector originally produced by the bidirectional encoder as the history state while the corresponding previous decoder state as the input to the GRU. The GRU-combined information forms a new source annotation vector. In this way, we can obtain translation-sensitive source representations which are then feed into the attention network to generate discriminative context vectors. We further propose a variant that regards a source annotation vector as the current input while the previous decoder state as the history. Experiments on NIST Chinese-English translation tasks show that both GAtt-based models achieve significant improvements over the vanilla attentionbased NMT. Further analyses on attention weights and context vectors demonstrate the effectiveness of GAtt in improving the discrimination power of representations and handling the challenging issue of over-translation.

Motivation & Objective

  • To address the issue of over-translation in neural machine translation, which stems from low variance in context vectors.
  • To improve the discriminative power of context vectors in attention-based NMT by making them sensitive to the decoder's partial translation.
  • To reduce redundancy in generated translations by refining source representations using recurrent gating.
  • To propose a novel attention mechanism that dynamically adapts source representations based on decoder state, improving alignment accuracy.

Proposed method

  • Introduces a GRU-gated layer between the encoder and attention mechanism, using original source annotations as the hidden state and the previous decoder state as input.
  • The GRU combines source representations and decoder states to produce translation-sensitive source annotations that are then used in the attention mechanism.
  • Proposes a variant (GAtt-Inv) where the decoder state is treated as the hidden state and the source annotation as input, exploring different gating dynamics.
  • Uses a gated recurrent unit (GRU) to control information flow via reset and update gates, enabling dynamic modulation of source representations.
  • Generates context vectors via standard attention over the refined source representations, improving discriminative capacity.
  • Employs a residual connection-like mechanism to preserve original semantic information while allowing adaptive refinement.

Experimental results

Research questions

  • RQ1Can improving the discriminative capacity of context vectors reduce over-translation in neural machine translation?
  • RQ2How does making source representations dependent on decoder states affect attention alignment and translation quality?
  • RQ3Does the GRU-gated mechanism lead to more diverse and informative context vectors compared to vanilla attention?
  • RQ4Can the proposed GAtt model outperform standard attention-based NMT systems on low-resource or complex translation tasks like Chinese-English?
  • RQ5How does the choice of gating order (source vs. decoder as hidden state) affect model performance and generalization?

Key findings

  • GAtt-based models achieve significant improvements over vanilla attention (RNNSearch) on the NIST Chinese-English translation benchmark, with a 1.85 BLEU score gain.
  • The mean variance of context vectors across dimensions increased from 0.0057 in RNNSearch to 0.0365 in GAtt, indicating higher discriminative power.
  • The N-Gram Repetition Rate (N-GRR) for 1-gram was reduced from 19.12 (RNNSearch) to 16.79 (GAtt-Inv), showing reduced over-translation.
  • Attention weights in GAtt are more accurate and better aligned with relevant source words, as confirmed by visualization and qualitative analysis.
  • The GAtt-Inv variant outperforms standard GAtt on all n-gram repetition metrics, suggesting better generalization in handling redundancy.
  • The model’s effectiveness is validated through ablation studies showing that context vector variance and attention sharpness are directly linked to translation quality.

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.