DocSeeker: Structured Visual Reasoning with Evidence Grounding for Long Document Understanding

Hao Yan, Yuliang Liu, Xingchen Liu, Yuyi Zhang, Minghui Liao, Jihao Wu, Wei Chen, Xiang Bai

TL;DR

DocSeeker introduces a novel "Analysis, Localization, and Reasoning" (ALR) paradigm that dramatically improves how Multimodal Large Language Models (MLLMs) handle long, visually rich documents. By training the model to explicitly find and cite evidence pages before formulating an answer, DocSeeker achieves a 30-60% performance boost over baselines and generalizes robustly to ultra-long documents, even when trained only on short ones.

What Problem Does This Paper Address?

As documents grow from single pages to hundreds of pages, pure-visual MLLMs (which treat pages as images to preserve layout and style) suffer severe performance degradation. The authors identify two core bottlenecks causing this collapse:

  1. Low Signal-to-Noise Ratio (SNR): Crucial evidence is often buried within a vast sea of irrelevant pages, overwhelming the model's attention mechanisms.
  2. Supervision Scarcity: Most multi-page document datasets only provide final short answers. Without intermediate reasoning labels, models tend to learn fragile memorization shortcuts rather than genuine reasoning paths, leading to poor interpretability and weak out-of-distribution generalization.

Methods

To mimic human cognitive processes, the authors propose DocSeeker, built on top of the Qwen-2.5-VL-7B architecture. It introduces three core innovations:

  • The ALR Visual Reasoning Paradigm: Instead of outputting a direct answer, the model must follow a strict, interpretable path inside a <think> tag:
  • Question Analysis: Deconstruct the user's intent.
  • Evidence Localization: Scan the document and explicitly cite relevant page IDs.
  • Reasoning Process: Synthesize information from the located pages to derive the final answer.
  • Two-Stage Training Framework:
  • Stage I (Supervised Fine-Tuning): High-quality ALR Chain-of-Thought (CoT) data is distilled from Gemini-2.5-Flash using a clever "minimal context" prompting strategy (feeding the teacher model only the evidence pages plus a few distractors to ensure high-fidelity reasoning paths).
  • Stage II (Evidence-aware GRPO): Group Relative Policy Optimization (a reinforcement learning algorithm) is used to refine the model. It employs a multi-dimensional reward function that jointly optimizes for format correctness, evidence localization accuracy (using a weighted F1-score), and final answer accuracy.
  • Evidence-Guided Resolution Allocation (EGRA): To handle the massive memory footprint of multi-page training, EGRA keeps ground-truth evidence pages at high resolution (1024x1024) while randomly downsampling 70% of non-evidence pages to a lower resolution (256x256). This drastically reduces token counts while boosting the data's visual SNR.
Figure 1. Overview of Principal Experimental Results in Long Document Understanding (Left) and the ALR Reasoning Paradigm of DocSeeker (Right).

Datasets

  • Training: Sourced from MP-DocVQA and DUDE (documents up to 20 pages).
  • Evaluation:
  • In-Domain: MP-DocVQA and DUDE.
  • Out-of-Domain (OOD) & Long-Document: MMLongBench-Doc (up to 468 pages), LongDocURL (average 30 pages), and SlideVQA (up to 20 pages).

Key Insights and Ideas

  • Localization as a Shield Against Noise: Forcing the model to explicitly state where the evidence is before reasoning acts as a powerful regularizer. It prevents the model from getting lost in long-context noise.
  • Zero-Shot Length Generalization: Remarkably, despite being trained only on short-page documents (≤ 20 pages), DocSeeker generalizes seamlessly to ultra-long documents (>80 pages).
  • Synergy with Visual RAG: In Retrieval-Augmented Generation (RAG) systems, increasing the number of retrieved pages ($k$) usually introduces too much noise, causing standard models to fail. DocSeeker effectively solves this "top-$k$ dilemma" because its internal localization mechanism filters out the retriever's noise.

Key Results

  • Massive Performance Leaps: DocSeeker achieved a 30-60% performance gain across all five document VQA benchmarks compared to the baseline architecture.
  • Mitigating Long-Context Decay: On a subset of MMLongBench-doc with documents exceeding 60 pages, the baseline model's accuracy plummeted from 34.5% to 13.9% as length increased. DocSeeker remained highly robust, maintaining an accuracy of ~33.9%.
  • Competitive with Closed-Source Giants: DocSeeker outperformed advanced open-source models (like InternVL3) and achieved performance highly competitive with proprietary models like GPT-4o and Gemini-1.5-Pro on long-document tasks.

Limitations and Future Work

  • Dependence on Ground-Truth Labels for Training: The resolution allocation strategy (EGRA) relies on knowing which pages contain the ground-truth evidence during training. This makes it difficult to apply directly to completely unsupervised or weakly labeled datasets.
  • Future Directions: The authors suggest exploring extensions of this paradigm to multi-document reasoning scenarios and tighter, end-to-end integrations with visual retrieval pipelines.

Summary updated

BibTeX
@inproceedings{yan2026docseeker,
  author = {Hao Yan and Yuliang Liu and Xingchen Liu and Yuyi Zhang and Minghui Liao and Jihao Wu and Wei Chen and Xiang Bai},
  title = {{DocSeeker: Structured Visual Reasoning with Evidence Grounding for Long Document Understanding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=PoL16jhJRr},
}
Figure