Manuscript Offprint

arXiv:2611.26318

ResVision: Spectrum-Matched Resizing and Context-Preserving Inspection for Visual Reasoning

Guojian Zhan, Jiahao Xu, Yahui Liu, Yao Hu, Chuan Mu

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

Abstract

Agentic visual reasoning improves vision–language models by selectively enlarging evidence without adding new scene content, but the benefit depends on whether fine structure remains accessible and whether local observations stay grounded in the full scene. We identify three recurring bottlenecks: high-frequency detail can be attenuated during visual-token formation; spatially distributed evidence can remain encoded yet difficult for the language model to retrieve; and isolated crops can weaken whole–detail correspondence through scale and positional mismatch. ResVision addresses these limitations with two complementary components. Spectrum-Matched Resizing (SMR) estimates image complexity and selects an adaptive global sampling scale, avoiding unnecessary enlargement on simple inputs while allocating more visual tokens to detail-rich images. Context-Preserving Inspection (CPI) returns each inspected crop together with the complete working view, preserving local detail and global context across tool turns. We evaluate Direct and Agentic variants on four frontier VLMs and 29 benchmarks spanning six visual-reasoning families. Complete ResVision (Agentic Base+SMR+CPI) is best for every model, improving by 3.36–4.94 points over Direct Base and 1.87–2.94 points over Agentic Base. These results show that adaptive visual sampling and context-preserving inspection address distinct, complementary constraints in multimodal reasoning.

[ BoldFont=texgyrepagella-bold.otf, ItalicFont=texgyrepagella-italic.otf, BoldItalicFont=texgyrepagella-bolditalic.otf ] [ BoldFont=texgyreheros-bold.otf, ItalicFont=texgyreheros-italic.otf, BoldItalicFont=texgyreheros-bolditalic.otf ] [ BoldFont=texgyrecursor-bold.otf, ItalicFont=texgyrecursor-italic.otf, BoldItalicFont=texgyrecursor-bolditalic.otf ] \setcitestylenumbers,square,comma,sortcompress

\fancyhead

\outfit ResVision: Spectrum-Matched Resizing and Context-Preserving Inspection for Visual Reasoning AllSpark Team \outfit Date: November 18, 2026 Project Page: https://pevek.ai Resources: GitHub · HuggingFace · ModelBlog

Figure 1: Accuracy across six benchmark families and four VLMs. ResVision denotes SMR in Direct mode and SMR+CPI in Agentic mode; values are three-run means.

(a) Where presentation enters the visual-token pathInputimageStage 1patch projectionStage 2contextualizationStage 3spatial mergeStage 4LLM inputSMRScale before tokenizationCPIPreserve whole–detail context(b) Intra-token attenuationFigure Fine structure is mixed with nearby texture inside each token region. SMR moves useful structure into the encoder’s accessible frequency band. (c) Cross-token retrievalFigure A coherent object stays encoded, but its evidence spans neighboring tokens. SMR redistributes evidence across the token grid for easier retrieval. (d) Whole–detail reference gapFigureFigure An isolated crop changes origin and scale, removing scene landmarks. CPI keeps the complete view beside each inspected detail to preserve spatial reference.

Figure 2: Three mechanisms underlying the benefits and failures of agentic inspection. Fine details may be attenuated within visual tokens; distributed evidence may be difficult to retrieve; and isolated crops may weaken whole–detail correspondence. SMR targets evidence accessibility by adapting scale before tokenization, while CPI targets correspondence by retaining the complete working view with each inspected detail.

1 Introduction

Agentic visual reasoning often improves the accuracy of vision-language models (VLMs) over direct inference through iterative visual inspection [Bajcsy(1988), Mnih et al.(2014)Mnih, Heess, Graves, and Kavukcuoglu, Yao et al.(2023)Yao, Zhao, Yu, Du, Shafran, Narasimhan, and Cao, Wu and Xie(2024), Han et al.(2026)Han, Hu, Qiu, Wu, and He]. The model selects a region, enlarges it, examines the result, and decides where to inspect next. Yet these operations introduce no new scene content and merely change how existing pixels are presented to the model. This raises a fundamental question: how can changes in visual presentation substantially alter reasoning performance?

We investigate this puzzle through a systematic analysis of visual tokenization and its effects on downstream reasoning [Dosovitskiy et al.(2021)Dosovitskiy, Beyer, Kolesnikov, Weissenborn, Zhai, Unterthiner, Dehghani, Minderer, Heigold, Gelly, Uszkoreit, and Houlsby, Liu et al.(2021)Liu, Lin, Cao, Hu, Wei, Zhang, Lin, and Guo, Dehghani et al.(2023)Dehghani, Mustafa, Djolonga, Heek, Minderer, Caron, Steiner, Puigcerver, Geirhos, Alabdulmohsin, Oliver, Padlewski, Gritsenko, Lucic, and Houlsby, Beyer et al.(2023)Beyer, Izmailov, Kolesnikov, Caron, Kornblith, Zhai, Minderer, Tschannen, Alabdulmohsin, and Pavetic, Ryoo et al.(2021)Ryoo, Piergiovanni, Arnab, Dehghani, and Angelova, Rao et al.(2021)Rao, Zhao, Liu, Lu, Zhou, and Hsieh, Bolya et al.(2023)Bolya, Fu, Dai, Zhang, Feichtenhofer, and Hoffman], identifying three mechanisms. Figure 2 illustrates the first two across Stages 1–3 of visual-token processing. When a full image is encoded, fine details may be attenuated within individual visual tokens, reflecting an Intra-Token Bandwidth Limit. By contrast, evidence distributed across neighboring tokens may remain encoded but difficult to retrieve during reasoning, resulting in a Contiguous-Token Retrieval Breakdown. Cropping and enlargement can alleviate both limitations by reallocating visual tokens to selected regions. However, image dimensions alone cannot determine the appropriate scale: a smooth photograph, a dense diagram, and a fine texture can have similar dimensions yet require different sampling densities [Li et al.(2024)Li, Yang, Liu, Ma, Zhang, Yang, Sun, Liu, and Bai, Xu et al.(2024)Xu, Yao, Guo, Cui, Ni, Ge, Chua, Liu, Sun, and Huang, Hong et al.(2024)Hong, Wang, Lv, Xu, Yu, Ji, Wang, Wang, Dong, Ding, and Tang].

The third mechanism arises when a selected crop is re-encoded as an independent image at Stage 4. The crop has a new origin and scale, while surrounding objects, competing candidates, and spatial landmarks are excluded from the local view. This creates a potential Whole–Detail Reference Gap: the detail becomes easier to see but harder to locate within the full image, compare with alternatives, or interpret in context [Peng et al.(2024)Peng, Wang, Dong, Hao, Huang, Ma, Ye, and Wei, You et al.(2024)You, Zhang, Gan, Du, Zhang, Wang, Cao, Chang, and Yang]. A clearer crop can therefore lead to a less accurate answer than the complete image alone. Reliable agentic reasoning must make fine details accessible while preserving their correspondence to the full scene.

We introduce ResVision, a training-free framework that addresses these challenges through two complementary techniques. Spectrum-Matched Resizing (SMR) estimates each image’s fine-structure demand and selects the minimum global scale that places representative spatial frequencies within the visual-token passband under a bounded visual-token budget. Using the resulting working view, the VLM selects regions for closer inspection. Context-Preserving Inspection (CPI) returns each enlarged crop alongside the complete working view as separate, labeled image inputs. The crop provides local detail, while the complete view retains the spatial context and alternative evidence needed for interpretation. SMR adapts global sampling, the VLM selects where to inspect, and CPI maintains the full-image reference.

We evaluate these mechanisms through controlled diagnostics and downstream reasoning tasks. Mechanistic probes trace representations from patch projection to the positioned image blocks provided to the language model, revealing information attenuation, retrieval failure, and weakened whole–detail correspondence. Across four VLM families and 29 benchmarks, complete ResVision (Agentic Base+SMR+CPI) reaches a four-model mean Macro-29 of 75.93, improving by 3.88 points over Direct Base and 2.28 points over Agentic Base (VISTA). The gains hold for every model: 3.36–4.94 points over Direct Base and 1.87–2.94 points over Agentic Base. Focused component ablations on five diagnostic benchmarks further demonstrate the complementary contributions of SMR and CPI.

Our contributions are threefold. (1) We identify three mechanisms underlying agentic visual reasoning: Intra-Token Bandwidth Limit, Contiguous-Token Retrieval Breakdown, and Whole–Detail Reference Gap, explaining both the benefits and failure modes of local inspection. (2) We introduce SMR, which replaces fixed visual-token allocation with an image-adaptive rule that selects the minimum global scale needed to place representative spatial frequencies within the visual-token passband. (3) We introduce CPI, which pairs each selected crop with the complete working view, preserving a full-image reference for locating, comparing, and interpreting local evidence throughout multi-turn reasoning.

References (97)

  • A visual language model for few-shot learning
  • Qwen-VL: A versatile vision-language model for understanding, localization, text reading, and beyond, 2023
  • FlexiViT: One model for all patch sizes
  • Token merging: Your ViT but faster
  • ViP-LLaVA: Making large multimodal models understand arbitrary visual prompts
  • Visual reasoning beyond language (opens arXiv in a new tab)
  • A jointly-scaled multilingual language-image model
  • InternVL: Scaling up vision foundation models and aligning for generic visual-linguistic tasks
  • InstructBLIP: Towards general-purpose vision-language models with instruction tuning
  • DeepSeek-AI. DeepSeek-V4.1-Flash: Pushing the limits of KV cache compression. arXiv preprint arXiv:2609.19969, 2026. (opens arXiv in a new tab)
  • Patch n’ pack: NaViT, a vision transformer for any aspect ratio and resolution
  • An image is worth 16x16 words: Transformers for image recognition at scale
  • BLINK: Multimodal large language models can see but not perceive (opens arXiv in a new tab)
  • Interleaved-modal chain-of-thought
  • Beyond seeing: Evaluating multimodal LLMs on tool-enabled image perception, transformation, and reasoning (opens arXiv in a new tab)
  • Visual programming: Compositional visual reasoning without training
  • VISTA: A Visual Harness for Reasoning in an Interactive World
  • CogAgent: A visual language model for GUI agents
  • Visual sketchpad: Sketching as a visual chain of thought for multimodal language models
  • Visual funnel: Resolving contextual blindness in multimodal large language models
  • VisualWebArena: Evaluating multimodal agents on realistic visual web tasks
  • Pix2Struct: Screenshot parsing as pretraining for visual language understanding
  • BLIP-2: Bootstrapping language-image pre-training with frozen image encoders and large language models
  • Monkey: Image resolution and text label are important things for large multi-modal models
  • Visual instruction tuning
  • LLaVA-Plus: Learning to use tools for creating multimodal agents
  • Swin transformer: Hierarchical vision transformer using shifted windows
  • Recurrent models of visual attention
  • Kimi K3: Open frontier intelligence
  • How do vision transformers work? In International Conference on Learning Representations, 2022
  • Grounding multimodal large language models to the world
  • Evaluation, efficiency, and training stability, 2026
  • Learning transferable visual models from natural language supervision
  • DynamicViT: Efficient vision transformers with dynamic token sparsification
  • TokenLearner: Adaptive space-time tokenization for videos
  • Visual CoT: Advancing multi-modal language models with a comprehensive dataset and benchmark for chain-of-thought reasoning (opens arXiv in a new tab)
  • ViperGPT: Visual inference via Python execution for reasoning
  • Eyes wide shut? exploring the visual shortcomings of multimodal LLMs
  • Vision language models are biased (opens arXiv in a new tab)
  • Visual ChatGPT: Talking, drawing and editing with visual foundation models, 2023
  • V*: Guided visual search as a core mechanism in multimodal LLMs
  • OSWorld: Benchmarking multimodal agents for open-ended tasks in real computer environments
  • LLaVA-UHD: an LMM perceiving any aspect ratio and high-resolution images (opens arXiv in a new tab)
  • MM-REACT: Prompting ChatGPT for multimodal reasoning and action (opens arXiv in a new tab)
  • ReAct: Synergizing reasoning and acting in language models
  • Ferret: Refer and ground anything anywhere at any granularity
  • GPT-4V(ision) is a generalist web agent, if grounded
  • Max denotes the highest supported reasoning effort for each model
  • For paired comparisons, we first average each method’s score on each question across the three runs, then compute 95% confidence intervals by resampling questions within each benchmark, using the same bootstrap samples for all methods
  • Table A.3 gives the evaluated snapshot sizes, totaling 1,679 questions
  • Real image–question examples from our evaluation snapshots, with reference answers
  • Table B.1 gives the three individual runs behind each aggregate
  • All three runs contribute to the aggregate results
  • We compute 95% confidence intervals with 20,000 within-benchmark question-bootstrap replicates (seed 20261102), sharing each resample across methods
  • Persistent errors fall from VISTA’s 1,243 to 892, a 28.2% reduction
  • The Direct+SMR control and fixed-allocation study use Kimi-K3 and Qwen3.8-Flash-Next; the agentic component design additionally covers GLM-5.3-Flash and DeepSeek-V4.1-Flash-1017
  • The agentic comparison forms a complete $2\times 2$ design
  • Within agentic inference, each isolated component improves Macro-5 over VISTA for every model, and complete ResVision is best in all four cases
  • The table’s Original row is the SMR-only, no-CPI component control, whereas SMR (adaptive) is complete ResVision
  • Each sweep changes one inference factor while holding the others at the main-experiment defaults, and all measurements use complete ResVision with SMR and CPI. Figure D.3 provides the overview; the tables retain every setting and individual run
  • Across all three settings, the ranges are 3.01 points for Kimi-K3 and 2.40 for Qwen
  • These results separate the output allowance from the visual-token allocation studied in Sec
  • R1–R3 are the three independent runs; all are included in the mean and sample standard deviation
  • Its vision stack uses $16\times 16$ input patches, a 27-layer ViT of width 1,152, and a $2\times 2$ merger producing 2,048-dimensional visual tokens
  • The product $W_{2}W_{1}$ summarizes the merger’s linear weights before its activation
  • These measurements indicate anisotropic sensitivity
  • The decoder is fitted on 2,560 input patches of size $32\times 32$ and evaluated on 512 held-out patches
  • $R^{2}$ is the normalized spectral reconstruction score, and $T$ is the reconstructed-to-input amplitude ratio, providing an empirical modulation-transfer analogue for the fitted encoder–decoder path
  • The probe measures $d_{\cos}=1-\cos(v_{0},v_{\pi})$ between the two representations
  • For each value of $K$, we generate 60 independently arranged strips
  • A ridge-linear classifier $Wx+b$ with coefficient $0.1$ is trained on 45 strips per count and evaluated on the remaining 15 while the VLM remains frozen
  • We report greedy exact-match accuracy and the normalized probability assigned to the correct one- or two-digit integer
  • During dense counting, the peak attended visual-token coordinate reaches the right edge before all objects have been enumerated
  • (a) Dense counting drives the visual attention pointer to the grid boundary before enumeration is complete
  • These measurements support the accessibility account in Sec
  • A target $N_{i}$ gives $s_{i}=\sqrt{N_{i}p^{2}/(W_{i}H_{i})}$
  • Each run records the backend’s processed dimensions and image-token count
  • The resized set $\bar{G}$ is supplied initially, used for cropping, and repeated in each CPI reply
  • The local renderer, output-size allowance, and global interpolation rule are held fixed across conditions
  • Grid alignment remains within the resulting allocations
  • Fixed-token resizing provides the frequency-independent control
  • Its unit is one judged prediction for one model, run, and question, giving $4\times 3\times 1{,}679=20{,}148$ predictions per method
  • a cue may be difficult to distinguish at the full-image scale, or it may be visible but used incorrectly
  • CPI supplies grounding for the first four, while the complete interaction can also support systematic coverage and reconciliation
  • 29.8% for referent binding, 28.6% for candidate contrast, 26.7% for spatial consistency, 12.5% for local-detail overinterpretation, 35.7% for coverage/count aggregation, and 28.3% for other errors
  • Across the taxonomy, 2,518 predictions are fixed and 936 regress, a net gain of 1,582 question-matched predictions ($p<10^{-99}$, exact two-sided McNemar test)
  • ResVision preserves that role while inspecting the detail
  • It is correct once, but the count changes across runs because the small marks are difficult to read reliably in the full table
  • Its crop makes the marks larger, but removes the row and column headers
  • It first locates column D and row 6 in the full table, then enlarges only their intersection and counts the three marks there
  • Each local match must therefore stay linked to its source row, requested angle, and final option number
  • It can recognize some rotated patterns, but does not keep all three row-specific correspondences correct at once
  • Enlarged wedges clarify the local color order, yet the row-to-angle-to-option bookkeeping is lost in two runs
  • It uses local views to resolve wedge order while the full layout keeps row 1, row 2, and row 3 tied to the right transformations and options
  • All three totals are too small, which is consistent with losing cells while reading a dense grid at its original scale
  • Zooming makes a local group of cells easier to read, but the totals move above and below the truth because there is no explicit record of which positions have already been counted
  • It treats the full lattice as a ledger, records the row totals $2,3,5,7,3,7,10,8,4,5,0$, and checks that every cell contributes exactly once before summing them