TL;DR
LAD-RAG (Layout-aware Dynamic RAG) moves beyond simple text-chunking by building a symbolic graph of a document's layout and cross-page relationships. By pairing this structural map with a dynamic LLM retriever agent, it achieves over 90% perfect recall on complex, multi-page visual documents where traditional vector-search methods often fail.
What Problem Does This Paper Address?
Conventional Retrieval-Augmented Generation (RAG) treats documents as a linear sequence of isolated text chunks. While this works for simple prose, it fails miserably for Visually-Rich Documents (VRDs) like financial reports, slide decks, and scientific papers.
The authors identify three "deal-breakers" in current RAG pipelines:
- Loss of Layout Context: Chunks lose their relationship to headers, captions, or the "flow" of a multi-page table.
- Over-reliance on Embeddings: Semantic search struggles with symbolic cues (e.g., "Find the source for Table 3" or "Look at the footnote on page 12").
- Static top-k Retrieval: Traditional RAG retrieves a fixed number of chunks (e.g., top 5), regardless of whether the question needs one sentence or twelve different charts to answer.
Methods
LAD-RAG introduces a two-phase approach that mimics how a human reads and navigates a document.
1. Ingestion: Building the "Document Graph"
Instead of just "chunking and dinking," LAD-RAG uses a Large Vision-Language Model (LVLM) to parse each page.
- Nodes: Every element (paragraph, table, figure, header) becomes a node with rich attributes (font, color, position).
- Edges: The system maintains a "running memory" during ingestion to create edges between related elements, capturing section hierarchies and cross-page continuations.
- Dual Indexing: The result is stored in two forms: a Neural Index (for standard semantic search) and a Symbolic Graph Index (for structural navigation).
2. Inference: The Dynamic Retriever Agent
At query time, an LLM agent takes the wheel. Instead of a single vector search, the agent uses a toolset to explore the document:
NeuroSemanticSearch: Standard embedding-based retrieval.SymbolicGraphQuery: Filters nodes by type or position (e.g., "Get all figures in the 'Results' section").Contextualize: Expands a retrieved node to include its neighbors in the graph, ensuring the model sees the "big picture" around a specific piece of evidence.
Datasets
The authors evaluated LAD-RAG on four challenging benchmarks that require reasoning over complex layouts:
- MMLongBench-Doc: Expert-annotated questions over lengthy PDFs.
- LongDocURL: A benchmark where over 50% of questions require multi-page evidence.
- DUDE: A large-scale multi-domain document understanding dataset.
- MP-DocVQA: Multi-page visual question answering.
Key Insights and Ideas
- Layout is Semantic: The paper argues that document structure isn't just "formatting"—it's a fundamental part of the information. A caption is useless without its figure; a list item is meaningless without its parent header.
- The "Perfect Recall" Goal: In multi-page reasoning, missing even one piece of the puzzle usually leads to a hallucination or an "I don't know" response. LAD-RAG prioritizes Perfect Recall (PR)—the ability to retrieve all necessary pages—over simple precision.
- Efficiency through Agency: Surprisingly, letting an agent "think" about retrieval doesn't add massive latency. Most queries only require 2–5 small LLM calls to navigate the graph, which is a drop in the bucket compared to the final answer generation.
Key Results
- Near-Perfect Retrieval: LAD-RAG achieved over 90% perfect recall on average across all datasets without any manual tuning of "k" (the number of retrieved items).
- Outperforming Baselines: It beat state-of-the-art retrievers like ColPali and RAPTOR by up to 20% in recall at comparable noise levels.
- Downstream QA Boost: Better retrieval led to significant gains in final answer accuracy, especially on multi-page questions where it outperformed top-k baselines by up to 18 percentage points.
- Minimal Overhead: More than 97% of the agent's retrieval calls generated fewer than 100 tokens, keeping the system fast and cost-effective.
Limitations and Future Work
- Ingestion Bottleneck: Using a high-end LVLM (like GPT-4o) to parse every page of a document during ingestion is expensive. The authors suggest that smaller, specialized models or traditional OCR pipelines could eventually handle the "node extraction" phase to save costs.
- The Reasoning Gap: Even with the perfect evidence in hand, the final QA models still occasionally failed to reason correctly. This suggests that while LAD-RAG solves the retrieval problem, the reasoning bottleneck in LLMs remains an open challenge.
- Scaling to Massive Libraries: The current work focuses on retrieving within a single (albeit long) document. Extending this graph-based approach to search across thousands of different documents is a logical next step.
Summary updated