Manuscript Offprint

arXiv:2610.12060

Look Back, Think Ahead: Visual Memory on Demand for Efficient Multimodal Reasoning

Yicheng Xue, Han Wu, Jufeng Yang, Minjing Dong, Xinghao Chen, Hanting Chen, Jianyuan Guo

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

ABSTRACT

Processing long visual token sequences from high-resolution images makes multi-step reasoning computationally expensive for multimodal Large Language Models (MLLMs). Existing one-shot pruning and aggregation methods compress visual tokens into a fixed context before decoding. However, visual evidence needs can shift as reasoning unfolds, making it difficult for a fixed compressed context to retain all the details needed across stages. To address this challenge, we propose ViMoD, a lightweight framework that maintains a compact visual context while preserving access to original fine-grained evidence as reasoning needs evolve. Deformable Aggregation of Region-wise Tokens (DART) learns content-adaptive groups and aggregation capacities, constructing compact Coarse representations linked to recoverable original Fine tokens. Temporal Routing for Adaptive Contextual Evidence (TRACE) integrates decoding history to anticipate upcoming evidence needs and select, retain, or replace active Fine-token groups. Selected Fine tokens augment the persistent Coarse context in the frozen backbone, enabling stage-specific evidence access without continuously attending to all visual tokens. On Qwen3-VL-4B, ViMoD outperforms all evaluated baselines on all eight reasoning benchmarks at a 20% target visual token budget, improving the mean normalized score by 39.0% over the strongest evaluated one-shot baseline. These gains are achieved with only 0.0546% additional trainable parameters relative to the frozen backbone.

1 INTRODUCTION

Multimodal Large Language Models (MLLMs) (Bai et al., 2025; Wang et al., 2025; Team et al., 2025; Hong et al., 2025) support diverse visual understanding and reasoning tasks. However, processing long visual token sequences incurs substantial inference costs, particularly for high-resolution inputs. Visual token compression offers a practical way to reduce these costs.

Existing methods, including FastV (Chen et al., 2024a), VisionZip (Yang et al., 2025a), and DivPrune (Alvar et al., 2025), reduce this cost by pruning or merging visual tokens. Many compress the visual context early in inference and keep the resulting compact representation fixed throughout decoding, a strategy we refer to as one-shot visual compression. Although this strategy reduces computation per generated token, it raises two questions for multi-step visual reasoning: Can a fixed compressed context efficiently support changing visual evidence needs? Do per-token savings reduce total decoding cost over a complete response?

Visual evidence needs can shift across successive stages of reasoning. In the triangle-perimeter example in Fig. 1, regions with high gradient-based visual contribution change across successive portions of the response. We quantify this variation using the average turnover of highly attributed visual tokens between adjacent decoding windows as a proxy for changes in visual demand (Appendix C.5). Larger shifts are associated with lower answer retention when 50% of visual tokens are retained.

∗^{*}Corresponding author.

Question: △LMN∼△QRS\triangle LMN \sim \triangle QRS. Find the perimeter of △LMN\triangle LMN.

LLM reasoning across decoding stages

01 Overview

02 Scale

03 Base

04 Hypotenuse

Figure

L ↔\leftrightarrow Q ⋅\cdot M ↔\leftrightarrow R ⋅\cdot N ↔\leftrightarrow S

Area (E 1_{1}) 34.7%

k = LN/QS = 5/12

Area (E 2_{2}) 9.3%

LM = 35k ≈ 14.6

Area (E 3_{3}) 1.6%

MN = 37k ≈ 15.4

Area (E 4_{4}) 1.7%

Evidence union

U=E1∪E2∪E3∪E4U = E_1 \cup E_2 \cup E_3 \cup E_4

Area (% of image)

Stage mean

Union

11.8%

36.5%

Figure 1: Visual contribution changes across different reasoning stages. The model first forms an overview of the triangle diagram, determines the scale factor from 5 and 12, and reads the known base and hypotenuse, 35 and 37. Heatmaps show gradient-based visual token contribution at selected decoding stages; warmer colors indicate higher contribution relative to other tokens in the same stage. The right panel combines the corresponding regions into U=E1∪E2∪E3∪E4U = E_1 \cup E_2 \cup E_3 \cup E_4. These regions occupy 11.8% of the image on average per stage, whereas their union occupies 36.5%, counting overlapping areas once.

(a) Answer retention

Figure

(b) Evidence access

Figure

Figure 2: Visual demand and evidence access. (a) On MathVerse at 50% token retention, the fraction of baseline-correct examples remaining correct after compression, grouped by visual-demand variation; error bars show SEM. (b) On MMMU-Pro, the same Qwen3.8-annotated regions are accessed stage by stage (Dynamic access) or as their union (Fixed oracle), alongside VisionZip and FastV. Accuracy is normalized to Full; bands show standard deviation.

(Fig. 2(a)). This association suggests that a fixed compressed representation may fail to preserve evidence needed at different reasoning stages.

Even with advance knowledge of the required regions, a fixed context can require a larger visual token budget than stage-specific access. To examine this, we compare Dynamic access, which provides annotated regions at their corresponding reasoning stages, with Fixed oracle, which receives the union of all stage-specific annotated regions at the start of generation. At 70% of Full's accuracy, the interpolated visual token budgets are approximately 23.9% for Dynamic access and 36.0% for Fixed oracle (Fig. 2(b)). This comparison suggests that efficient visual compression depends not only on which evidence is retained, but also on how that evidence is made available across reasoning stages.

Per-token savings also do not necessarily reduce total decoding cost. For FastV on MathVerse, longer responses at several retention ratios offset the reduction in FLOPs per generated token, increasing estimated total decoder FLOPs relative to the uncompressed baseline (Fig. 3). Compression efficiency must therefore be evaluated over complete responses.

Together, these findings motivate a framework that adapts visual evidence access to evolving reasoning needs while reducing computation over complete responses. Recoverable visual memory enables a compact active context without permanently discarding fine-grained evidence. Existing recovery methods such as DSTP (Kim et al., 2026) rely on decoding-time attention changes. This signal reflects the model's current interaction with the visual context, whereas recalled evidence may remain

(a) Early entropy + (b) Text similarity →\rightarrow (c) Output length →\rightarrow (d) Decoder FLOPs

Figure

Change vs. Full (%)

Figure 3: From per-token savings to response-level cost. FastV on MathVerse; horizontal axes show percentage changes relative to the uncompressed baseline. (a) Early next-token entropy reflects predictive uncertainty. (b) Neighboring-window embedding similarity measures the similarity of successive content. (c) Output length counts generated tokens. (d) Estimated decoder FLOPs compare amortized cost per generated token (circles) with total response cost (diamonds). At several retention ratios, longer responses outweigh per-token savings, increasing total decoder computation.

active over subsequent steps. We therefore seek to learn both a compact, recoverable visual memory and a recall policy that uses decoding history to anticipate upcoming evidence needs.

To this end, we propose ViMoD: Visual Memory on Demand, coupling learned visual memory with adaptive access to fine-grained visual tokens (Fine) and targeting a low average active visual token budget during decoding. Deformable Aggregation of Region-wise Tokens (DART) learns region-wise capacities and deformable groups, linking compact Coarse representations to recoverable Fine-token groups through a Coarse-to-Fine (C2F) map. Temporal Routing for Adaptive Contextual Evidence (TRACE) uses a state-space model to integrate decoding history, anticipate upcoming evidence needs, and select, retain, or replace active Fine-token groups. Joint-KV combines selected Fine tokens with persistent Coarse context in the frozen backbone's attention.

ViMoD achieves state-of-the-art performance in visual reasoning under limited visual token budgets (Tab. 1). At a 20% target budget with 9:1 memory, its average normalized score exceeds DSTP †^{\dagger} on the same DART memory by 10.1% and DivPrune, the strongest one-shot baseline, by 39.0%. In our MMMU-Pro budget sweep, ViMoD reduces total inference time relative to Full at all evaluated target budgets from 20% to 90% (Fig. 6).

References (60)