Multimodal Incremental Transformer with Visual Grounding for Visual Dialogue Generation

Feilong Chen, Fandong Meng, Xiuyi Chen, Peng Li, Jie Zhou

Abstract

Visual dialogue requires an agent to perceive visual content and maintain a coherent conversation across multiple turns. A significant challenge in this domain is multimodal co-reference, where textual entities must be accurately mapped to visual regions. We present the Multimodal Incremental Transformer with Visual Grounding (MITVG), a framework that explicitly grounds textual entities to image regions and processes dialogue history incrementally. By filtering visual noise through explicit spatial awareness and utilizing a gated decoder to balance visual and textual cues, MITVG achieves state-of-the-art performance on the VisDial benchmark and demonstrates superior human-like response generation.

Introduction

Visual dialogue is a complex AI challenge: a model must hold a conversation about an image, requiring it to understand both visual scenes and a sequence of questions and answers. A major hurdle is multimodal co-reference. When a user asks, "Are they wearing uniforms?", the model needs to know who "they" refers to in the text history and where "they" are located in the image.

Most previous models tried to solve this implicitly by using broad attention mechanisms over the whole image. However, this often leads to "visual noise"—the model gets distracted by irrelevant parts of the background. To address this, the Multimodal Incremental Transformer with Visual Grounding (MITVG) explicitly locates the objects being discussed to filter out unnecessary visual information.

Methodology

The MITVG framework consists of three primary innovations designed to improve spatial awareness and context management:

Explicit Visual Grounding (VG)

Before generating an answer, the model uses a reference resolution tool (NeuralCoref) to clarify pronouns (e.g., changing "they" back to "the players"). It then employs a pre-trained Visual Grounding model to find the exact bounding boxes in the image that correspond to those entities. This ensures the model is "looking" at the right place during the reasoning process.

Multimodal Incremental Transformer Encoder (MITE)

Instead of processing the entire dialogue history as one flat block of text, MITE encodes the history turn-by-turn. Each layer of this encoder uses four sub-layers: self-attention for the current dialogue turn, cross-modal attention to link text to grounded image regions, history attention to integrate the current turn with the context state from previous turns, and a feed-forward network (FFN) to finalize the representation.

The overall architecture of the MITVG framework, featuring the Multimodal Incremental Transformer Encoder (MITE) and the Gated Cross-Attention Decoder (GCAD).

Gated Cross-Attention Decoder (GCAD)

To generate the final response, the decoder uses a gated mechanism to decide how much weight to give to the encoded dialogue history versus the specific visual grounding features. This gate mimics how humans balance what they have heard with what they see, allowing the model to prioritize visual evidence or conversational context as needed.

Experimental Results

The authors evaluated MITVG on the VisDial v0.9 and v1.0 datasets. MITVG achieved state-of-the-art or comparable performance across several metrics on the VisDial v1.0 dataset:

  • MRR (Mean Reciprocal Rank): 51.14 (an improvement over the previous best of 50.51).
  • R@1 (Recall at 1): 41.03%, indicating the correct answer was the model's top choice more frequently than its competitors.

In a human evaluation setup, subjects judged MITVG's responses against human-generated ones. 76% of its responses were judged as human-generated, compared to 62% for the previous leading model (DMRM). Furthermore, 70% of its answers were rated as "better than or equal to" actual human responses.

Discussion and Limitations

The core insight of this work is that explicit visual grounding drastically reduces the noise that plagues standard attention-based models. By identifying the specific pixels representing an entity, the model avoids confusion from background elements. Additionally, the incremental transformer approach is more computationally efficient and logically sound than re-processing the entire conversation history for every new question.

Qualitative results showing successful grounding and response generation for luggage (a) and a failure case in counting giraffes (b) due to grounding limitations.

However, the model is heavily dependent on the quality of the underlying Visual Grounding (VG) model. As shown in Figure 6b, when asked "how many giraffes?", the VG model failed to locate all the giraffes in the image, leading the MITVG to provide an incorrect count. Future work could involve tighter integration between the grounding and reasoning steps, potentially allowing the model to "re-scan" the image if initial grounding is insufficient.

Summary updated

BibTeX
@inproceedings{chen2021multimodal,
  author = {Feilong Chen and Fandong Meng and Xiuyi Chen and Peng Li and Jie Zhou},
  title = {{Multimodal Incremental Transformer with Visual Grounding for Visual Dialogue Generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.findings-acl.38},
}
Figure