BI-MDRG: Bridging Image History in Multimodal Dialogue Response Generation

Hee Suk Yoon, Eunseop Yoon, Joshua Tian Jin Tee, Kang Zhang, Yu-Jung Heo, Du-Seong Chang, Chang D. Yoo

Abstract

Multimodal Dialogue Response Generation (MDRG) requires AI agents to communicate using both text and images. Current systems often rely on "text-as-intermediary" approaches, converting images into captions, which leads to significant information loss. This paper introduces BI-MDRG, a framework that establishes a "visual memory" by bridging image history directly into text and image generation. By utilizing visual cross-attention and a novel citation-tagging system, BI-MDRG ensures text responses are grounded in visual details and image responses maintain object consistency across multiple dialogue turns.

Introduction

The challenge of MDRG lies in the seamless integration of visual and textual modalities. Due to the scarcity of large-scale end-to-end multimodal datasets, existing models typically summarize previous images into textual descriptions, which then serve as the context for generating subsequent responses. However, this summarization process acts as a bottleneck, discarding fine-grained visual details—such as specific breeds, colors, or textures—that are essential for nuanced conversation.

The Information Loss Problem

The primary flaw in current MDRG systems is the loss of image history information. When a model relies solely on textual descriptions ($u_t$), it loses the direct link to the original image features ($r_{1:t-1}^{Image}$).

Theoretical framework illustrating how previous systems lose image history information during the generation process.

This architectural gap leads to two critical failures in dialogue quality:

  1. Lack of Image-Grounded Text Response: The model cannot answer specific questions about visual details (e.g., "What breed is it?") because those details were omitted from the text caption.
  2. Inconsistent Image Response: The model fails to maintain the identity of objects. If asked to show the same dog in a later turn, it may generate a completely different-looking animal because it has no visual memory of the first one.
Examples of grounding failures and visual inconsistency in previous MDRG systems.

Methodology

BI-MDRG addresses these issues through two architectural "bridges" designed to preserve visual context throughout the conversation.

1. Bridging History to Text: Visual Cross-Attention

Instead of relying on captions, BI-MDRG employs a visual encoder (based on the Flamingo architecture) to extract raw features from historical images. These features are integrated directly into the language model's cross-attention layers. To ensure the model prioritizes these features, a Multimodal Causal Attention Mask is used to block the model's view of textual image descriptions, forcing it to ground its text responses in the actual visual data.

2. Bridging History to Images: The Citation Module

To maintain visual consistency, the framework introduces a Citation Module. This module identifies and tags objects using off-the-shelf detection and segmentation tools (GroundingDino and SAM), assigning them unique IDs (e.g., dog [cite]0[/cite]). DINOv2 features are used to cluster and recognize recurring objects. When generating a new image, the model uses these "citations" to guide a customized text-to-image generator (BLIP-Diffusion), ensuring that a previously seen object retains its specific visual identity.

Evaluation and Results

The authors evaluated BI-MDRG on standard benchmarks including MMDialog and PhotoChat. They also introduced the Multimodal Dialogue Image Consistency (MDIC) dataset, specifically designed to measure object identity preservation across multiple turns.

  • Superior Grounding: On the ImageChat dataset, BI-MDRG achieved a BLEU-1 score of 10.9, significantly higher than the 8.6 baseline, proving it understands visual context better.
  • Consistency Wins: In the new MDIC benchmark, the model achieved 84.0% accuracy in predicting citation tokens, compared to only 33.5% for standard LLM-based tagging approaches.
  • State-of-the-Art Performance: BI-MDRG outperformed previous models like Divter and MiniGPT5 across BLEU, ROUGE, and Inception Score (IS) metrics on MMDialog.

Conclusion

BI-MDRG demonstrates that direct visual feature integration and explicit object tracking are vital for high-quality multimodal dialogue. By bypassing the textual bottleneck, the model achieves a level of visual memory that allows for more grounded and consistent AI-human interactions. Future work will focus on streamlining the pipeline into a more unified, end-to-end architecture that reduces reliance on separate off-the-shelf modules.

Summary updated

BibTeX
@inproceedings{yoon2024bi,
  author = {Hee Suk Yoon and Eunseop Yoon and Joshua Tian Jin Tee and Kang Zhang and Yu-Jung Heo and Du-Seong Chang and Chang D. Yoo},
  title = {{BI-MDRG: Bridging Image History in Multimodal Dialogue Response Generation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72751-1\_22},
}
Figure