Introduction
Retrieval-Augmented Generation (RAG) has become the standard for grounding Large Language Models (LLMs) in external data. However, a significant challenge remains: the "needle in a multimodal haystack" problem. Real-world documents, such as scientific papers, business reports, and presentation decks, are visually rich documents (VRDs). They contain critical information trapped within complex layouts, tables, charts, and figures.
Existing benchmarks often focus on either single-document visual QA or multi-document text-only QA, leaving a gap in handling large collections of unstructured, visually rich documents. VisDoM addresses this by introducing VisDoMBench, a comprehensive benchmark, and VisDoMRAG, a novel framework designed to navigate and synthesize information across multimodal document corpora.
The VisDoMRAG Framework
VisDoMRAG treats text and vision as equal priorities through a parallel pipeline architecture. Unlike traditional RAG systems that rely solely on OCR-derived text, VisDoMRAG utilizes two simultaneous tracks to ensure no visual context is lost.
Parallel Unimodal RAG
- Textual Pipeline: This track uses standard OCR and text embeddings to index document content.
- Visual Pipeline: This track utilizes state-of-the-art vision-language models (such as ColPali or ColQwen2) to index and retrieve actual page images, preserving the spatial and visual relationships of elements like trend lines or table borders.
Three-Step Prompting and Modality Fusion
For both tracks, the system employs a structured three-step reasoning process:
- Evidence Curation: The model isolates and verbalizes specific evidence from the retrieved context, acting as a filter against noise.
- Chain-of-Thought (CoT): The model generates step-by-step reasoning based strictly on the curated evidence.
- Answer Generation: Preliminary answers are produced for each modality.
The "secret sauce" of the framework is Consistency-Constrained Modality Fusion. A final LLM call analyzes the reasoning chains from both the visual and textual pipelines to identify contradictions, align evidence, and synthesize a single, coherent final response.
VisDoMBench: A New Standard for Multimodal QA
To evaluate this approach, the researchers created VisDoMBench by re-purposing five specialized datasets into a multi-document format:
- PaperTab & FetaTab: Focused on complex tabular data.
- SciGraphQA & SPIQA: Focused on scientific charts and figures.
- SlideVQA: Focused on presentation decks where layout is paramount.
To simulate real-world complexity, these datasets were augmented with "distractor" documents, requiring models to search through corpora of 50 to 200 pages to find the relevant information.
Key Results and Insights
VisDoMRAG demonstrated significant performance improvements, outperforming unimodal RAG and long-context LLM baselines (such as GPT-4o and Gemini 1.5 Flash) by 12-20% across the benchmark.
Major Findings:
- Visual Retrieval Superiority: For documents like slides, "looking" at the page (Visual RAG) consistently outperformed "reading" OCR text.
- Late Fusion Effectiveness: Processing modalities independently and fusing their reasoning (late fusion) proved more effective than early fusion, which often led to "modality interference."
- Robustness to Scale: While long-context models often suffer from the "lost in the middle" phenomenon as document counts increase, VisDoMRAG maintained consistent accuracy even at high page counts.
- Model Scaling: The framework significantly boosts the performance of smaller models (like Qwen2-VL-7B), allowing them to compete with larger proprietary models through better-structured context.
Conclusion and Future Work
VisDoM represents a major step forward in handling the complexity of real-world, visually rich document collections. While the current multi-call pipeline increases computational cost, it provides a robust mechanism for anti-hallucination and evidence alignment. Future work will explore end-to-end trained multimodal RAG models to reduce latency and expand performance in low-resource language settings.
Summary updated