Dynamic Context-guided Capsule Network for Multimodal Machine Translation

Huan Lin, Fandong Meng, Jinsong Su, Yongjing Yin, Zhengyuan Yang +3 more
9/4/2020
cs.CLcs.MM
transformer-attention

Official code: XMUDeepLIT/DCCN (42 stars, Python, last commit 2022-01-22).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

XMUDeepLIT/DCCNOfficial100%

Code for "Dynamic Context-guided Capsule Network for Multimodal Machine Translation" (ACM MM2020)

424Python, PerlAug 10, 20204 years ago

Similar Papers

Cite this paper

@article{lin2020dynamic,
  title  = {Dynamic Context-guided Capsule Network for Multimodal Machine Translation},
  author = {Huan Lin and Fandong Meng and Jinsong Su and Yongjing Yin and Zhengyuan Yang and Yubin Ge and Jie Zhou and Jiebo Luo},
  year   = {2020},
  eprint = {2009.02016},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.02016}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2009.02016.svg)](https://codeofpaper.com/paper/2009.02016)

Discussion