Dynamic Context-guided Capsule Network for Multimodal Machine Translation
About
Multimodal machine translation (MMT), which mainly focuses on enhancing text-only translation with visual features, has attracted considerable attention from both computer vision and natural language processing communities. Most current MMT models resort to attention mechanism, global context modeling or multimodal joint representation learning to utilize visual features. However, the attention mechanism lacks sufficient semantic interactions between modalities while the other two provide fixed visual context, which is unsuitable for modeling the observed variability when generating translation. To address the above issues, in this paper, we propose a novel Dynamic Context-guided Capsule Network (DCCN) for MMT. Specifically, at each timestep of decoding, we first employ the conventional source-target attention to produce a timestep-specific source-side context vector. Next, DCCN takes this vector as input and uses it to guide the iterative extraction of related visual features via a context-guided dynamic routing mechanism. Particularly, we represent the input image with global and regional visual features, we introduce two parallel DCCNs to model multimodal context vectors with visual features at different granularities. Finally, we obtain two multimodal context vectors, which are fused and incorporated into the decoder for the prediction of the target word. Experimental results on the Multi30K dataset of English-to-German and English-to-French translation demonstrate the superiority of DCCN. Our code is available on https://github.com/DeepLearnXMU/MM-DCCN.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Multimodal Machine Translation | Multi30K (test) | BLEU-454.3 | 139 | |
| Multimodal Machine Translation (English-German) | Multi30K 2016 (test) | BLEU39.7 | 52 | |
| Multimodal Machine Translation | Multi30k En-De 2017 (test) | METEOR49.9 | 45 | |
| Multimodal Machine Translation | Multi30k En-Fr 2017 (test) | METEOR70.3 | 31 | |
| Machine Translation | Multi30k En→Fr v1 2017 (test) | BLEU54.3 | 30 | |
| Multimodal Machine Translation | Multi30k En-Fr 2016 (test) | METEOR Score76.4 | 30 | |
| Machine Translation | Multi30k Task1 (en-de) | BLEU Score39.7 | 26 | |
| Machine Translation | Multi30k Task1 en-fr | BLEU Score61.2 | 25 | |
| Multimodal Machine Translation | MSCOCO EN-FR (test) | BLEU45.4 | 19 | |
| Machine Translation | Multi30k M30kT (test) | BLEU Score31 | 19 |