LAD-RAG: Layout-aware Dynamic RAG for Visually-Rich Document Understanding
Zhivar Sourati, Zheng Wang, Marianne Menglin Liu, Yazhe Hu, Mengqing Guo, Sujeeth Bharadwaj, Kyu Han, Tao Sheng, Sujith Ravi, Morteza Dehghani, Dan Roth
TL;DR
Question answering over visually rich documents (VRDs) suffers from loss of layout context, overreliance on purely neural embeddings, and static retrieval strategies. LAD-RAG introduces a layout-aware dynamic retrieval framework that builds a symbolic document graph during ingestion and a neural index, then uses an LLM agent to adaptively retrieve evidence from both indices at inference time. The approach yields over 90% perfect recall on average without tuning, improves recall compared with strong baselines, and delivers significant end-to-end QA gains across four VRD benchmarks with minimal latency. This work demonstrates the value of jointly modeling document structure and content to enable complete, context-aware evidence gathering in complex, multi-page documents, with broad applicability to enterprise and scientific domains.
Abstract
Question answering over visually rich documents (VRDs) requires reasoning not only over isolated content but also over documents' structural organization and cross-page dependencies. However, conventional retrieval-augmented generation (RAG) methods encode content in isolated chunks during ingestion, losing structural and cross-page dependencies, and retrieve a fixed number of pages at inference, regardless of the specific demands of the question or context. This often results in incomplete evidence retrieval and degraded answer quality for multi-page reasoning tasks. To address these limitations, we propose LAD-RAG, a novel Layout-Aware Dynamic RAG framework. During ingestion, LAD-RAG constructs a symbolic document graph that captures layout structure and cross-page dependencies, adding it alongside standard neural embeddings to yield a more holistic representation of the document. During inference, an LLM agent dynamically interacts with the neural and symbolic indices to adaptively retrieve the necessary evidence based on the query. Experiments on MMLongBench-Doc, LongDocURL, DUDE, and MP-DocVQA demonstrate that LAD-RAG improves retrieval, achieving over 90% perfect recall on average without any top-k tuning, and outperforming baseline retrievers by up to 20% in recall at comparable noise levels, yielding higher QA accuracy with minimal latency.
