[Paper Review] Attention Strategies for Multi-Source Sequence-to-Sequence Learning
This paper proposes two novel attention combination strategies—flat and hierarchical—for multi-source sequence-to-sequence models, enabling explicit modeling of encoder importance. The methods outperform standard concatenation by allowing joint attention distribution learning and faster convergence, achieving competitive results on multimodal translation and automatic post-editing tasks.
Modeling attention in neural multi-source sequence-to-sequence learning remains a relatively unexplored area, despite its usefulness in tasks that incorporate multiple source languages or modalities. We propose two novel approaches to combine the outputs of attention mechanisms over each source sequence, flat and hierarchical. We compare the proposed methods with existing techniques and present results of systematic evaluation of those methods on the WMT16 Multimodal Translation and Automatic Post-editing tasks. We show that the proposed methods achieve competitive results on both tasks.
Motivation & Objective
- To address the lack of explicit modeling for varying importance of multiple input sources in multi-source sequence-to-sequence models.
- To develop interpretable attention combination strategies that reflect the distinct roles of different input modalities or sequences.
- To evaluate whether joint attention distribution learning improves performance over standard concatenation of context vectors.
- To enable compatibility with conditional GRU units in the decoder, which is not feasible with simple concatenation.
Proposed method
- Proposes flat attention combination, where attention weights are computed jointly over all encoder hidden states using shared parameters for energy computation.
- Introduces hierarchical attention combination, which first computes attention per encoder and then combines the resulting context vectors using a separate attention mechanism.
- Uses shared projection matrices for attention energy computation across encoders, with encoder-specific projection matrices for hidden state transformation.
- Adapts the sentinel gate mechanism to allow the decoder to attend to its own state, improving robustness when input information is sparse.
- Employs GRU-based decoders with conditional gating and sentinel vectors to enhance modeling flexibility.
- Applies both strategies to multimodal translation (image + caption) and automatic post-editing (source + MT output) tasks.
Experimental results
Research questions
- RQ1Can joint attention distribution learning across multiple encoders improve performance in multi-source sequence-to-sequence tasks compared to concatenation?
- RQ2Does hierarchical attention combination enable better interpretability of encoder contributions than flat attention?
- RQ3Can the proposed methods be effectively used with conditional GRU units in the decoder, unlike standard concatenation?
- RQ4How do the proposed strategies perform on real-world tasks like multimodal translation and automatic post-editing?
- RQ5Does hierarchical attention lead to faster model convergence than flat or concatenated attention?
Key findings
- The flat and hierarchical attention strategies achieved competitive performance on both the WMT16 Multimodal Translation and Automatic Post-Editing tasks.
- The hierarchical strategy showed faster learning convergence compared to other attention combination methods.
- On the APE task, the best model (hierarchical with shared projections and sentinel) achieved a HTER of 22.0 ± .7, significantly improving over the baseline (24.8).
- On the Multi30k dataset, the hierarchical model achieved a BLEU score of 32.1 ± .8, outperforming the baseline and other configurations.
- The use of shared projection matrices improved performance and generalization, especially in low-resource settings.
- The sentinel gate mechanism improved robustness, particularly when input sequences contained limited relevant information.
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.