Abstract
With the ability to collect vast amounts of image and natural language data from the web, there has been a remarkable advancement in Large-scale Language Models (LLMs). This progress has led to the emergence of chatbots and dialogue systems capable of fluent conversations with humans. As the variety of devices enabling interactions between humans and agents expands, and the performance of text-based dialogue systems improves, there has been recently proposed research on visual dialog. However, visual dialog requires understanding sequences of pairs consisting of images and sentences, making it challenging to gather sufficient data for training large-scale models from the web. In this paper, we propose a new multimodal learning method leveraging existing large-scale models designed for each modality, to enable model training for visual dialog with small visual dialog datasets. The key ideas of our approach are: 1) storing the history or context during the progression of visual dialog in the form of spatiotemporal graphs, and 2) introducing small modulation blocks between modality-specific models and the graphs to align the semantic spaces. For implementation, we introduce a novel structure-aware cross-attention method, which retrieves relevant image and text knowledge for utterance generation from the pretrained models. For experiments, we achieved a new state-of-the-art performance on three visual dialog datasets, including the most challenging one COMET.
Introduction
While Large Language Models (LLMs) have mastered text-based conversation, Visual Dialog—where an AI must discuss a sequence of images over multiple turns—remains a significant hurdle. The core challenge is two-fold:
- Data Scarcity: It is incredibly difficult to find or curate the massive amounts of aligned image-text sequence data needed to train multimodal models from scratch.
- Contextual Complexity: In a long conversation, an AI needs to remember what was said several turns ago and relate it to specific images in a collection (like a photo album). Standard models often struggle to maintain this "spatiotemporal" thread, losing track of which text refers to which image or event.
Methodology
The proposed framework leverages the power of existing "expert" models rather than training a monolithic new architecture from scratch.
Frozen Experts and Modulation Blocks
The system utilizes a pretrained Vision Transformer (ViT) for image processing and Flan-T5 for language generation. The weights of these massive models are kept "frozen" to retain their general knowledge. To enable communication between these experts, the researchers introduced small, trainable Transformer-based modulation blocks. These act as a bridge, grounding visual features into the language model's semantic space.
Structure-Aware Cross-Attention
A primary innovation of this work is the representation of dialog history as a spatiotemporal graph rather than a flat list. By using an adjacency matrix to encode relationships—such as the chronological order of photos or hierarchical categories (e.g., "Trip" -> "Day" -> "Event")—the model can explicitly utilize structural priors.
This Retrieval-Augmented Learning approach allows the model to "retrieve" only the most relevant memories (past utterances or specific images) needed to answer the current question, making the process more efficient and accurate. The use of an adjacency matrix within the attention mechanism prevents "semantic drift," ensuring that the correlation between a specific image and its textual attributes is preserved throughout the reasoning process.
Experimental Evaluation
The model was evaluated on three distinct datasets:
- COMET: The most challenging benchmark, involving navigation of a "memory graph" of 100 images grouped into trips, days, and events.
- VisDial 1.0: A standard benchmark where the model engages in a 10-turn conversation about a single image.
- MNIST Dialog: A synthetic dataset used to test basic reasoning, such as counting or identifying colors and styles of digits.
Key Results
The proposed model outperformed previous baselines across the board:
- COMET Dataset: The model achieved a significant jump in Response Generation, moving from a BLEU score of 0.251 (previous multimodal baseline) to 0.298. It also showed superior performance in subtasks like API Call Prediction and Coreference Resolution.
- VisDial 1.0: The model achieved a new state-of-the-art for generative models in MRR (52.59) and R@1 (42.90).
- MNIST Dialog: It reached 98.6% accuracy, surpassing specialized architectures designed specifically for that dataset.
Conclusion and Future Work
This research demonstrates that structure is a powerful prior in multimodal learning. By training only the 66M-parameter modulation blocks, the researchers achieved better results than models trained end-to-end on more data.
However, limitations remain. Currently, the model relies on datasets providing a clear predefined hierarchy. Future work will focus on developing methods for the model to automatically construct these spatiotemporal graphs from unstructured data and scaling the context to handle thousands of images, such as those found in a lifetime photo library.
Summary updated