Abstract
Retrieval-based multi-image question answering (QA) task involves retrieving multiple question-related images and synthesizing these images to generate an answer. Conventional "retrieve-then-answer" pipelines often suffer from cascading errors because the training objective of QA fails to optimize the retrieval stage. To address this issue, we propose a novel method to effectively introduce and reference retrieved information into the QA. Given the image set to be retrieved, we employ a multimodal large language model (visual perspective) and a large language model (textual perspective) to obtain multimodal hypothetical summary in question-form and description-form. By combining visual and textual perspectives, MHyS captures image content more specifically and replaces real images in retrieval, which eliminates the modality gap by transforming into text-to-text retrieval and helps improve retrieval. To more advantageously introduce retrieval with QA, we employ contrastive learning to align queries (questions) with MHyS. Moreover, we propose a coarse-to-fine strategy for calculating both sentence-level and word-level similarity scores, to further enhance retrieval and filter out irrelevant details. Our approach achieves a 3.7% absolute improvement over state-of-the-art methods on RETVQA and a 14.5% improvement over CLIP. Comprehensive experiments and detailed ablation studies demonstrate the superiority of our method.
Introduction
In retrieval-based multi-image QA (RETVQA), systems must navigate large image collections to find relevant visual evidence for complex queries. Traditional approaches typically follow a "retrieve-then-answer" pipeline. However, these systems face two major hurdles: the modality gap, where aligning natural language questions with raw pixels is mathematically difficult, and cascading errors, where poor initial retrieval prevents the QA model from ever finding the correct answer.
To address these, we introduce Multimodal Hypothetical Summary (MHyS). This framework shifts the paradigm from cross-modal matching to text-to-text matching by generating hypothetical textual representations for every candidate image.
Methodology
The core of our approach is the generation and utilization of MHyS to bridge the semantic gap between queries and images.
Multimodal Hypothetical Summary Generation
For each candidate image, we generate three distinct textual summaries:
- Image-related Questions (Visual Perspective): A multimodal LLM (mPLUG-Owl2) generates questions based directly on visual content.
- Scene-related Questions (Textual Perspective): A scene description is generated, which is then processed by a Question-Answer Generation (QAG) model to produce relevant questions.
- Detailed Descriptions: Rich textual captions are created to provide a descriptive anchor.
By transforming images into these "hypothetical" texts, the retrieval task becomes a robust text-to-text matching problem, effectively making the data distribution independent and identically distributed (i.i.d.) relative to the query.
Multi-granularity Retrieval
To refine the selection process, we implement a coarse-to-fine strategy:
- Coarse-grained Retrieval: Uses CLIP to calculate high-level sentence-level similarity.
- Fine-grained Retrieval: Employs a multimodal encoder (VL-BART) to compute word-level similarity. This ensures that specific entities or attributes mentioned in the query (e.g., "double-decker bus") are precisely matched within the MHyS.
A Contrastive Enhancement Loss is further applied to align the query embeddings with the MHyS embeddings, ensuring the retriever learns which summaries are most predictive for specific questions.
Experimental Results
We evaluated our model on the RETVQA dataset, which consists of 334K training samples and 41K samples for both validation and testing. The dataset covers diverse tasks including counting, spatial reasoning, and attribute identification.
Performance Comparison
MHyS achieved a state-of-the-art accuracy of 80.3% on RETVQA, representing a 3.7% absolute improvement over the previous leader, MI-BART. Notably, it outperformed standard CLIP-based retrieval by 14.5%.
Key Insights
- Question-to-Question Matching: Matching a user's question to a "hypothetical question" (question-form MHyS) was significantly more effective than matching to a standard description, yielding a 7% performance gain.
- Perspective Integration: Combining visual perspectives (direct observation) with textual perspectives (inferred scene data) resulted in an 8.25% boost, demonstrating that multi-perspective summaries mitigate individual model biases or hallucinations.
- Scoring Balance: Applying a log-transformation to fine-grained similarity scores was crucial for balancing them against coarse-grained scores, leading to optimal retrieval performance.
Conclusion
The MHyS framework demonstrates that transforming cross-modal retrieval into a text-to-text task significantly improves multi-image QA performance. While current Multimodal Large Language Models are primarily optimized for single-image tasks, our results suggest that leveraging them to generate rich, multi-perspective textual summaries can overcome the inherent limitations of the modality gap. Future research will focus on pre-training MLLMs specifically for multi-image reasoning and scaling MHyS generation for larger databases.
Summary updated