Research map / Architectures and efficiency / Attention and transformers
Strong Drafts Need Compact Memories: Long-Context Speculative Decoding with Compressed KV Cache
Tong Yuan, Chengxi Liao, Zeyi Wen
Hong Kong University of Science and Technology
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
6improved
1no clear effect
3hurt
1mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add memory-augmented (compressed KV) draft to speculative decoding | SD with Llama 3.2-3B draft · Llama 3.1-8B target, 32K prefix | speedup: 0.98x -> 2.08x | Improved |
| compress draft KV with memory slots instead of full KV | Llama 3.1-8B draft, 70B target · 32K prefix | draft latency: 54.92 ms -> 14.02 ms (8x) | Improved |
| compress draft KV with memory slots | Llama 3.1-8B draft, 70B target · 32K prefix | extra peak memory: 18.02 GB -> 5.05 GB (4x) | Improved |
| compress draft KV with memory slots | 8B draft, 70B target · 32K prefix | tokens per iteration: 4.82 -> 3.78 (4x) | Hurt |
| add SFT after pretraining of the memory adaptor (ablation) | MASW L8B 8x · 16K context | tokens per iteration: 3.87 (PT only) -> 5.34 | Improved |
| add pretraining before SFT of the memory adaptor (ablation) | MASW L8B 8x · 16K context | tokens per iteration: 3.01 (SFT only) -> 5.34 | Improved |
| train adaptor on 32K instead of 8K sequences (ablation) | MASW L8B 8x · 70B target, 32K eval | tokens per iteration: 3.77 (8K) vs 3.58 (32K) | Hurt |
| copy-weight initialization of mirrored projections instead of random (ablation) | MASW L3B 4x adaptor · pretraining | pretraining loss | Improved |
| increase local window from 32 up to 512 tokens (ablation) | MASW L8B 8x · 70B target, 32K | tokens per iteration: peak 3.77 at 128 | No clear effect |
| use short-context drafts (EAGLE, EAGLE-3) at long contexts | Llama 3.1-70B target · 8K-32K | speedup: 0.64x-0.77x EAGLE, 0.44x-0.52x EAGLE-3 | Hurt |
| use 8x instead of 4x compression | MASW L8B draft, 8B target · 32K | speedup: 1.52x (4x) vs 1.94x (8x); 70B 16K: 3.33x vs 2.77x | Mixed |
Open problems this paper states
- “MASW fixes the local-window size, sink-token count and slot interval, with adaptive allocation left open.” → Budgets and thresholds are set by hand or tuned per task or model. (an open problem in KV cache eviction and compression)
Open problems in KV cache eviction and compression
Does KV cache compression keep accuracy at tight budgets, larger scale and long context in real serving?
- Tested on models of about 8B parameters or fewer. · 26 papers state it
- Budgets and thresholds are set by hand or tuned per task or model. · 21 papers state it
- Implementations are unoptimized, so end-to-end speedups are unproven. · 18 papers state it
Closest papers by meaning
- MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decoding (ICLR 2025 · similarity 0.91)
- SpeCache: Speculative Key-Value Caching for Efficient Generation of LLMs (ICML 2025 · similarity 0.90)
- RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding (ICML 2025 · similarity 0.89)
- PEARL: Parallel Speculative Decoding with Adaptive Draft Length (ICLR 2025 · similarity 0.89)
- SpecBlock: Block-Iterative Speculative Decoding with Dynamic Tree Drafting (NeurIPS 2026 · similarity 0.89)
- QuantSpec: Self-Speculative Decoding with Hierarchical Quantized KV Cache (ICML 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.