Research map / Architectures and efficiency / Quantization
MiniKV: Pushing the Limits of 2-Bit KV Cache via Compression and System Co-Design for Efficient Long Context Inference
Akshat Sharma, Hangliang Ding, Jianping Li, Neel Dani, Minjia Zhang
University of Illinois, Urbana Champaign
Read the paperPlace an idea next to itCheck your own paper ↗
14measured effects
7improved
1no clear effect
6hurt
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 |
|---|---|---|---|
| use pyramid layer-wise heavy-hitter budget instead of uniform (ablation) | MiniKV · LongBench (LLaMA2-7B-chat) | average score: 33.71 -> 34.65 | Improved |
| use pyramid layer-wise heavy-hitter budget instead of uniform (ablation) | MiniKV · LongBench (LLaMA2-13B-chat) | average score: 31.84 -> 32.37 | Improved |
| use pyramid layer-wise heavy-hitter budget instead of uniform (ablation) | MiniKV · LongBench (Mistral-7B-Instruct) | average score: 39.84 -> 39.97 | Improved |
| pyramid vs uniform/variance-based allocation (ablation) | H2O-style adaptive KV · LongBench | accuracy | Improved |
| INT2 instead of INT8/INT4 per-token quantization of selective KV (ablation) | H2O · LongBench | accuracy | Hurt |
| use only recent window or only heavy hitters at fixed 50% budget (ablation) | H2O · LongBench (Lcc, TriviaQA) | accuracy | Hurt |
| raise eviction level to 80-95% (ablation) | H2O · LongBench | accuracy | Hurt |
| 50% KV cache with eviction (ablation) | H2O · LongBench | accuracy: <1 point | No clear effect |
| combine SnapKV eviction with 2-bit KIVI instead of H2O (ablation) | MiniKV · LongBench | average score: 35 -> 32 | Hurt |
| add 2-bit quantization on top of adaptive KV (MiniKV Pyramid vs H2O 15%) | adaptive KV · LongBench (LLaMA2-7B-chat) | average score: 33.49 -> 34.65 | Improved |
| MiniKV two-pass selective flash-attention kernel instead of standard attention | prefill attention · seq len 1024 | memory (GB): 1.25 -> 0.25 | Improved |
| MiniKV kernel instead of FlashAttention in prefill | prefill attention · LLaMA2-7B | prefill time: 0.118 ms -> 0.622 ms | Hurt |
Open problems in KV cache quantization
Which KV cache and weight compression methods hold up on larger models, new architectures and real serving?
- Offline calibration adds setup cost and may not match deployment data. · 14 papers state it
- Larger models are untested, so results stop at small and mid-size LLMs. · 12 papers state it
- Speed gains shrink at small batch sizes or in prefill. · 10 papers state it
Closest papers by meaning
- SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inference (NeurIPS 2025 · similarity 0.93)
- RocketKV: Accelerating Long-Context LLM Inference via Two-Stage KV Cache Compression (ICML 2025 · similarity 0.92)
- SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget (ICLR 2025 · similarity 0.92)
- KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inference (ICML 2025 · similarity 0.92)
- Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference (NeurIPS 2025 · similarity 0.91)
- KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization (NeurIPS 2024 · 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.