Multimodal Hypothetical Summary for Retrieval-based Multi-image Question Answering

Peize Li, Qingyi Si, Peng Fu, Zheng Lin, Yan Wang · OpenReview

Abstract

Retrieval-based multi-image question answering (QA) involves retrieving multiple question-related images and synthesizing them to generate an answer. Conventional "retrieve-then-answer" pipelines often suffer from cascading errors because the QA training objective fails to optimize the retrieval stage. To address this, we propose a novel method to effectively introduce and reference retrieved information. Given an image set, we employ a multimodal large language model (visual perspective) and a large language model (textual perspective) to obtain a multimodal hypothetical summary (MHyS) in question-form and description-form. By combining these perspectives, MHyS captures image content specifically and replaces real images in retrieval, eliminating the modality gap by transforming the process into text-to-text retrieval. We further employ contrastive learning to align queries with MHyS and a coarse-to-fine strategy for calculating similarity scores. Our approach achieves an 80.3% accuracy on RETVQA, a 3.7% absolute improvement over state-of-the-art methods and a 14.5% improvement over CLIP-based baselines.

Introduction

In retrieval-based multi-image QA, systems must identify relevant images from a large pool before reasoning across them to provide an answer. Traditional pipelines face two primary bottlenecks: the modality gap and cascading errors. The modality gap refers to the mathematical difficulty of aligning text queries directly with raw image pixels. Cascading errors occur when the retrieval stage fails to find relevant images, leaving the subsequent reasoning model with insufficient or incorrect information. Our work addresses these by converting the retrieval task into a text-to-text search using hypothetical summaries.

Methodology

Multimodal Hypothetical Summary (MHyS)

The core innovation is the generation of text-based summaries for every image in the database. We generate three types of summaries:

  1. Image-related Questions: Generated by a Multimodal Large Language Model (MLLM), asking what question the image could answer.
  2. Scene-related Questions: A textual perspective focusing on broader context.
  3. Detailed Descriptions: Rich captions capturing specific visual attributes.

By transforming images into these text formats, we bridge the modality gap, allowing the system to perform efficient text-to-text retrieval instead of cross-modal search.

The MHyS framework: From summary generation to multi-granularity retrieval and final answer generation.

Multi-granularity Retrieval

To ensure high precision, we implement a coarse-to-fine retrieval strategy. Coarse-grained retrieval uses CLIP to match general sentence-level semantics, while fine-grained retrieval utilizes word-level similarity scores to distinguish between specific objects or attributes (e.g., color or count). Contrastive learning is then applied to align the user's actual query with the generated MHyS during training.

Experimental Results

Performance on RETVQA

Our method was evaluated on the RETVQA dataset, which contains over 334K training samples. MHyS achieved a state-of-the-art accuracy of 80.3%, significantly outperforming previous models like MI-BART (76.6%). The improvements were particularly notable in complex reasoning tasks such as counting (+26.93%) and spatial relations (+25.75%).

Impact of Retrieval Count

A key finding in our ablation studies was the existence of an optimal "Goldilocks zone" for image retrieval. As shown in the figure below, performance peaks when retrieving exactly five images. Retrieving fewer images often misses necessary context, while retrieving more introduces irrelevant "noise" that degrades the accuracy of the final answer generation.

Accuracy vs. the number of images retrieved, showing the performance peak at five images.

Conclusion

The MHyS framework demonstrates that converting images into hypothetical text summaries—specifically in question-form—is a highly effective way to improve retrieval-based multi-image QA. By bridging the modality gap and refining retrieval through multi-granularity scoring, MHyS sets a new benchmark for accuracy and robustness in complex visual reasoning tasks. Future work will explore more efficient summary distillation and group-image context generation.

Summary updated

BibTeX
@inproceedings{li2025multimodal,
  author = {Peize Li and Qingyi Si and Peng Fu and Zheng Lin and Yan Wang},
  title = {{Multimodal Hypothetical Summary for Retrieval-based Multi-image Question Answering}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  url = {https://openreview.net/forum?id=W6ZL8qk0pL},
}
Figure