A Survey of KV Cache Quantization for Efficient Long-Context Large Language Model Inference
Abstract
As large language model context windows grow from 4K to 128K tokens and beyond, the key-value (KV) cache can become a major memory bottleneck in long-context inference and may consume hundreds of gigabytes during autoregressive decoding [1–3]. Unlike static model weights, KV states are input-dependent activations with distinct properties: keys and values exhibit different sensitivity to quantization error, rotary position embedding (RoPE) alters channel statistics, outliers are common, and errors may accumulate over long generation traces [2–4]. This survey organizes the rapidly growing KV cache quantization literature along seven non-mutually-exclusive design dimensions: scalar formats and bit-widths, K/V granularity and asymmetry, RoPE-aware transformations, error compensation and critical-state preservation, adaptive mixed precision, vector quantization, and fused serving-system co-design [5–8]. We review over twenty representative methods and compare their design choices, accuracy-memory trade-offs, and deployment implications. Finally, we identify open challenges and outline practical paths toward reliable ultra-low-bit long-context inference.