Organizations: University of Science and Technology of China · Eastern Institute of Technology, Ningbo · Tsinghua University · ETH Zurich · Xiamen University
Multimodal Large Language Models (MLLMs) encode images into dense visual token sequences, creating substantial attention and KV-cache overhead. Existing visual token compression methods reduce this cost by pruning low-saliency tokens in shallow layers, but this practice couples temporary computational deactivation with irreversible information deletion. We show that this coupling breaks an intrinsic inference pattern in MLLMs. Through layer-wise attention analysis, we identify Visual Backtracking: visual pivots remain spatially stable, yet in middle layers they actively retrieve context from tokens that appeared unimportant earlier. Thus, early low-saliency tokens can be inactive for computation while still being useful for later reasoning. Motivated by this finding, we propose ReTrace, a backtracking-aware compression framework that introduces a dormant token state. ReTrace caches non-pivot tokens outside expensive layer-wise computation, restores them during the backtracking window, and prunes only after their information has been absorbed. Experiments on Qwen2.5-VL and InternVL3 demonstrate nearly 90% reductions in FLOPs and KV cache, a 2.83× prefilling speedup, and strong performance retention across complex vision-language benchmarks.
Figures & tables
Figure 1: Conceptual paradigm of the Visual Backtracking phenomenon. In shallow layers, pivot tokens interact internally to build clear feature representations. In mid layers, a “backtracking” mechanism emerges, where pivot tokens strongly query unimportant visual tokens to absorb global context. Finally, in deep layers, forms Enriched Visual Tokens essential for complex reasoning.
Figure 2: Visualization of pivot tokens across different layers. We highlight the top 10% visual tokens with the highest saliency scores. The selected regions remain highly consistent from shallow to deep layers, intuitively demonstrating the spatial stability of the model’s visual attention.
Figure 3: Quantitative evidence of visual backtracking. We analyze the layer-wise behavior of text-guided visual pivot tokens. (a) The selected pivots remain spatially stable across layers, indicating that the model establishes persistent visual pivots early. (b) Pivot-to-visual attention exhibits a distinct middle-layer expansion band, where pivots attend broadly to non-pivot visual tokens. (c) The normalized attention flow shows that pivots shift from pivot-internal consolidation in shallow layers to pivot-to-context retrieval in middle layers, revealing the visual backtracking window.
Figure 4: Performance comparison of different feature integration paradigms. Under identical retention ratios (10%–50%), backtracking-aware injection consistently outperforms rhythm-agnostic fusion at moderate ratios. At the extreme 10% retention rate, injecting into an undersized buffer triggers Information Overload , revealing the need for a multi-stage design.
Figure 5: Overall architecture of ReTrace. ReTrace follows a cache–inject–prune schedule. (1) Pivot Buffer Construction builds a compact active receiver buffer at the encoder output while caching the remaining tokens as dormant context. (2) Backtracking-Aware Context Injection restores the missing pivot-to-context retrieval route at the backtracking layer through similarity-based routing. (3) Post-Absorption Task Pruning removes task-irrelevant enriched pivots after context absorption.
Table 1: Performance comparisons on Qwen2.5VL-7B across 8 benchmarks. The “Avg.” metric denotes the mean relative performance retention across all datasets compared to the baseline.
Table 2: Performance comparisons on InternVL3-8B across 8 benchmarks. The “Avg.” metric denotes the mean relative performance retention across all datasets compared to the baseline.
Method
MMB
MME
MMStar
MRW CN
Avg.
Qwen2.5VL-3B
79.1
2157
55.9
45.1
100.0%
FastV Chen et al. (2024a)
71.0
1698
36.6
32.2
76.3%
VisionZip Yang et al. (2025)
73.2
1698
40.1
31.9
78.4%
Dart Wen et al. (2025)
72.8
1640
36.8
29.4
74.8%
HoloV Zou et al. (2025)
70.8
1673
38.6
25.1
72.9%
VLMPruner Wu et al. (2026)
68.2
1735
36.0
26.7
72.6%
Table 3: Compact comparison on Qwen2.5VL-3B at 11.1% token retention.
Figure 6: Performance degradation trends across different token retention ratios. We compare the degradation curves on Qwen2.5-VL-7B and InternVL3-8B under different visual token retention ratios.
Method
MMB
MME
MMStar
MRW CN
Avg.
InternVL3-2B
80.8
2221
60.7
52.1
100.0%
FastV Chen et al. (2024a)
54.0
1398
36.4
25.9
59.9%
VisionZip Yang et al. (2025)
67.7
1747
42.5
32.9
73.9%
HoloV Zou et al. (2025)
70.1
1743
44.8
34.8
76.5%
Ours
74.3
1965
47.9
37.1
82.6%
Table 4: Compact comparison on InternVL3-2B at 11.1% token retention.
Figure 7: Effect of backtracking-aware injection. We report the relative gains brought by context injection under different retention ratios.
Figure 8: Ablation on injection layer placement. We evaluate different injection layers and observe the most balanced performance around the middle-layer backtracking window.
Method
Tokens ↓
FLOPs ↓
KV ↓
MME ↑
Prefill Speedup ↑
Qwen2.5VL-7B
100%
1043.83
211.4 MB
2347
1.00 ×
+ Ours
22.2%
279.82
37.0 MB
2160
2.28 ×
+ Ours
11.1%
148.06
26.7 MB
2093
2.83 ×
Table 5: Compact efficiency results on Qwen2.5VL-7B. Runtime is evaluated on a single NVIDIA A100-80GB GPU with FlashAttention.
Figure 9: Qualitative result at 11.1% visual-token retention.
Appendix figures & tables29 assets
Supplementary material from the paper’s appendix.
Appendix
Average Retention Ratio
ρ1
ρ2
11.1%
13.7%
33.3%
22.2%
27.4%
33.3%
33.3%
41.17%
33.3%
Appendix
Table 6: Hyperparameter configurations for different target compression levels. The late-stage retention ρ2 is strictly fixed, while the mid-stage retention ρ1 adaptively scales to meet the overall average retention ratio.
Figure 10: Cross-layer spatial stability of pivot tokens under varying pivot ratios. The cross-layer stability of pivot tokens remains consistently high across different top- k ratio.
Figure 11: Attention heatmap depicting the backtracking band. The attention heatmap from pivot tokens to all visual tokens consistently reveals a distinct vertical bright band in the middle layers, regardless of the pivot ratio .
Figure 12: Temporal evolution of normalized attention proportions. The temporal evolution shows an abrupt “Visual Backtracking” peak (orange curve) where pivot tokens strongly query the background across different top- k ratio settings .
Figure 13: Layer-wise visualization of the visual backtracking phenomenon. We present the attention heatmaps from pivot tokens to all visual tokens across all transformer layers. The visualization clearly demonstrates a distinct dynamic: while attention remains highly localized on main subjects in the shallow and deep layers, it undergoes a dramatic spatial expansion in the mid-layers to actively query seemingly unimportant background tokens.
Figure 14: Layer-wise visualization of the visual backtracking phenomenon.
Figure 15: Evolution of 3D feature representations across intermediate layers.
Table 8: Performance comparisons on Qwen2.5VL-3B across 8 benchmarks. The “Avg.” metric denotes the mean relative performance retention across all datasets compared to the baseline.
Table 9: Performance comparisons on InternVL3-2B across 8 benchmarks. The “Avg.” metric denotes the mean relative performance retention across all datasets compared to the baseline.
Model
Method
11%
22%
33%
50%
100%
32B
FastV
70.13
78.09
81.01
85.40
87.37
PDrop
73.22
79.04
82.74
86.03
87.37
Vscan
78.09
82.47
85.31
86.17
87.37
Ours
82.21
85.48
86.42
86.85
87.37
Appendix
Table 10: MMBench accuracy under different visual token retention ratios. Higher is better.
Model
Method
11%
22%
33%
50%
100%
32B
FastV
67.61
76.12
79.81
83.42
86.00
PDrop
71.31
77.65
80.72
84.28
86.00
Vscan
77.23
80.76
84.45
84.78
86.00
Ours
80.67
83.93
84.53
84.96
86.00
Appendix
Table 11: MMBench-CN accuracy under different visual token retention ratios. Higher is better.
Model
Method
11%
22%
33%
50%
100%
32B
FastV
1536
1924
2124
2316
2432
PDrop
1536
1797
2078
2279
2432
Vscan
2015
2189
2288
2378
2432
Ours
2037
2306
2373
2414
2432
Appendix
Table 12: MME total scores under different visual token retention ratios. Higher is better.
Retention
Method
MMB
MMB-CN
MME
POPE
SQA
MMStar
MRW
MRW-CN
Avg.
22.2%
HiMap
78.3
77.2
1935
83.7
84.2
48.3
40.9
39.5
85.7%
22.2%
PDrop
79.7
79.4
2017
83.3
85.3
49.3
42.3
39.4
87.2%
22.2%
G-Search
80.3
78.9
2103
84.6
83.9
50.5
41.8
39.9
87.9%
22.2%
ReTrace
81.7
80.8
2160
86.3
86.1
52.1
44.4
42.0
90.7%
11.1%
HiMap
77.2
75.1
1847
79.9
81.1
43.3
34.2
33.1
79.7%
11.1%
PDrop
76.9
75.5
1932
80.2
81.2
44.0
35.0
34.9
81.0%
Appendix
Table 13: Comparison under different visual-token retention ratios. ReTrace consistently outperforms representative visual-token compression methods across both retention settings.
Table 14: Ablation studies on injection layer placement and pivot extraction strategies (Qwen2.5-VL-7B).
Method
Retention: 33.3%
Retention: 22.2%
MME
POPE
SQA
MMStar
MME
POPE
SQA
MMStar
w/o inject
2173
85.7
86.6
54.4
2104
85.0
85.7
51.6
w/ inject (Ours)
2240
87.5
87.1
55.3
2160
86.3
86.1
52.1
Appendix
Table 15: Ablation study on the injection mechanism.
Layer Index
MME
MMStar
9
1786
41.9
11
1789
41.8
13
1800
41.6
15
2006
44.3
17
2053
45.7
19 (Ours)
2093
46.3
Appendix
Table 16: Ablation study on layer selection. Performance on MME and MMStar benchmarks when applying our extraction strategy at different intermediate layers.
p2
MME
SQA I
MMStar
1/5
2054
80.9
44.9
1/4
2069
81.4
43.3
1/3
2093
82.3
46.3
1/2
2050
82.2
43.4
Appendix
Table 17: Ablation study on the intermediate layer pruning p2 . The total token retention budget is strictly fixed at 11.1%. Setting the coefficient p2 to 1/3 yields the optimal balance across multiple benchmarks.
Method
Tokens ↓
Total Time ↓
Prefilling Time ↓
FLOPs ↓
KV Cache ↓
MME ↑
Speedup ↑
(Sec)
(Sec)
(MB)
(Score)
Total
Prefilling
Qwen2.5VL-7B
100%
557.443
239.833
1043.83
211.4
2347
1.00 ×
1.00 ×
+ Ours
22.2%
401.919
105.234
279.82
37.0
2160
1.38 ×
2.28 ×
+ Ours
11.1%
373.961
84.809
148.06
26.7
2093
1.49 ×
2.83 ×
Appendix
Table 18: Efficiency results on Qwen2.5VL-7B. Performance, runtime, FLOPs, and memory overhead are evaluated on a single NVIDIA A100-80GB GPU with FlashAttention.
Tokens ↓
Total Time ↓
Td Extraction
Mid-stage Injection
Overhead Proportion ↓
(Sec)
Total (s)
Avg. (ms)
Total (s)
Avg. (ms)
Td Ext.
Inject
33.3%
426.85
1.78
0.8
0.20
0.1
0.42%
0.05%
22.2%
401.92
1.66
0.7
0.21
0.1
0.41%
0.05%
11.1%
373.96
1.58
0.7
0.23
0.1
0.42%
0.06%
Appendix
Table 19: Algorithmic overhead analysis under different token retention settings on Qwen2.5-VL-7B. The absolute execution times and their relative proportions explicitly demonstrate that the spatial diversity extraction ( Td ) and mid-stage injection introduce negligible latency to the overall inference.
Figure 16: Visualization of pivot buffer construction under different sparsity levels. As the token retention ratio increases from 10% to 50%, the buffer progressively covers more visual regions while consistently preserving core semantic objects, local structures, and distributed context. This balanced receiver set supports later backtracking-aware context injection.
Figure 17: More qualitative results on retain 22.2% visual tokens. Using LLaVA-bench, we have demonstrated the effectiveness of our method on OpenQA, where the model’s hallucination-free responses fully showcase the validity of our method.