Research map / Architectures and efficiency / Attention and transformers
SpindleKV: A Novel KV Cache Reduction Method Balancing Both Shallow and Deep Layers
Zicong Tang, Shi Luohe, Zuchao Li, Baoyuan Qi, Liu Guoming, Lefei Zhang, Ping Wang
Wuhan University · Xiaomi
Read the paperPlace an idea next to itCheck your own paper ↗
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 codebook-based replacement for shallow layers on top of eviction (SpindleKV vs PyramidKV) | SpindleKV · LongBench, Mistral-7B (~40%) | average score: 41.16 -> 42.14 | Improved |
| SpindleKV vs PyramidKV at ~15% reserve | SpindleKV · LongBench, Mistral-7B (~15%) | average score: 39.34 -> 40.76 | Improved |
| SpindleKV vs PyramidKV at ~20% on GQA model | SpindleKV · LongBench, LLaMA3-8B-Instruct (~21%) | average score: 39.11 -> 40.10 | Improved |
| SpindleKV vs PyramidKV at ~16% on MHA model | SpindleKV · LongBench, LLaMA2-7B-chat (~16%) | average score: 32.47 -> 32.86 | Improved |
| SpindleKV vs PyramidKV at ~31% on MHA model | SpindleKV · LongBench, LLaMA2-7B-chat (~31%) | average score: 33.13 -> 33.00 | No clear effect |
| SpindleKV vs PyramidKV, Needle-in-a-Haystack at 15% cache | SpindleKV · Needle-in-a-Haystack, LLaMA3-8B-Instruct | accuracy: 0.938 -> 0.979 | Improved |
| SpindleKV vs PyramidKV, Needle-in-a-Haystack at 15% cache | SpindleKV · Needle-in-a-Haystack, Mistral-7B | accuracy: 0.962 -> 0.975 | Improved |
| unfold GQA (repeat KV) before eviction instead of averaging attention over the group (ablation) | SpindleKV · LongBench 6-task, LLaMA3-8B-Instruct (~39%) | average score: 37.82 -> 39.70 | Improved |
| unfold GQA (repeat KV) before eviction (ablation) | SpindleKV · LongBench 6-task, LLaMA3-8B-Instruct (~21%) | average score: 36.50 -> 39.15 | Improved |
| codebook replacement alone, about half KV cache (47.8%) (ablation) | SpindleKV without eviction · LongBench 6-task, LLaMA2-7B-chat | average score: 35.78 -> 36.01 | No clear effect |
| codebook replacement alone at 29.4% KV cache (ablation) | SpindleKV without eviction · LongBench 6-task, LLaMA2-7B-chat | average score: 35.78 -> 33.29 | Hurt |
| add magnitude reconstruction after codebook lookup (ablation) | SpindleKV · LongBench 6-task, LLaMA2-7B-chat (~20%) | average score: 35.42 -> 35.68 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- PyramidInfer 39.3% — PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inference (ACL 2024) · better on 3 of 3 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems this paper states
- “Evaluated only on LLaMA2-7b-chat, LLaMA3-8b-instruct and Mistral-7b-instruct-v0.2, with other models and larger sizes untested.” → Tested on models of about 8B parameters or fewer. (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
- CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferences (ICLR 2025 · similarity 0.92)
- EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstruction (NeurIPS 2026 · similarity 0.92)
- SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget (ICLR 2025 · similarity 0.91)
- Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference (NeurIPS 2025 · similarity 0.91)
- MiniCache: KV Cache Compression in Depth Dimension for Large Language Models (NeurIPS 2024 · similarity 0.91)
- ThinK: Thinner Key Cache by Query-Driven Pruning (ICLR 2025 · similarity 0.90)
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.