arXiv:2610.31098cs.CLOct 2026

Manuscript Offprint

arXiv:2610.31098

RIFT: KV Cache Compression for Draft Models with Complementary Compressibility Training

Dor Tsur, Maor Ashkenazi, Maximilian Golub, Peter Hicks, Yaniv Galron, Talor Abramovich, Yoav Miron, Tiyasa Mitra, Bita Darvish Rouhani, Ran Zilberstein

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

Abstract

Speculative decoding is a popular decode acceleration method. As such, it is particularly relevant to long-output generation, which requires an increasingly large KV cache. KV cache compression offers a way to constrain costs in long-context drafting. However, compression methods that focus on prefill information can lose relevance as the output length grows. We term this phenomenon decode staleness and show that it degrades draft model accuracy under selection-based KV cache compression. We introduce RIFT, a family of selection-based KV cache compression strategies that balance prefill information and recent generated tokens. We show that refreshing the KV cache selection during token generation significantly improves the drafter's quality at the cost of additional decode latency. To alleviate the refresh costs, we propose an adaptive KV refresh strategy that reduces the number of score calculations while retaining the drafter's quality. We further demonstrate how a compressibility-driven drafter training phase, based on sparse attention masks, can improve the drafter's quality under a compressed KV cache. Combined with compressibility training, RIFT enables Qwen3.5-4B, drafting for Qwen3.5-122B, to retain over 98% of its full-cache acceptance length on 32K-token inputs, 4K-token outputs, and an 8K-token KV cache budget.

1 Introduction

Speculative decoding accelerates autoregressive language models by verifying multiple draft proposals in a single target-model pass while preserving the target distribution (Leviathan et al., 2023; Chen et al., 2023), shifting inference towards a compute-bound regime. Its effectiveness depends on a draft that is both inexpensive and closely aligned with the target. Reasoning and agentic applications increase the pressure on this balance, combining long input sequence lengths (ISLs) with long output sequence lengths (OSLs) as models generate reasoning traces and accumulate interaction history (Nye et al., 2021; Yao et al., 2023). As context grows, key-value (KV) cache access can increasingly bottleneck drafting, limiting the achievable speedup from speculation (Sadhukhan et al., 2025). As a decode acceleration method, speculative decoding targets long OSL, further magnifying the KV cache bottleneck. This bottleneck is still evident in hybrid attention architectures (Dao and Gu, 2024; Yang et al., 2024): even when only 25% of a small hybrid model's layers use full attention, its KV footprint can significantly exceed its weights' memory footprint at long contexts with only a few concurrent requests (See Appendix A for details). Existing literature considers various forms of KV compression (Hooper et al., 2024; Liu et al., 2024; Laus et al., 2026). Here, we focus on selection-based compression, where decode tokens attend only a compact subset of their past KVs.

Tail-augmented drafters, e.g., MTP, Eagle or DFlash (Li et al., 2025; Chen et al., 2026), are considered superior to external draft models on GPU-based deployments due to their minimal latency overhead. However, contemporary hardware-disaggregated inference and edge-assisted serving renews the relevance of small external drafts (Aubrey and Ghodsian, 2026; Park et al., 2025) over tail-augmented blocks, such as MTPs or DFlash (Chen et al., 2026). In these settings, memory capacity poses a constraint, as memory is shared between the model weights and growing KV cache (Kim et al., 2026). Considering all the above, we study draft KV cache compression under a fixed cache budget that is ISL-independent. KV compression also enables KV-based self-speculation: the target model itself drafts with a compressed cache and verifies with full cache (Sun et al., 2024; Sadhukhan et al., 2025; Zhao et al., 2025). Together, these regimes motivate the question:

∗^{*}Corresponding author: dtsur@nvidia.com.

Figure

Generated-token position

Draft KV cache budget

Figure 1: AL improvement of RIFT and compressibility training on a Qwen3.5-4B draft (Qwen3.5-122B target), SPEED-Bench 32K ISL low-entropy, draft length 11. (a) AL vs. generation interval at 8K cache budget. (b) AL vs. KV cache budget. AL is measured vs. the full-KV draft AL. Diagonal pattern denotes compression-aware training.

How can we best compress the drafter’s KV cache to sustain target alignment in long contexts?

We study this question through the trade-off between acceptance length (AL) and the KV cache budget size, measuring drafting quality under a fixed memory constraint. A fixed KV-budget introduces a tradeoff between KVs selected during pre-fill and KVs accumulated during decode. Prompt tokens can provide valuable information, while the generated prefix records the target's recent context. A prefill-based selection becomes stale as generation evolves, while a sliding window (SW) approach limits the model's view to the latest prefix tokens and discards remote information. Decode-time refresh of selected KVs allows to adaptively determine the relevant KVs, at the cost of additional latency. This motivates two complementary approaches: allocate capacity to both prefill positions and generated tokens, and refresh the selected history as relevance changes.

Our analysis characterizes decode staleness and introduce RIFT (Recency–Importance Fusion and Training), a family of selection-based KV compression strategies combining recency allocation with decode-time refresh of importance-selected context. We further propose compression-aware knowledge distillation (KD) to reduce the training–inference mismatch and improve draft alignment under compression. Our contributions are:

  1. Characterizing decode staleness: We show how prefill selection loses its initial advantage over SWA as generation progresses, and show this gap increases in hybrid-attention models.

  2. RIFT: We address decode staleness and propose RIFT, a family of KV compression methods for draft models, balancing implementation complexity with resulting drafting quality.

  3. Draft-compressibility training: We develop a knowledge-distillation scheme with compression-driven attention masks to improve draft alignment under a restricted KV budget.

Together, our methods retain most of the draft’s acceptance length, while using a fraction of the total KV cache. In SPEED-Bench (Abramovich et al., 2026) with 32K ISL and 4× compression ratio, Qwen3.5-4B retains up to 96% of its full cache AL (Qwen3.5-122B target), and Nemotron3.5-Lightning retains 97% of its full-cache AL (Nemotron3-Ultra target), while SnapKV retains 63 – 67% AL in both cases.