RECAP: Context-Aware Prediction Recycling with Request-Local and Persistent Memories for Multimodal Speculative Decoding
Hengjie Zhu, Dayan Wu, Xinze Liu, Peng Fu, Zheng Lin, Weiping Wang
Abstract
Recycling a target model's own predictions offers a training-free source of proposals for speculative decoding. In vision-language models, however, existing recycling indexes predictions by the last token alone, conflating predictions computed under different images and prefixes; we find that such reuse fails most often at image-sensitive decoding states. Longer keys reduce this aliasing but match fewer states. We introduce \method, which stores target predictions under one-, two-, and three-token keys: contextual memories live only for the current request and are thus implicitly conditioned on its image, while token-level memory persists across requests to retain coverage. At each lookup, entropy-confidence weighting fuses the retrieved predictions according to their key specificity and concentration. Best-first search composes the fused transitions into a candidate tree, supplemented by suffix-matched continuations, and one target pass verifies the tree under greedy decoding. Without training or an auxiliary draft model, \method\ achieves mean speedups over autoregressive decoding of and across seven single-turn benchmarks on Qwen2.5-VL-7B and LLaVA-1.6-7B, exceeding the strongest training-free baseline, Token Recycling ( and ). Our implementation is available in https://github.com/Senmo996/RECAP-official-code.
Create a lesson
Related papers
Average-Depth Variable Execution via Request-Local Token Routing
Shared title terminology · Pengjie Zheng, Mengwei Xie, Huan Yang et al.
Emotion-Aware and Context-Grounded Dialogue Agents for Personalized Video Game Interactions
Shared title terminology · Michael Adjeisah, Jin Zhang, Pierluigi Vito Amadori et al.
Speculative Decoding Is Less Speculative Than You Think
Shared title terminology · Guanning Zeng, Andrea Zanette
When Are Images Needed in Multimodal Machine Translation? Text-Only Routing for On-Demand Visual Context
Shared title terminology · Xinyu Wang, Yingfeng Luo, Yuxin Gao et al.
Vega-Fafnir: Is Greedy Decoding the Same Decoding? Where Rounding Noise in Speculative Verification Comes From and What Removing It Costs
Shared title terminology · Mohammed Nayeem Khan, Navin Kumar R
Jacobian-Causal Memory Control for Persistent Memory in Language Model Systems
Shared title terminology · Marvin Danig