[Paper Review] Doubly-Attentive Decoder for Multi-modal Neural Machine Translation
This paper proposes a doubly-attentive decoder for multi-modal neural machine translation that independently attends to source-language words and spatial visual features using two separate attention mechanisms. The model achieves state-of-the-art results on the Multi30k dataset by effectively fusing visual and textual information during decoding, outperforming both text-only and prior multi-modal NMT models.
We introduce a Multi-modal Neural Machine Translation model in which a doubly-attentive decoder naturally incorporates spatial visual features obtained using pre-trained convolutional neural networks, bridging the gap between image description and translation. Our decoder learns to attend to source-language words and parts of an image independently by means of two separate attention mechanisms as it generates words in the target language. We find that our model can efficiently exploit not just back-translated in-domain multi-modal data but also large general-domain text-only MT corpora. We also report state-of-the-art results on the Multi30k data set.
Motivation & Objective
- To address the limited effectiveness of prior multi-modal NMT models that use spatial visual features, which often fail to outperform models using only textual or global visual features.
- To design a joint, end-to-end trainable decoder that applies two independent attention mechanisms—one over source words and another over spatial image regions—during target sequence generation.
- To investigate whether combining in-domain multi-modal data with large-scale text-only MT corpora improves model generalization and performance in multi-modal translation.
- To demonstrate that spatial visual features, when properly integrated via dual attention, can significantly enhance translation quality in image-conditional translation tasks.
Proposed method
- The model employs a bi-directional GRU encoder to produce contextualized source sentence representations from the input sentence.
- A doubly-attentive decoder uses two distinct attention mechanisms: one over the source word annotations and another over spatial visual features extracted from a pre-trained CNN (e.g., VGG19) applied to the image.
- The decoder's hidden state is conditioned on both a context vector from the source words and a context vector from the image regions, computed via separate attention networks.
- The final output distribution is computed using a soft attention mechanism that combines the decoder’s hidden state with both context vectors through learned transformation matrices.
- The entire model is trained end-to-end using cross-entropy loss, with attention weights dynamically updated per decoding step based on alignment between target words and source modalities.
- The model is pre-trained on a medium-sized, back-translated in-domain multi-modal dataset and further fine-tuned on large-scale general-domain text-only MT corpora.
Experimental results
Research questions
- RQ1Can a dual-attention mechanism that separately attends to source words and image regions improve multi-modal neural machine translation beyond models using only global visual features or text-only inputs?
- RQ2Does the integration of spatial visual features via independent attention mechanisms lead to measurable gains in translation quality on image-conditional translation benchmarks?
- RQ3Can a model pre-trained on in-domain multi-modal data and fine-tuned on large-scale text-only MT corpora effectively leverage both data types to improve performance?
- RQ4How does the proposed model compare to strong text-only NMT and phrase-based SMT baselines when trained on the same data?
Key findings
- The proposed doubly-attentive decoder achieves state-of-the-art performance on the Multi30k test set, outperforming previous multi-modal NMT models.
- The model demonstrates significant improvements over a strong text-only NMT baseline, confirming that spatial visual features contribute meaningful information when properly attended to.
- The model effectively exploits both in-domain multi-modal data and large-scale general-domain text-only MT corpora, showing strong generalization across domains.
- The use of separate attention mechanisms for words and image regions leads to better alignment and more accurate translation, especially for descriptions involving specific visual objects.
- The model improves upon prior multi-modal NMT approaches that used global image features or failed to significantly outperform text-only models.
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.