MAGE-RAG: Multigranular Adaptive Graph Evidence for Agentic Multimodal RAG in Long-Document QA
MAGE-RAG is a multigranular adaptive graph framework for long-document multimodal QA that constructs query-time evidence subgraphs by iteratively activating and pruning page and element nodes, thereby balancing evidence coverage with noise reduction to achieve state-of-the-art performance on LongDocURL and MMLongBench-Doc.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a detective trying to solve a mystery, but instead of a few clues on a desk, you are handed a massive, 500-page encyclopedia filled with text, charts, photos, and complex diagrams. Your goal is to find the specific answer to a question hidden somewhere inside.
This is the challenge of Long-Document Multimodal Question Answering. The paper introduces a new system called MAGE-RAG to solve this problem. Here is how it works, explained simply:
The Problem: The "One-Size-Fits-All" Mistake
Current systems try to solve this mystery in two flawed ways:
- The "Text-Only" Approach: They read the words but throw away the pictures and the layout. It's like reading a transcript of a movie but never seeing the actors or the scenery. You might miss a crucial clue hidden in a chart or a diagram.
- The "Whole Page" Approach: They grab entire pages of the book and show them to the AI. But if the answer is just a small sentence in the middle of a page, the AI gets overwhelmed by all the irrelevant junk (like ads, footers, or unrelated images) surrounding it. It's like trying to find a needle in a haystack by handing the whole haystack to a robot.
Both methods are stuck in a "fixed" mode: they grab a set number of pages or chunks no matter how hard or easy the question is.
The Solution: MAGE-RAG (The Smart Detective)
MAGE-RAG acts like a smart, adaptive detective who doesn't just grab pages; they build a dynamic map of the document.
1. The Map (The Multigranular Graph)
Before the detective even starts looking, MAGE-RAG builds a special "map" of the entire document.
- Page Nodes: These are the big landmarks (the whole pages).
- Element Nodes: These are the tiny details (a specific paragraph, a table, a chart, or a list).
- Connections: The map draws lines between these items, showing how they relate. For example, it knows that a chart is inside a specific section, or that a table is next to a paragraph.
This map allows the system to zoom in on a tiny detail or zoom out to see the whole page, depending on what is needed.
2. The Investigation (Query-Time Control)
When you ask a question, MAGE-RAG doesn't just dump data on the AI. It plays a game of "Hot and Cold" with a strict budget (a limit on how much time and memory it can use).
- Step 1: The Entry Point: It starts by grabbing a few likely pages (like the detective walking into the right room).
- Step 2: The Iterative Hunt: The system has a "controller" that acts like a project manager. It asks:
- "Do we have enough info?"
- "Should we zoom in and open that specific chart?" (Open Node)
- "Should we look at the page before or after this one?" (Search/Expand)
- "Is this paragraph irrelevant? Let's ignore it." (Prune)
- Step 3: The Budget: The detective has a rule: "I can only look at 5 pages and open 10 details." If the answer is simple, they stop early. If the answer is complex and scattered across the book, they use their full budget to dig deeper.
3. The Final Report (Structured Rendering)
Once the detective has gathered the right clues, they don't just hand over a messy pile of papers. They organize the evidence into a clean, structured report. They show the AI the specific text, the exact crop of the chart, and the relevant page layout, stripping away all the noise.
Why It's Better (The Results)
The paper tested this on two difficult datasets (LongDocURL and MMLongBench-Doc) filled with long, complex documents.
- Accuracy: MAGE-RAG achieved about 52.75% accuracy on one test and 53.26% on the other, beating previous methods that relied on fixed page counts or text-only searches.
- Efficiency: It didn't just win by reading more; it won by reading smarter. It successfully found answers that were scattered across different pages or hidden inside complex layouts, which other systems missed.
- Transparency: Because the system keeps a "trace" (a log of every step it took), we can see exactly why it succeeded or failed. Did it miss the right page? Did it prune a clue too early? This makes the system easier to debug.
The Bottom Line
MAGE-RAG changes the game from "grab a few pages and hope for the best" to "build a map, follow the clues, and only show the AI exactly what it needs to solve the puzzle." It balances the need to see the big picture (the page) with the need to see the fine details (the specific chart or text), all while staying within a strict budget of time and resources.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.