MAGE-RAG: Multigranular Adaptive Graph Evidence for Agentic Multimodal RAG in Long-Document QA

Yilong Zuo, Xunkai Li, Jing Yuan, Qiangqiang Dai, Hongchao Qin, Ronghua LiarXiv 2026

TL;DR

MAGE-RAG introduces a multigranular adaptive graph framework to solve the classic trade-off between evidence coverage and context noise in long-document multimodal QA. Instead of relying on rigid, fixed Top-k page or text chunk retrieval, it builds a structured document graph offline and uses an agentic online controller to dynamically activate, open, search, and prune evidence under an explicit budget. This approach achieves state-of-the-art accuracy on complex document benchmarks while keeping the context compact and traceable.

What Problem Does This Paper Address?

Answering questions over long, visually rich documents (like 100-page PDFs containing text, tables, charts, and complex layouts) is incredibly challenging for Large Vision-Language Models (LVLMs). Traditional Retrieval-Augmented Generation (RAG) methods typically suffer from three core limitations:

  1. Fixed Top-k and static budgets: Retrieving a fixed number of chunks or pages doesn't scale. A small $k$ misses dispersed evidence scattered across pages, while a large $k$ floods the model with irrelevant noise and drives up inference costs.
  2. Single-granularity evidence: Text-only chunking loses crucial visual and layout context (like table structures or chart geometries), while page-level visual retrieval passes massive, mostly irrelevant image regions to the reader model.
  3. Lack of query-time control: Standard pipelines pass retrieved candidates directly to the reader in a "one-shot" fashion, without any state tracking or the ability to dynamically expand or prune clues based on intermediate findings.
Fig. 1. Motivating comparison between fixed-granularity retrieval and MAGE- RAG. Fixed Top-k retrieval can miss dispersed evidence while adding noisy pages, single-granularity evidence either dilutes local details or loses page lay- out, and one-shot contexts provide little control over the evidence construction process. MAGE-RAG instead uses an adaptive budget, a multigranular page– element graph, and query-time evidence control to selectively activate, open, search, and prune evidence.

Methods

MAGE-RAG tackles these challenges by framing long-document QA as a budgeted evidence subgraph construction problem. The framework operates in two main phases:

  • Offline Multigranular Graph Construction: The document is parsed into a heterogeneous evidence graph ($G_D$). The graph contains two types of nodes: page nodes (storing full-page views and summaries) and element nodes (storing fine-grained blocks like paragraphs, tables, images, and charts). Edges connect these nodes based on structural and semantic relations, including containment, reading order, layout adjacency, section hierarchy, and semantic similarity.
  • Online Evidence Controller: At query time, instead of a one-shot retrieval, an agentic controller iteratively updates the state of the graph nodes (Inactive, Active, Opened, Pruned) through an explicit action space: ACTIVATEPAGE, ACTIVATENODE, OPENNODE, SEARCHEVIDENCE, PRUNENODE, and STOP.

Once the controller terminates, the final compact evidence subgraph is rendered into a structured XML format that cleanly aligns text abstracts, bounding boxes, and cropped local images/screenshots, which is then fed into the LVLM reader to generate the final answer.

Datasets

The authors evaluate MAGE-RAG on two recent, demanding long-document multimodal benchmarks:

  • LongDocURL: Focuses on long-document understanding, numerical reasoning, and cross-element localization (2,325 QA samples across 396 documents).
  • MMLongBench-Doc: Benchmarks long-context document understanding with expert annotations, emphasizing cross-page reasoning, multiple evidence sources, and unanswerable questions (1,091 QA samples across 135 documents).

Key Insights and Ideas

  • More context isn't always better: The paper's budget sensitivity analysis reveals a non-monotonic relationship between performance and budget. Simply increasing the initial page retrieval count ($k$) or action budget introduces decision noise and hurts calibration, especially on unanswerable questions.
  • Granularity collaboration: Single-page questions are easily handled by local chunks, but cross-page/cross-element queries require both coarse page-level visual anchors (for layout/grounding) and fine-grained element-level details (for data extraction). MAGE-RAG successfully bridges this gap by placing both granularities in a shared state space.
  • Auditability as a core feature: Because the online controller generates an explicit action trace, system failures are highly interpretable. Developers can pinpoint exactly whether an error was due to a missed initial page, premature stopping, bad pruning, or a reader model hallucination.

Key Results

  • LongDocURL: MAGE-RAG achieves an overall accuracy of 52.75, outperforming Direct MLLM (50.07), Text RAG (BM25: 36.26, ColBERTv2: 31.74), and Page-level Visual RAG (M3DocRAG: 49.35).
  • MMLongBench-Doc: It scores 53.26 accuracy and 51.19 F1, significantly outperforming other graph/agentic methods like $G^2$-Reader (46.96 Acc / 45.29 F1) and MLDocRAG (47.90 Acc).
  • Cross-Page Performance: Crucially, on difficult cross-page questions within MMLongBench-Doc, MAGE-RAG hits 34.70% accuracy, a massive leap over M3DocRAG (24.87%) and EVisRAG (24.51%).

Limitations and Future Work

  • Graph Quality Dependency: The performance upper bound is heavily bottlenecked by the quality of the offline document parser. Errors in initial layout parsing or element extraction propagate downstream to the controller.
  • Computational Overhead: The online controller introduces additional evaluator calls and state-maintenance overhead per query. Consequently, MAGE-RAG is highly effective for sparse, complex queries but may not be cost-effective for simple, short-document, or single-hop cases.
  • Future Directions: The authors suggest improving graph construction specifically for complex tables, charts, and cross-page section hierarchies, alongside optimizing the controller to reduce redundant searches.

Summary updated

Abstract

Long-document multimodal question answering requires a system to locate sparse evidence in long PDFs and integrate clues from text, tables, images, charts, and complex layouts. Existing RAG methods mostly rely on fixed Top-k retrieval over text chunks or pages. Text retrieval can compress the context but often loses visual and layout information; page-level visual retrieval preserves the original page, yet it also sends large irrelevant regions to the reader, leading to a static trade-off among evidence coverage, noise, and inference cost. This paper proposes MAGE-RAG, a multigranular adaptive graph evidence framework for long-document multimodal QA. MAGE-RAG uses page retrieval as the entry point for query-time evidence construction. Offline, it builds an evidence graph with page nodes and element nodes, encoding containment, reading order, layout adjacency, section hierarchy, and semantic-neighbor relations. At query time, an online evidence controller iteratively activates, opens, searches, and prunes evidence under explicit budgets. The resulting evidence subgraph is then rendered into structured multimodal reader input, allowing the LVLM to consume compact and relevant evidence within a limited context. On LongDocURL and MMLongBench-Doc, we establish a unified comparison and analysis protocol covering Direct MLLM, Text RAG, Page-level Visual RAG, and Graph/Agentic RAG. Experiments show that MAGE-RAG achieves 52.75 overall accuracy on LongDocURL, and 53.26 accuracy with 51.19 F1 on MMLongBench-Doc. Fine-grained breakdowns, budget-performance curves, ablations, and trace-based analysis further show that query-time evidence subgraph construction can balance dispersed evidence coverage with context-noise control. Our code is available at https://github.com/laonuo2004/MAGE-RAG.git.
BibTeX
@misc{zuo2026mage,
  author = {Yilong Zuo and Xunkai Li and Jing Yuan and Qiangqiang Dai and Hongchao Qin and Ronghua Li},
  title = {{MAGE-RAG: Multigranular Adaptive Graph Evidence for Agentic Multimodal RAG in Long-Document QA}},
  year = {2026},
  eprint = {2606.15906},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.15906},
}

Loading related content...

Figure