MiniKV: Pushing the Limits of 2-Bit KV Cache via Compression and System Co-Design for Efficient Long Context Inference

State-of-the-art 2-bit KV cache quantization techniques achieve excellent results in accelerating LLM inference while retaining accuracy on long context tasks.However, further pushing the compression ratio fails to deliver performance gains.In this work, we revisit these approaches by considering, additionally, adaptive KV methods that retain LLM accuracy with only a subset of KV states.This leads us to propose a method based on 2-bit KV cache quantization with adaptive KV policies.In addition, we take an algorithm and system co-design approach by developing hardwarefriendly kernels to accelerate LLM inference while making MiniKV compatible with existing memory-efficient attention techniques such as FlashAttention, effectively translating algorithmic improvements into system performance gains.Experiments on a wide range of long context tasks show that MiniKV effectively achieves >80% KV cache compression while retaining accuracy, outperforming state-of-theart methods while achieving excellent latency, throughput, and memory consumption improvements in long context inference.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.952
Primary Topic
Advanced Data Compression Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MiniKV: Pushing the Limits of 2-Bit KV Cache via Compression and System Co-Design for Efficient Long Context Inference

Abhishek Sharma, Minjia Zhang, Jianping Li, H. B. Ding et al.
Advanced Data Compression Techniques
article

MiniKV: Pushing the Limits of 2-Bit KV Cache via Compression and System Co-Design for Efficient Long Context Inference

Abhishek Sharma, Minjia Zhang, Jianping Li, H. B. Ding, Neel Dani
article en

Abstract

State-of-the-art 2-bit KV cache quantization techniques achieve excellent results in accelerating LLM inference while retaining accuracy on long context tasks.However, further pushing the compression ratio fails to deliver performance gains.In this work, we revisit these approaches by considering, additionally, adaptive KV methods that retain LLM accuracy with only a subset of KV states.This leads us to propose a method based on 2-bit KV cache quantization with adaptive KV policies.In addition, we take an algorithm and system co-design approach by developing hardwarefriendly kernels to accelerate LLM inference while making MiniKV compatible with existing memory-efficient attention techniques such as FlashAttention, effectively translating algorithmic improvements into system performance gains.Experiments on a wide range of long context tasks show that MiniKV effectively achieves >80% KV cache compression while retaining accuracy, outperforming state-of-theart methods while achieving excellent latency, throughput, and memory consumption improvements in long context inference.

University of Illinois Urbana-Champaign (US)
National Science Foundation, University of Illinois at Urbana-Champaign, Office of Advanced Cyberinfrastructure
Openalex Percentile: Top 83%
Advanced Data Compression Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

MiniKV: Pushing the Limits of 2-Bit KV Cache via Compression and System Co-Design for Efficient Long Context Inference — Abhishek Sharma, Minjia Zhang, et al. · (2025) | TGRS Research Map | TGRS