Benchmarking Retrieval-Augmented Generation in Multi-Modal Contexts

Zhenghao Liu, Xingsheng Zhu, Tianshuo Zhou, Xinyi Zhang, Xiaoyuan Yi, Yukun Yan, Yu Gu, Ge Yu, Maosong Sun · DOI

TL;DR

This paper introduces M²RAG, a new benchmark for evaluating how well Multi-modal Large Language Models (MLLMs) can use retrieved multi-modal documents to improve their generation capabilities. They also propose MM-RAIT, an instruction tuning method that significantly boosts MLLM performance on these multi-modal RAG tasks.

What Problem Does This Paper Address?

Large Language Models (LLMs) are powerful but prone to hallucinations. Retrieval-Augmented Generation (RAG) helps by providing external knowledge, but this has been underexplored in the multi-modal domain (text + images). Existing multi-modal RAG benchmarks often focus on single modalities or lack a comprehensive evaluation across diverse tasks. This paper addresses this gap by creating M²RAG, a benchmark that tests MLLMs on their ability to retrieve and integrate information from both text and image documents for tasks like captioning, question answering, fact verification, and image reranking.

Methods

The core contribution is the M²RAG benchmark, which comprises four tasks designed to evaluate MLLMs in an open-domain, multi-modal RAG setting. For each task, MLLMs must retrieve relevant documents from a multi-modal collection and use them as context for generation.

To further enhance MLLM performance within this multi-modal RAG framework, the authors introduce Multi-Modal Retrieval-Augmented Instruction Tuning (MM-RAIT). This method involves task-specific prompt templates and fine-tuning MLLMs on multi-modal retrieved contexts, encouraging them to maintain contextual awareness during generation.

The retrieval itself is handled by multi-modal dense retrieval models, which map queries and documents into a shared embedding space for efficient matching.

Datasets

The M²RAG benchmark is constructed using data from two existing datasets:

  • WebQA: Used for image captioning, multi-modal question answering, and image reranking tasks.
  • Factify: Used for the multi-modal fact verification task.

The authors adapted these datasets to create an open-domain setting, ensuring a more realistic evaluation of RAG capabilities.

Key Insights and Ideas

  • Multi-modal RAG is more than the sum of its parts: Simply combining text and image retrieval doesn't automatically guarantee better performance. MLLMs need specific training to effectively leverage these diverse sources.
  • MM-RAIT is crucial for multi-modal context utilization: The proposed instruction tuning method significantly improves MLLM performance on M²RAG tasks, demonstrating its effectiveness in teaching models to integrate multi-modal retrieved information.
  • M²RAG is a challenging benchmark: Models perform worse on M²RAG compared to standard benchmarks like MSCOCO for image captioning, indicating that M²RAG's captions are more diverse and require deeper semantic understanding.
  • Text is still a primary knowledge source, but images add value: Ablation studies show that while text is the dominant modality, incorporating image features generally improves RAG performance, especially when models are trained to use them effectively.

Key Results

  • MM-RAIT significantly improves performance: MiniCPM-V 2.6 and Qwen2-VL achieved average improvements of 34% and 33% respectively after MM-RAIT training compared to vanilla RAG models.
  • M²RAG is harder than MSCOCO for captioning: Qwen2-VL and MiniCPM-V 2.6 showed declines of over 9% and 19% on M²RAG image captioning compared to MSCOCO, highlighting M²RAG's increased difficulty due to richer and more diverse captions.
  • Top-K retrieval matters, but not always more is better: For some tasks (like fact verification), using too many retrieved documents can hurt performance, suggesting the need for robust filtering mechanisms. MM-RAIT helps mitigate performance drops with more documents.

Limitations and Future Work

  • Data scarcity for certain tasks: For the fact verification task, the relatively small corpus means that retrieving more documents beyond the ground truth can introduce invalid information, potentially hindering performance.
  • API-based model limitations: Due to resource constraints, API-based models like GPT-40-mini were evaluated on a subset of data, and their performance on image reranking could not be assessed due to the inability to obtain PPL values.
  • Future work could explore: Further investigation into how MLLMs learn from different modalities and how to optimize the retrieval process for even better context utilization. The authors also suggest that future work could focus on developing more sophisticated methods for integrating multi-modal retrieved information.

Summary updated

BibTeX
@inproceedings{liu2025benchmarking,
  author = {Zhenghao Liu and Xingsheng Zhu and Tianshuo Zhou and Xinyi Zhang and Xiaoyuan Yi and Yukun Yan and Yu Gu and Ge Yu and Maosong Sun},
  title = {{Benchmarking Retrieval-Augmented Generation in Multi-Modal Contexts}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755625},
}
Figure