MoLoRAG: Bootstrapping Document Understanding via Multi-modal Logic-aware Retrieval

Xixi Wu, Yanchao Tan, Nan Hou, Ruiyang Zhang, Hong Cheng

Introduction

Large Vision-Language Models (LVLMs) have demonstrated remarkable proficiency in interpreting single-page documents. However, their application to multi-page documents is frequently hampered by limited input windows. To mitigate this, researchers typically employ Retrieval-Augmented Generation (RAG), a process where a system selects the most "relevant" pages to present to the model.

Traditional RAG systems rely heavily on semantic relevance, identifying pages that share linguistic or thematic similarities with a user's query. While effective for simple lookups, this approach often fails in complex reasoning scenarios. MoLoRAG introduces a "logic-aware" retrieval framework that moves beyond keyword matching, representing documents as structured graphs to uncover evidence pages that are logically essential, even if they lack obvious semantic overlap with the question.

The Semantic-Logical Gap

The core limitation of standard RAG is the gap between what a page says and what a page provides. For example, if a user asks for the "total overflow" across multiple industrial sites, a semantic retriever might prioritize a page that defines "overflow" or mentions the term frequently. However, the specific data tables required to calculate that total might reside on a different, less keyword-heavy page. MoLoRAG addresses this by prioritizing logical relevance, ensuring the retriever understands the structural and contextual connections between different parts of a document.

Methodology: The MoLoRAG Framework

MoLoRAG (Multi-modal Logic-aware RAG) operates through a two-stage process designed to navigate the complexities of multi-page layouts:

1. Graph-based Indexing

Instead of treating a document as a flat sequence of pages, MoLoRAG constructs a page graph. It utilizes a document encoder (ColPali) to generate embeddings for every page. If two pages exhibit visual or textual similarity above a predefined threshold, an edge is created between them. This graph captures the inherent flow of the document, including shared entities and cross-references.

2. Logic-aware Retrieval

The retrieval phase employs a dynamic traversal strategy:

  • Initialization: The system begins by selecting a small "exploration set" of pages using standard semantic similarity.
  • Graph Traversal: A lightweight VLM (such as Qwen2.5-VL) serves as the retrieval engine. It evaluates the logical utility of the current pages and "traverses" the graph to inspect their neighbors.
  • Scoring: By combining the semantic score from the encoder with a logical score from the VLM, the system re-ranks pages. This allows the model to "hop" from a page containing the query's keywords to a neighboring page containing the actual data needed for the answer.

Variants

The authors propose two versions of the system: MoLoRAG, a training-free, off-the-shelf solution, and MoLoRAG+, which is fine-tuned on a synthetic dataset of over 3,500 logic-aware triplets to sharpen its ability to judge page relevance.

Experimental Evaluation

The framework was evaluated against four challenging multi-page Document QA benchmarks:

  • MMLongBench-Doc: Focused on long-context understanding across text, charts, and tables.
  • LongDocURL: A benchmark for reasoning and precise location within long documents.
  • PaperTab & FetaTab: Benchmarks specifically targeting complex table reasoning within broader document contexts.

Key Insights and Results

  • Accuracy Improvements: MoLoRAG+ achieved an average 9.68% increase in accuracy over direct LVLM inference and consistently outperformed strong baselines like M3DocRAG and MDocAgent.
  • Retrieval Precision: The system demonstrated a 7.44% boost in retrieval precision, proving it is significantly more effective at identifying the specific evidence pages required for the final prompt.
  • Modality Agnostic Performance: While traditional OCR-based RAG often fails on figures (sometimes dropping below 10% accuracy), MoLoRAG maintains high performance across all modalities because it processes pages as images rather than raw text.
  • Efficiency: By using graph traversal, MoLoRAG avoids the need to scan every page in a document. As document length increases, the system actually queries a smaller percentage of the total pages compared to exhaustive scanning methods.

Limitations and Future Work

Currently, MoLoRAG is optimized for understanding a single long document. Extending this logic-aware approach to "open-domain" RAG—searching across thousands of unrelated documents—remains a significant challenge, as building meaningful graphs between disparate sources is non-trivial. Additionally, while more efficient than exhaustive VLM scanning, the iterative nature of graph traversal introduces more computational overhead than simple vector searches. Future research may focus on more sophisticated graph construction methods, such as explicitly detecting "See page X" references or section headers.

Summary updated

BibTeX
@misc{wu2025molorag,
  author = {Xixi Wu and Yanchao Tan and Nan Hou and Ruiyang Zhang and Hong Cheng},
  title = {{MoLoRAG: Bootstrapping Document Understanding via Multi-modal Logic-aware Retrieval}},
  year = {2025},
  eprint = {2509.07666},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.07666},
}
Figure