DocAtlas: Long-Document Understanding as Mutable-State Interaction

Hongchen Wei, Yuanzhe Wang, Bei Liu, Yifan Yang, Qi Dai, Kai Qiu, Yunsheng Li, Dongdong Chen, Chong Luo, Zhenzhong Chen, Baining Guo

TL;DR

DocAtlas reimagines long-document understanding by treating it as a dynamic, mutable-state interaction rather than a static retrieval task. By wrapping vision-language models (VLMs) in an environment equipped with search, read, note-taking, and review tools, it enables closed-loop information seeking and supports end-to-end reinforcement learning to drastically improve compact agents.

What Problem Does This Paper Address?

Analyzing massive, multi-page documents like financial reports or scientific papers is a major headache for current Vision-Language Models (VLMs). Shoving an entire hundred-page document into a model's context window quickly hits physical token limits and dilutes the model's attention, leading to missed details.

Standard Retrieval-Augmented Generation (RAG) fixes this by using a static index to fetch relevant pages before generation, but it gives the model zero control over refining its search based on what it learns along the way. While recent "agentic" systems allow multi-turn tool use, they typically rely on frozen, expensive proprietary models controlled purely by prompts, leaving no clear path to train smaller, open-weight models to navigate complex document layouts efficiently.

Methods

The authors introduce DocAtlas, which instantiates a mutable document harness—an external environment that dynamically tracks what information has been searched, read, and stored.

Figure 2: Overview of DocAtlas. The agent searches a mutable tree, reads selected document pages in multimodal form, writes structured notes that both compress context and update the retrieval state, reviews prior findings when needed, and finally produces an answer. Unlike static RAG, evidence gathered during reading changes the state used by later search and reasoning steps.

The system revolves around four core tools that interact with a mutable state:

  1. SEARCH: Navigates a hierarchical tree index of the document. Crucially, as the agent discovers facts, it writes them back to enrich this tree, meaning subsequent searches benefit from previous discoveries.
  2. READ: Decoupled from search, this tool lets the agent selectively pull multimodal page content, including raw text markdown, full-page layout images, and cropped sub-images (like charts or tables).
  3. NOTE: Saves structured, page-grounded evidence tuples (found, evidence, plan) to an active working memory. To prevent context bloat, it archives older, bulky page observations into short placeholders.
  4. REVIEW: Uses an auxiliary LLM to scan the note store and pull relevant "note cards" forward when the agent needs to synthesize information across distant pages.

Because the environment relies on a structured, step-by-step action space, the authors can train compact models (like Qwen3.5-4B) directly inside the harness using Group Relative Policy Optimization (GRPO) based entirely on final answer rewards.

Datasets

The system was evaluated across three demanding long-document understanding benchmarks:

  • MMLongBench-Doc: Focuses on long-context document understanding with heavy visual elements.
  • FinRAGBench-V: A multimodal financial domain RAG benchmark requiring visual citation.
  • LongDocURL: Used primarily to construct the reinforcement learning training trajectories via a pass@16 filtering approach.

Key Insights and Ideas

  • The Power of a Mutable Index: Unlike traditional RAG where the index is frozen, DocAtlas allows the agent to "write back" to the document tree. This creates a closed-loop feedback mechanism where early clues actively improve the recall of later searches.
  • RL Shifts Strategy, Not Just Style: When compact models undergo reinforcement learning in this environment, they don't just learn to format answers better; they fundamentally alter their tool-use strategy. RL-tuned models drastically reduce broad searching and significantly increase reading, note-taking, and reviewing behaviors.
  • Multi-Scale Visuals are Non-Negotiable: Ablation studies revealed that text-only extraction is insufficient. Models need both global spatial context (full-page layout images) and local details (high-resolution crops) to accurately parse complex charts and tables.

Key Results

DocAtlas achieves state-of-the-art performance, demonstrating that a well-designed interaction harness can elevate both massive proprietary models and smaller open-weight models:

Figure 1: Motivation and positioning of DocAtlas. (a) ✓, △, and ×denote full, partial, and absent support, respectively. Flexible interaction means that the agent can choose the order and arguments of tool calls rather than following a fixed pipeline; grounded memory means that source-attributed ev- idence can be stored and queried in later steps. DocAtlas combines mutable state, flexible interaction, grounded memory, and a trainable compact policy. (b) On MMLongBench-Doc, DocAtlas-Plus (our GPT-5.4 instantiation) exceeds the human-expert reference, while the same environment improves Qwen3.5-4B [27] from direct input to DocAtlas 4B and then to DocAtlas 4B+RL.
  • Exceeding Human Experts: Powered by GPT-5.4, DocAtlas-Plus achieved 71.4% accuracy on MMLongBench-Doc, surpassing the human-expert reference score of 65.8%.
  • Empowering Compact Models: A Qwen3.5-4B VLM trained with end-to-end RL inside DocAtlas jumped from a direct-input baseline of 54.4% to 63.7%, closing in on human-level performance despite its small size.
  • Ablation Impact: Removing layout images caused the largest performance drop (-5.7%), underscoring the critical nature of visual document structure over pure text parsing.

Limitations and Future Work

Despite its success, DocAtlas relies heavily on initial document preprocessing steps (like markdown extraction and visual parsing via tools like MinerU). Errors in this offline phase can cascade down and disrupt the agent's downstream search and reading capabilities.

Additionally, the environment uses frozen auxiliary LLMs to handle routing and memory selection inside the SEARCH and REVIEW tools. While robustness checks showed that open-weight models can step into this auxiliary role with minimal performance loss, the agent's ultimate success remains somewhat dependent on the quality of these frozen components. Future work aims to explore better reward designs to stabilize RL training further and scale the system to even broader document domains.

Summary updated

BibTeX
@inproceedings{wei2026docatlas,
  author = {Hongchen Wei and Yuanzhe Wang and Bei Liu and Yifan Yang and Qi Dai and Kai Qiu and Yunsheng Li and Dongdong Chen and Chong Luo and Zhenzhong Chen and Baining Guo},
  title = {{DocAtlas: Long-Document Understanding as Mutable-State Interaction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=wV6e00cQ2S},
}
Figure