Research map / Architectures and efficiency / Attention and transformers
HeteroCache: A Dynamic Retrieval Approach to Heterogeneous KV Cache Compression for Long-Context LLM Inference
Zhiyuan Shi, Qibo Qiu, Feng Xue, Zhonglin Jiang, Li Yu, Jian Jiang, Xiaofei He, Wenxiao Wang
Zhejiang University · China Mobile(Zhejiang) Research &Innovation Institute · Geely Automobile Research Institute (Ningbo) Co · Fabu Inc
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 stability-based budget allocation (vs uniform budget) (ablation) | HeteroCache (Llama-3.1-8B-Instruct) · Qasper | score: 44.97 -> 46.00 | Improved |
| add pivot-guided dynamic retrieval (ablation) | HeteroCache (Llama-3.1-8B-Instruct) · Qasper | score: 45.32 -> 46.00 | Improved |
| add pivot-guided dynamic retrieval (ablation) | HeteroCache (Llama-3.1-8B-Instruct) · Qasper | decode latency (s): 0.027 -> 0.032 | Hurt |
| add stability-based allocation (ablation) | HeteroCache · Qasper | decode latency (s): 0.035 -> 0.032 | Improved |
| HeteroCache vs ShadowKV at 30% memory | Qwen2.5-14B-Instruct · LongBench avg | score: 46.93 -> 49.97 | Improved |
| HeteroCache vs CAKE at 30% memory | Qwen2.5-14B-Instruct · LongBench v2 overall | accuracy: 31.6 -> 33.6 | Improved |
| HeteroCache vs CAKE at 50% memory | Llama-3.1-8B-Instruct · LongBench avg | score: 49.16 -> 49.42 | Improved |
| HeteroCache vs OmniKV at 50% memory | DeepSeek-R1-Distill-Llama-8B · LongBench v2 overall | accuracy: 26.6 -> 28.9 | Improved |
| compress KV cache with HeteroCache vs full attention at 50% memory | Llama-3.1-8B-Instruct · LongBench avg | score: 49.77 -> 49.42 | Hurt |
| compress KV cache with HeteroCache vs full attention at 30% memory | Qwen2.5-14B-Instruct · LongBench v2 overall | accuracy: 33.2 -> 33.6 | No clear effect |
| use HeteroCache vs full attention (decoding) | Llama-3.1-8B-Instruct · 224K context decode latency | latency: approximately 3x acceleration | Improved |
| use HeteroCache vs OmniKV (decoding) | Llama-3.1-8B-Instruct · decode latency | latency: over 40x speedup | 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.
- ShadowKV — ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inference (ICML 2025) · better on 6 of 6 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
- “No custom CUDA kernels are implemented, so speedup is below the theoretical upper bound.” → Implementations are unoptimized, so end-to-end speedups are unproven. (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
- SCBench: A KV Cache-Centric Analysis of Long-Context Methods (ICLR 2025 · similarity 0.92)
- SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inference (NeurIPS 2025 · similarity 0.91)
- RazorAttention: Efficient KV Cache Compression Through Retrieval Heads (ICLR 2025 · similarity 0.91)
- DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads (ICLR 2025 · similarity 0.91)
- ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference (NeurIPS 2025 · similarity 0.91)
- RocketKV: Accelerating Long-Context LLM Inference via Two-Stage KV Cache Compression (ICML 2025 · similarity 0.91)
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.