Manuscript Offprint

arXiv:2608.28698

State-Conditioned Visual Evidence Retrieval for Fine-Grained Perception in Document Vision-Language Models

Mingxu Chai, Chenyu Liu, Ziyu Shen, Jiazheng Zhang, Kaidi Zhang, Ruoyu Chen, Jun Long, Jihua Kang, Tao Gui, Qi Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Compared with typical vision–language tasks, document parsing places stronger demands on fine-grained visual perception. Existing vision–language model (VLM)–based parsing approaches rely on globally compressed visual tokens, where fine-grained details are entangled within a single representation and repeatedly accessed during decoding. However, we observe that the visual evidence for each prediction is typically localized and conditioned on the current decoding state, whereas such representations must be accessed in full at every decoding step, resulting in inefficient computation. To address this mismatch, we formulate perception as state-conditioned visual evidence retrieval (SCVER) during autoregressive decoding. The model operates on a compact global representation for coarse structure and retrieves a small set of relevant high-resolution regions conditioned on the current token state. This coarse-to-fine design enables on-demand access to fine-grained visual cues, relieving globally shared representations from encoding all fine-grained details. We further find that learning such state-conditioned retrieval in VLMs is challenging and unstable. To stabilize this process, we introduce a Spatially-Guided Learning Objective (SGLO) to guide the retrieval process. Experiments on document parsing benchmarks show that SCVER improves robustness under reduced input resolution and achieves a better accuracy–efficiency trade-off, demonstrating the effectiveness of on-demand visual evidence retrieval for fine-grained perception.

1 Introduction

Document parsing aims to convert document images into machine-readable formats (Cui et al., 2025a). Unlike typical vision–language (VL) tasks

Figure

Figure 1: Accuracy vs. Input Size on UniMER-CPE (Wang et al., 2024a). Circle size indicates the average GFLOPs per generated token. SCVER reduces the reliance on high-resolution inputs, achieving a more favorable accuracy–efficiency trade-off compared to the dynamic-resolution MinerU2.5 (Niu et al., 2025) and the fixed-resolution Dolphin (Feng et al., 2025).

that primarily focus on cross-modal alignment and semantic reasoning, document parsing relies more on precise visual perception and fine-grained feature modeling (Wei et al., 2024).

Despite recent advances in VLM-based document parsing, most methods encode the entire image into a fixed set of visual tokens and rely on them throughout decoding (Niu et al., 2025). This forces a single global representation to capture both coarse semantics and fine-grained details, while requiring full interactions with all visual tokens at every decoding step. However, we observe that the visual evidence required for prediction is typically dynamic and spatially localized, with each step depending on only a small subset of regions. This creates a fundamental mismatch between localized, step-dependent evidence and global, fully accessed representations, leading to redundant computation. The problem further worsens as input resolution increases, since the number of visual tokens grows, making repeated full interactions increasingly ex-

*Equal contribution. †Corresponding author. Code: https://github.com/SII-sc22mc/SCVER.

Figure

(a) Single Layer Output

(b) Multi-Scale Input

(c) Pre-compression

(d) State-conditioned retrieval (Ours)

Figure 2: (a) Most VLMs only use final layer output. (b) LLaMA-Adapter (Zhang et al., 2024) injects multi-scale visual features into the decoder. (c) VIVL (Cao et al., 2024) uses a small set of fixed queries to gather multi-level features, but these sparse visual samples stay constant throughout decoding, offering limited information. (d) Taking MinerU2.5 (Niu et al., 2025) as an example, SCVER dynamically supplies pre-downsampling visual information required at each decoding step.

pensive under quadratic-cost attention (Zhang et al., 2025a).

Based on this observation, we reformulate visual perception as state-conditioned visual evidence retrieval (SCVER) during decoding, enabling on-demand access to fine-grained information. Instead of requiring a single global representation to encode all visual details upfront, the model first operates on compressed visual tokens to capture coarse structure and establish global text–vision alignment, and then dynamically retrieves a small set of relevant high-resolution regions conditioned on the current decoding state (Fig. 2(d)). As a result, global visual tokens are no longer required to preserve all fine-grained details, in contrast to conventional VLMs and multi-scale approaches that rely on pre-aggregated representations (Fig. 2(a–c)). This design reduces the dependence on high-resolution inputs while maintaining efficient decoding.

However, we find that naively applying SCVER leads to unstable optimization and limited gains. The difficulty stems from the absence of explicit spatial supervision in state-conditioned retrieval. While standard attention grounds relevance through query–key similarity, SCVER must predict retrieval locations directly, introducing latent spatial variables that are only indirectly supervised by token-level losses. This makes the spatial selection process underconstrained and prone to degenerate behaviors. To address this issue, we introduce a Spatially-Guided Learning Objective (SGLO), which provides explicit spatial guidance by leveraging the visual-token attention from an independent frozen-base forward as a weak spatial prior over relevant regions, thereby stabilizing the retrieval

process.

Our experiments show that SCVER consistently improves both efficiency and robustness, especially under reduced input resolution. When integrated with MinerU2.5 (Niu et al., 2025), it reduces computation by over 70% with negligible accuracy loss, leading to an improved accuracy–efficiency trade-off (Fig. 1). Moreover, SCVER significantly mitigates performance degradation under constrained resolutions, for example improving PubTabNet (Zhong et al., 2020) accuracy from 86.9 to 91.2 on MonkeyOCR (Li et al., 2025). The main contributions are summarized as follows:

  • We identify a mismatch between localized, state-dependent visual evidence and global representations in document VLMs.
  • We propose SCVER, a decoding-time mechanism that enables on-demand, token-specific access to fine-grained visual evidence.
  • We introduce the SGLO to stabilize retrieval learning without additional annotations.

References (31)