TL;DR
Doc-V* is an OCR-free, agentic framework that solves multi-page document reasoning by mimicking human reading behavior. Instead of processing entire documents at once or relying on passive retrieval, it uses a coarse-to-fine strategy—starting with a global thumbnail overview and iteratively fetching high-resolution pages—achieving up to a 47.9% performance boost over standard RAG baselines.
What Problem Does This Paper Address?
Understanding long, visually rich documents (like financial reports or academic papers) is a massive challenge for AI. Current approaches generally fall into two camps, both with significant flaws:
- End-to-End Vision Models: These try to "read" every page as an image sequence. They struggle with long documents due to quadratic attention costs and the "lost-in-the-middle" effect, where models forget information buried in the center of a long context.
- Visual RAG (Retrieval-Augmented Generation): These systems retrieve a fixed number of pages ($k$) and feed them to a model. This is "passive"—if the retriever misses the evidence, the model has no way to go back and look for it.
Furthermore, traditional pipelines often rely on OCR (Optical Character Recognition) to turn images into text, which inevitably loses crucial layout cues (like the position of a figure relative to text) and suffers from cascading errors when the OCR fails.
Methods
The authors propose Doc-V, an agentic framework built on the Qwen-2.5-VL architecture. It treats document reasoning as a Sequential Decision Process*.
The "Active Perception" Workflow
Instead of being fed a static set of pages, the Doc-V* agent interacts with the document environment through a structured loop:
- Global Thumbnail Overview: The agent starts by looking at a low-resolution grid of all pages. While the text is unreadable, the agent can see structural cues like charts, titles, and layouts.
- Action Space: The agent can choose three types of actions:
retrieval_page: Perform a semantic search (like a visual "Ctrl+F") to find relevant pages.fetch_page: Request specific high-resolution pages based on indices seen in the thumbnail or mentioned in the text.answer: Terminate the loop and provide the final response.- Structured Reasoning (ReAct): At each step, the agent must follow a "Think-Act" protocol. It analyzes new evidence, updates its plan, and summarizes findings into a Working Memory that persists across turns.
Training with GRPO
The model is trained in two stages. First, it undergoes Supervised Fine-Tuning (SFT) on high-quality trajectories generated by GPT-4o. Second, it is optimized using Group Relative Policy Optimization (GRPO)—a reinforcement learning technique that rewards the agent for both answer accuracy and evidence-seeking efficiency.
Datasets
The model was trained and evaluated on a variety of benchmarks to test both in-domain and out-of-domain (OOD) performance:
- Training/In-Domain: MP-DocVQA (multi-page document VQA) and DUDE (Document Understanding Dataset and Evaluation).
- Out-of-Domain/Long-Context: SlideVQA (presentation slides), LongDocURL (web-based documents), and MMLongBench-Doc (extremely long documents up to 468 pages).
Key Insights and Ideas
- Active Compensation: Unlike passive RAG, Doc-V* can detect when its initial retrieval failed. If the fetched pages don't contain the answer, the agent can "realize" this in its analysis phase and try a different search query or fetch adjacent pages.
- Token Efficiency: The Global Thumbnail Overview provides a 10x–12x compression ratio compared to full-resolution ingestion, allowing the agent to maintain a global context without blowing up the computational budget.
- Selective Attention > Context Length: The results suggest that the bottleneck in long-document VQA isn't necessarily context window size, but the model's ability to filter out noise. Doc-V* succeeds by keeping the input "high-signal" through selective fetching.
Key Results
Doc-V* achieved state-of-the-art results among open-source models:
- Surpassing Proprietary Models: On the DUDE benchmark, Doc-V reached 64.5 ANLS*, outperforming both GPT-4o (54.1) and Claude-3.7-Sonnet (58.1).
- Long-Document Robustness: In the longest-document regime (>80 pages), Doc-V outperformed static RAG by 31.7% and "All Pages" baselines by 85.8%*.
- Generalization: It showed a 47.9% improvement over RAG baselines in out-of-domain settings, proving that the agentic strategy generalizes better than fixed retrieval patterns.
Limitations and Future Work
- Single Backbone: The study focused exclusively on the Qwen-2.5-VL backbone; it remains to be seen how these agentic behaviors translate to other vision-language models.
- Single-Document Focus: The current framework is designed for reasoning within one document. The authors note that multi-document scenarios, where evidence is scattered across heterogeneous files, require further study.
- Hallucination Risk: Like all LLM-based agents, there is a risk of the model "hallucinating" evidence during its internal analysis or summary phases, especially on highly ambiguous documents.
Summary updated