[Paper Review] Decoding-History-Based Adaptive Control of Attention for Neural Machine Translation
This paper proposes Decoding-History-Based Adaptive Control of Attention (ACA), which improves neural machine translation by using a memory vector to track decoding history and dynamically control attention, reducing repetition and improving translation accuracy. Experiments show significant gains of 3.61 BLEU on Chinese-English and 1.17 BLEU on English-Vietnamese translation over strong baselines.
Attention-based sequence-to-sequence model has proved successful in Neural Machine Translation (NMT). However, the attention without consideration of decoding history, which includes the past information in the decoder and the attention mechanism, often causes much repetition. To address this problem, we propose the decoding-history-based Adaptive Control of Attention (ACA) for the NMT model. ACA learns to control the attention by keeping track of the decoding history and the current information with a memory vector, so that the model can take the translated contents and the current information into consideration. Experiments on Chinese-English translation and the English-Vietnamese translation have demonstrated that our model significantly outperforms the strong baselines. The analysis shows that our model is capable of generating translation with less repetition and higher accuracy. The code will be available at https://github.com/lancopku
Motivation & Objective
- To address the problem of attention mechanism in NMT models causing repetitive translations due to lack of awareness of past generated content.
- To improve translation quality by incorporating decoding history—specifically, past decoder states and attention alignments—into attention control.
- To develop a mechanism that makes attention more adaptive to previously generated translations, enhancing fluency and accuracy.
- To demonstrate that modeling the interaction between current input and decoding history leads to more coherent and less redundant translations.
Proposed method
- Introduces a memory vector updated from the decoder's hidden state and the previous attention vector to encode decoding history.
- Uses the memory vector to modulate the current attention mechanism, enabling it to consider past translations during source context selection.
- Modifies the attention energy computation by incorporating the memory vector into the query vector, allowing dynamic control of attention weights.
- Employs a gated mechanism to update the memory vector at each decoding step, integrating new information while preserving historical context.
- Applies the ACA mechanism within an attention-based sequence-to-sequence model using bidirectional LSTM encoders and unidirectional LSTM decoders.
- Trains the model end-to-end with standard cross-entropy loss, with ACA integrated seamlessly into the attention computation without architectural overhaul.
Experimental results
Research questions
- RQ1Can modeling the decoding history improve attention mechanism performance in neural machine translation?
- RQ2Does incorporating past decoder states and attention alignments reduce translation repetition?
- RQ3Can an adaptive attention mechanism that considers both current input and past outputs improve translation fluency and accuracy?
- RQ4How does the proposed ACA mechanism perform on long-sequence translations compared to standard attention?
Key findings
- The ACA model achieves a 3.61 BLEU point improvement over the strongest baseline on the Chinese-English translation task.
- On the English-Vietnamese translation task, the model improves by 1.17 BLEU points over the best baseline.
- The model significantly reduces repetitive phrases, such as 'the Russian capital of Moscow' appearing multiple times, as seen in the NIST 2003 example.
- Translation examples show that ACA generates more accurate and coherent outputs, correctly reordering complex structures like names and adverbial phrases.
- The model maintains consistent performance gains across varying sequence lengths, outperforming the baseline especially on longer sentences.
- Ablation studies confirm that the memory vector and adaptive control mechanism are essential for performance gains, with ablation reducing BLEU scores by over 2 points.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.