Abstract
Multimodal multihop question answering (MMQA) requires reasoning over images and text from multiple sources, an essential task for many real-world applications. Despite advances in visual question answering, the multihop setting remains underexplored due to the lack of quality datasets. Existing methods focus on single-hop, single-modality, or short texts, limiting real-world applications like interpreting educational documents with long, multimodal content. To fill this gap, we introduce FM²DS, the first framework for creating a high-quality dataset for MMQA. Our approach consists of a five-stage pipeline that involves acquiring relevant multimodal documents from Wikipedia, synthetically generating high-level questions and answers, and validating them through rigorous criteria to ensure data quality. We evaluate our methodology by training models on our synthesized dataset and testing on two benchmarks: MultimodalQA and WebQA. Our results demonstrate that, with an equal sample size, models trained on our synthesized data outperform those trained on human-collected data by 1.9 in exact match (EM) score on average. Additionally, we introduce M²QA-Bench with 1k samples, the first benchmark for MMQA on long documents, generated using FM²DS and refined by human annotators.
1. Introduction
Multimodal Multihop Question Answering (MMQA) represents a significant challenge in information retrieval, requiring models to synthesize information across diverse modalities such as images, text, and tables. While visual question answering has seen rapid progress, the multihop setting remains constrained by a lack of high-quality, large-scale datasets. Existing benchmarks often rely on short snippets and expensive human annotation (averaging $2.00 per sample), limiting their applicability to real-world scenarios involving long-form documents. Furthermore, most models struggle with "long-context" reasoning—processing full Wikipedia articles rather than pre-selected paragraphs.
2. The FM²DS Pipeline
To address these limitations, we propose FM²DS (Few-Shot Multimodal Multihop Data Synthesis), a fully automated five-stage pipeline designed to generate high-quality MMQA data from long-context documents.
The pipeline consists of the following stages:
- Document Pooling: Leveraging Wikipedia's hyperlink structure and multimodal topic modeling to identify interconnected documents (e.g., an article about a photograph and an article about the event it depicts).
- Few-Shot Selection: Utilizing high-quality human examples to "prime" the generative process.
- Question Generation & Validation: Generating questions that necessitate multiple reasoning hops across modalities. A secondary model (e.g., Llama-3.1-8B) is used to decompose the question; if it can be answered using only one document or modality, it is discarded.
- Answer Generation & Validation: Producing grounded long and short answers, verified via Named Entity Recognition (NER) and relation extraction to ensure factual accuracy.
- Query Generation: Synthesizing step-by-step retrieval queries to facilitate knowledge distillation. This "secret sauce" teaches student models the explicit reasoning path required to find an answer.
3. Experimental Results
We evaluated FM²DS by training models (including InternVL-2 and LLaVA-1.6) on 18,000 synthesized samples and testing on standard benchmarks MultimodalQA and WebQA. Additionally, we introduced M²QA-Bench, a new 1,000-sample benchmark based on long documents, refined by human annotators to ensure 100% accuracy.
Our results indicate that models trained on FM²DS data achieve a 1.9-point improvement in Exact Match (EM) scores compared to those trained on human-annotated data. This performance boost is attributed to the contextual richness and diversity of the synthetic data, which avoids the narrow patterns and repetitive templates common in manual collection.
4. Discussion and Insights
A key innovation of FM²DS is the use of intermediate search queries for knowledge distillation. By training "student" models to predict these queries, we prevent "shortcut learning" and ensure models learn to navigate complex information paths. Furthermore, FM²DS offers significant cost advantages, reducing the cost per sample from approximately $2.00 (human) to $0.035 (synthetic), a nearly 60x reduction. This enables the creation of massive datasets that were previously financially prohibitive.
5. Conclusion
FM²DS demonstrates that automated synthesis can surpass human-annotated datasets in both quality and scale for complex reasoning tasks. While currently dependent on high-end teacher models like GPT-4o, the framework provides a scalable path for training robust multimodal models. Future work will focus on extending this pipeline to multilingual content and video data, as well as exploring self-correction loops for iterative data refinement.
Summary updated