Research map / Architectures and efficiency / Attention and transformers
Layer-Condensed KV Cache for Efficient Inference of Large Language Models
Haoyi Wu, Kewei Tu
ShanghaiTech University
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.
On benchmark leaderboards
- HellaSwag (zero-shot) leaderboard accuracy 44.74 · rank 13 of 23 papers
This paper tried a common change: Pretrained initialization
Initialize with pre-trained TinyLlama 2.5T checkpoint · SlimPajama dev · perplexity: 9.746 -> 8.514 Improved
What 132 accepted papers report for this change
- 113 improved
- 11 no clear effect
- 2 mixed
- 6 hurt
- Efficiently Training Time-to-First-Spike Spiking Neural Networks from Scratch ICML 2026 · initialize from pretrained ReLU weights · CIFAR10 · accuracy (%): 90.56 -> 93.89Improved
- Language models can learn implicit multi-hop reasoning, but only if they have lots of training data EMNLP 2025 · initialize from pretrained GPT-2 small · k-hop small 2-hop · accuracy: 93.7Hurt
- Mind-Omni: A Unified Multi-Task Framework for Brain-Vision-Language Modeling via Discrete Diffusion ICML 2026 · initialize from pre-trained Muddit instead of training from scratch · B→I&T description · BLEU1: 20.35 -> 29.12Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Attend only to top-layer KVs (w=10) instead of standard attention | Llama · Generation throughput, A100 7B, 2048+2048 | tokens/s: 141.10 -> 315.09 | Improved |
| Attend only to top-layer KVs (w=2) | Llama 30B · Generation throughput, RTX 3090 CPU-offload | tokens/s: 0.23 -> 5.99 | Improved |
| Use w=2 warmup layers instead of w=10 (ablation) | Ours · Commonsense reasoning zero-shot avg | accuracy: 46.84 -> 45.45 | Hurt |
| Use w=10 warmup layers | Ours vs TinyLlama · SlimPajama dev | perplexity: 9.219 vs 9.265 | No clear effect |
| Place warmup layers in sandwich (top and bottom) configuration (ablation) | Ours (w=2) · SlimPajama dev, 1.1B | perplexity: 9.098 (all-top) / 7.668 (all-bottom) -> 7.381 | Improved |
| Place all warmup layers at the top (ablation) | Ours (w=2) · Dev, 50M | perplexity: 14.069 -> 221.850 | Hurt |
| Add warmup layers (more than 0) (ablation) | Ours · Dev ppl., 1.1B | perplexity | Improved |
| Increase backprop iterations b from 2 to 4 (ablation) | Ours · Dev ppl., 1.1B | perplexity: 10.390 -> 10.885 | Hurt |
| Add MSE KV loss (ablation) | Ours (w=2) · SlimPajama dev, 1.1B | perplexity: 9.746 -> 10.073 | Hurt |
| Add MSE KV loss (ablation) | Ours (w=0) · Dev, 50M WikiText-103 | perplexity: 15.965 -> 15.610 | Improved |
| Initialize with pre-trained TinyLlama 2.5T checkpoint (ablation) | Ours (w=2) · SlimPajama dev | perplexity: 9.746 -> 8.514 | Improved |
| Integrate with StreamingLLM | StreamingLLM · PG19 latency and memory | latency, memory | Improved |
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
- SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget (ICLR 2025 · similarity 0.92)
- KV Cache is 1 Bit Per Channel: Efficient Large Language Model Inference with Coupled Quantization (NeurIPS 2024 · similarity 0.91)
- MiniCache: KV Cache Compression in Depth Dimension for Large Language Models (NeurIPS 2024 · similarity 0.91)
- LaCache: Ladder-Shaped KV Caching for Efficient Long-Context Modeling of Large Language Models (ICML 2025 · similarity 0.90)
- Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Models (ICML 2025 · similarity 0.90)
- KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inference (ICML 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.