Skip to main content
QUICK REVIEW

[Paper Review] Multimodal Transformer with Multi-View Visual Representation for Image Captioning

Jun Yu, Jing Li|arXiv (Cornell University)|May 20, 2019
Multimodal Machine Learning ApplicationsComputer Science49 references30 citations
TL;DR

This paper proposes a Multimodal Transformer (MT) model for image captioning that jointly models self-attention within modalities (word-to-word, object-to-object) and co-attention between modalities (word-to-object), enabling deep multimodal reasoning. By integrating multi-view visual features—both aligned and unaligned—via dedicated encoders, the MT model achieves state-of-the-art performance, ranking 1st on the MSCOCO real-time leaderboard with an ensemble of seven models.

ABSTRACT

Image captioning aims to automatically generate a natural language description of a given image, and most state-of-the-art models have adopted an encoder-decoder framework. The framework consists of a convolution neural network (CNN)-based image encoder that extracts region-based visual features from the input image, and an recurrent neural network (RNN)-based caption decoder that generates the output caption words based on the visual features with the attention mechanism. Despite the success of existing studies, current methods only model the co-attention that characterizes the inter-modal interactions while neglecting the self-attention that characterizes the intra-modal interactions. Inspired by the success of the Transformer model in machine translation, here we extend it to a Multimodal Transformer (MT) model for image captioning. Compared to existing image captioning approaches, the MT model simultaneously captures intra- and inter-modal interactions in a unified attention block. Due to the in-depth modular composition of such attention blocks, the MT model can perform complex multimodal reasoning and output accurate captions. Moreover, to further improve the image captioning performance, multi-view visual features are seamlessly introduced into the MT model. We quantitatively and qualitatively evaluate our approach using the benchmark MSCOCO image captioning dataset and conduct extensive ablation studies to investigate the reasons behind its effectiveness. The experimental results show that our method significantly outperforms the previous state-of-the-art methods. With an ensemble of seven models, our solution ranks the 1st place on the real-time leaderboard of the MSCOCO image captioning challenge at the time of the writing of this paper.

Motivation & Objective

  • To address the limitation of existing image captioning models that only model co-attention (inter-modal) while neglecting self-attention (intra-modal) interactions.
  • To improve visual representation by incorporating multi-view features from different image perspectives, enhancing feature diversity and discriminability.
  • To design a deep, end-to-end trainable Transformer-based architecture that captures complex multimodal dependencies for accurate caption generation.
  • To evaluate the effectiveness of joint intra- and inter-modal attention in a unified attention block for image captioning.
  • To demonstrate superior performance through extensive ablation studies and benchmark evaluation on the MSCOCO dataset.

Proposed method

  • Proposes a Multimodal Transformer (MT) model that replaces traditional CNN-RNN encoders with a deep self- and co-attention-based encoder-decoder architecture.
  • Employs a modular attention block that simultaneously models word-to-word, object-to-object, and word-to-object attention to capture intra- and inter-modal relationships.
  • Introduces two variants: MT_amv for aligned multi-view features and MT_umv for unaligned multi-view features, using guided-attention to align features across views.
  • Utilizes region-based features from a pre-trained object detector (e.g., Faster R-CNN) as input to the image encoder for richer visual representations.
  • Employs a deep stack of multi-head attention blocks in both encoder and decoder, enabling hierarchical reasoning over visual and textual sequences.
  • Trains the model end-to-end using cross-entropy loss, with ablation studies to validate the contribution of each component.

Experimental results

Research questions

  • RQ1Can joint modeling of self-attention and co-attention in a unified Transformer block improve image captioning performance?
  • RQ2How does incorporating multi-view visual features—both aligned and unaligned—enhance visual representation for captioning?
  • RQ3What is the impact of deep attention stacking on multimodal reasoning and caption accuracy?
  • RQ4How do the proposed MT variants (MT_amv and MT_umv) compare in performance and robustness across diverse image scenarios?
  • RQ5To what extent do the attention maps reveal meaningful object-word relationships and contextual understanding?

Key findings

  • The proposed MT model significantly outperforms previous state-of-the-art methods on the MSCOCO image captioning benchmark with a single model.
  • An ensemble of seven MT models achieved the 1st place on the real-time MSCOCO image captioning leaderboard at the time of publication.
  • The MT_umv variant, which handles unaligned multi-view features, achieved better quantitative results than MT_amv, indicating the advantage of flexible feature alignment.
  • Qualitative analysis shows that attention maps in deeper blocks (e.g., block 6) highlight key objects and their relationships, such as 'woman' and 'skateboard', demonstrating effective multimodal reasoning.
  • The model effectively learns to align unaligned multi-view features, as evidenced by attention maps that correctly link corresponding objects across different views (e.g., different parts of a person).
  • Ablation studies confirm that both self-attention and multi-view feature integration are critical for performance gains, with each component contributing significantly to caption accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.