arXiv:2611.05894cs.AINov 2026

Manuscript Offprint

arXiv:2611.05894

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

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

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 RECAP, 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, RECAP achieves mean speedups over autoregressive decoding of 1.66×1.66\times and 1.56×1.56\times across seven single-turn benchmarks on Qwen2.5-VL-7B and LLaVA-1.6-7B, exceeding the strongest training-free baseline, Token Recycling ( 1.51×1.51\times and 1.37×1.37\times). Our implementation is available in https://github.com/Senmo996/RECAP-official-code.

1 Introduction

Vision-language models (VLMs) generate text one token at a time, so every output token requires a sequential target-model pass. Speculative decoding reduces the number of sequential passes by proposing several tokens and verifying them in one parallel pass (Leviathan et al., 2023; Chen et al., 2023). Multimodal methods usually obtain proposals from

Figure

Figure 1: The role of context in prediction recycling. Top: a cached her→head transition fails when reused after a different prefix. Middle: shorter accepted paths accompany stronger root image sensitivity (left), and source preference varies with candidate visual alignment (right). Bottom: RECAP retrieves and fuses predictions at multiple contextual resolutions.

a separately trained drafter (Hu et al., 2026; Kang et al., 2026), adding training and serving cost for every target model. Tree verification offers a cheaper source: each pass computes full next-token distributions at tens of candidate nodes yet commits only a few tokens, discarding the rest. Prediction recycling stores these target predictions and reuses them as later proposals (Luo et al., 2025), requiring neither a draft model nor training.

A recycled prediction is valid for the condition under which the target computed it: the image and the textual prefix. Existing recycling indexes predictions by the last token alone; Token Recycling, for example, keeps one Top-k prediction row per vocabulary token in an adjacency matrix that every verification pass overwrites and that is retained across requests (Luo et al., 2025). Such a key merges all conditions that end in the same to-

∗^{*}Corresponding author.

ken, a mismatch we call condition aliasing. Along the prefix, her→head, cached after “a red hat covers her”, is reused after “blue shoes protect her”, where the target selects feet (Figure 1). Along the image, a prefix such as “the sign reads” must continue with whatever text the current image shows. Reuse also fails at image-sensitive states: in counterfactual diagnostics on 700 Qwen2.5-VL images, replacing the image changes the root prediction for 34.9% of fully rejected drafts but for only 12.4% of drafts that accept five or more tokens.

Longer keys reduce aliasing but recur less often: they recall the target token more reliably when they match, yet match far fewer decoding states. We call this tension the specificity-coverage trade-off. Suffix-matching methods such as Prompt Lookup Decoding and SAM Decoding condition on longer contexts (Somasundaram et al., 2025; Hu et al., 2025), but each match copies a single observed continuation rather than combining target predictions obtained under several context lengths.

The two parts of the condition call for separate controls. Key length distinguishes prefixes. Longer keys separate prefixes that a token key aliases, while shorter keys remain necessary for coverage. Neither resolution dominates: whether contextual or token-level candidates yield longer accepted prefixes depends on which carries more visual support (Appendix E), so candidate selection should combine resolutions. Memory lifetime distinguishes images. A lexical key cannot encode the image, but the image is fixed within a request, so request-local memory conditions its predictions on that image implicitly. Token transitions, in contrast, recur across requests, so token-level memory remains useful when retained across a stream.

We propose RECAP (REcycling Context-Aware Predictions), a training-free framework built on these two controls (Figure 2). It stores target predictions under one-, two-, and three-token keys; the two contextual maps live for a single request, whereas the token-level map persists across requests. Because a specific row may be diffuse while a shorter row is sharply peaked, RECAP does not simply prefer the longest key: it weights each retrieved row by a specificity prior scaled by an entropy-based confidence and mixes the rows, reinforcing shared candidates while retaining confident alternatives. Best-first search composes the fused transitions into a candidate tree, and a suffix automaton adds short continuations from the prompt and committed history. One target pass verifies the tree, commits the longest matching path, and writes the predictions of every evaluated node back to memory.

Our contributions are as follows:

• We identify condition aliasing in multimodal prediction recycling and show that token-indexed reuse fails most often at image-sensitive states.

• We propose RECAP, a training-free framework that distinguishes prefixes through multi-length keys with entropy-confidence fusion and images through request-local and persistent memories.

• RECAP achieves mean speedups of 1.66×1.66\times and 1.56×1.56\times on Qwen2.5-VL-7B and LLaVA-1.6-7B across seven single-turn benchmarks, and 1.89×1.89\times and 1.59×1.59\times on MMSpec, exceeding the strongest training-free baseline in mean speedup.

References (46)