MMRAG-DocQA: A Multi-Modal Retrieval-Augmented Generation Method for Document Question-Answering with Hierarchical Index and Multi-Granularity Retrieval

Ziyu Gong, Yihua Huang, Chengcheng MaiarXiv 2025 · DOI

Introduction

Large Vision-Language Models (LVLMs) have significantly advanced document understanding, yet they face a persistent challenge in the "last mile" of processing: answering complex queries from long, visually-rich PDFs. Business reports, technical manuals, and academic papers often span dozens or hundreds of pages, integrating text with charts, tables, and images. Standard Retrieval-Augmented Generation (RAG) systems frequently fail in these contexts due to multi-modality disconnection—where textual evidence is separated from its visual context—and cross-page fragmentation, where relevant information is scattered across distant sections.

The MHier-RAG Framework

To address these limitations, the authors introduce MHier-RAG, a novel framework that utilizes a hierarchical indexing strategy and multi-granularity retrieval to bridge the gap between text and visual evidence.

Hierarchical Indexing

Unlike traditional RAG systems that treat documents as a flat sequence of text chunks, MHier-RAG constructs two distinct indices:

  1. Flattened In-Page Index: This index captures the granular details of individual pages, including raw text, serialized tables, and visual descriptions of images generated by an LVLM. This ensures that the "connective tissue" between different modalities on a single page is preserved.
  2. Topological Cross-Page Index: To combat fragmentation, this index clusters semantically related content from across the entire document. An LLM then generates high-level summaries for these clusters, creating a multi-scale map that facilitates navigation across long-distance dependencies.

Multi-Granularity Retrieval

When a query is processed, the system performs a dual-path retrieval:

  • Parent Page Retrieval: Instead of retrieving isolated snippets, the system identifies relevant chunks and pulls their entire parent pages. This allows the model to "see" the surrounding charts and layout. An LLM-based re-ranking step then identifies the most pertinent visual evidence.
  • Summary Retrieval: The system searches the cross-page summaries to identify thematic connections that span multiple sections, such as linking a risk factor on page 5 to a mitigation strategy on page 90.
The MHier-RAG architecture, illustrating the flow from hierarchical index construction to multi-granularity evidence retrieval.

Experimental Evaluation

The model was rigorously evaluated on two benchmarks designed for long-document understanding: MMLongBench-Doc (averaging ~48 pages) and LongDocURL (averaging ~86 pages).

Key Results

MHier-RAG demonstrated substantial performance gains over existing state-of-the-art (SOTA) models:

  • Accuracy: On MMLongBench-Doc, it outperformed GPT-4V by 19.9% in generalized accuracy.
  • RAG Benchmarking: It surpassed M3DocRAG by margins ranging from 5% to 27%, depending on the specific dataset and configuration.
  • Visual Reasoning: The model showed significant improvements in categories involving charts and figures, validating the effectiveness of the "Parent Page" retrieval strategy.

Insights: The Noise Floor and Contextual Balance

A critical finding of the study is the existence of a "noise floor" in retrieval. While providing more context generally helps, there is a clear saturation point. As shown in the ablation studies, performance typically peaks when retrieving approximately 10 pages or summaries. Beyond this point, the introduction of irrelevant information (noise) begins to degrade the LLM's reasoning capabilities, leading to decreased accuracy and F1-scores.

Performance metrics showing the impact of page and summary numbers on accuracy and F1-score, highlighting the optimal retrieval threshold.

Conclusion

MHier-RAG successfully addresses the challenges of multi-modal disconnection and cross-page fragmentation in long-document QA. By treating the "Parent Page" as the primary unit of context and utilizing topological summaries for navigation, the framework provides a robust solution for complex document understanding. Future work will focus on reducing the computational overhead of generating visual descriptions and exploring more efficient multi-modal embedding techniques.

Summary updated

BibTeX
@misc{gong2025mmrag,
  author = {Ziyu Gong and Yihua Huang and Chengcheng Mai},
  title = {{MMRAG-DocQA: A Multi-Modal Retrieval-Augmented Generation Method for Document Question-Answering with Hierarchical Index and Multi-Granularity Retrieval}},
  year = {2025},
  eprint = {2508.00579},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.00579},
}
Figure