Quantize What Counts: More for Keys, Less for Values
On the map: Efficient LLM inference and serving → KV cache quantization
Abstract (arXiv)
Large Language Models (LLMs) suffer inference-time memory bottlenecks dominated by the attention Key-Value (KV) cache, which scales with model size and context length. While KV-cache quantization alleviates this cost, bit allocation between keys and values is often tuned heuristically, lacking theoretical grounding and generalizability. This paper proposes two theorems that anchor mixed-precision KV quantization in the intrinsic geometry of Transformer models. First, key projections systematically have larger spectral and Frobenius norms than value matrices, implying higher information density along the key path. Second, for any given memory budget, prioritizing precision for keys over values strictly reduces quantization error and better preserves accuracy. Empirical evaluations across various prominent LLMs and benchmarks show that key-favored allocations (e.g., 4-bit keys, 2-bit values) retain up to 98.3% accuracy compared to uniform allocations (e.g., 4-bit for both), while conserving memory. These results transform bit allocation from ad hoc tuning into a theoretically grounded, geometry-driven design principle for efficient LLM inference. Source code is available at https://github.com/mohsenhariri/spectral-kv.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in KV cache quantization, one of 12 directions in Efficient LLM inference and serving. Builds on 26 of its 48 references that are in the map. First posted on arXiv 20 Feb 2025.
Builds on
26 of 48 references.
Closest ancestors · 5
Same direction, newest first
- 2025KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inference6 Feb
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs30 Mar
- 2024QAQ: Quality Adaptive Quantization for LLM KV Cache7 Mar
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache5 Feb
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization31 Jan
Other references · 21
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
9 more
- 2018CoQA: A Conversational Question Answering Challengecited by 683
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
- 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 492
- 2021A White Paper on Neural Network Quantizationcited by 472
- 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 322
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 131
- 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantizationcited by 101
- 2024WKVQuant: Quantizing Weight and Key/Value Cache for Large Language Models Gains Morecited by 69
Built on by
Citing papers per year: 2025: 2; 2026: 8.
10 papers.
- 2025Don't Pass@k: A Bayesian Framework for Large Language Model Evaluationcited by 15
- 2025Demystifying Hybrid Thinking: Can LLMs Truly Switch Between Think and No-Think?cited by 9
- 2026OSCAR: Offline Spectral Covariance-Aware Rotation for 2-bit KV Cache Quantizationcited by 9
- 2026InnerQ: Hardware-Aware Tuning-Free Quantization of KV Cache for Large Language Modelscited by 3
- 2026Path-Lock Expert: Separating Reasoning Mode in Hybrid Thinking via Architecture-Level Separationcited by 3
- 2026RateQuant: Optimal Mixed-Precision KV Cache Quantization via Rate-Distortion Theorycited by 3
- 2026HeadQ: Model-Visible Distortion and Score-Space Correction for KV-Cache Quantizationcited by 0
- 2026Regularize or Localize: When Training-Time KV-Cache Geometry Pays Under Quantizationcited by 0
- 2026Behavioral Capacity Certificates for Quantized Language Modelscited by 0
- 2026PN-Mix: Pair-Norm Guided Mixed-Precision Key Cache Quantization for Efficient Long-Output LLM Inferencecited by 0
- 2026PN-Mix: Pair-Norm Guided Mixed-Precision Key Cache Quantization for Efficient Long-Output LLM Inference14 Oct 2026
- 2026Behavioral Capacity Certificates for Quantized Language Models29 Sep 2026
- 2026Regularize or Localize: When Training-Time KV-Cache Geometry Pays Under Quantization19 Jul 2026
- 2026OSCAR: Offline Spectral Covariance-Aware Rotation for 2-bit KV Cache Quantization18 May 2026
- 2026HeadQ: Model-Visible Distortion and Score-Space Correction for KV-Cache Quantization5 May 2026
- 2026Path-Lock Expert: Separating Reasoning Mode in Hybrid Thinking via Architecture-Level Separation29 Apr 2026
- 2026RateQuant: Optimal Mixed-Precision KV Cache Quantization via Rate-Distortion Theory22 Apr 2026
- 2026InnerQ: Hardware-Aware Tuning-Free Quantization of KV Cache for Large Language Models26 Feb 2026
- 2025Demystifying Hybrid Thinking: Can LLMs Truly Switch Between Think and No-Think?14 Oct 2025
- 2025Don't Pass@k: A Bayesian Framework for Large Language Model Evaluation5 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025KVLinC : KV Cache Quantization with Hadamard Rotation and Linear Correction
- 2025Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Models
- 2025NQKV: A KV Cache Quantization Scheme Based on Normal Distribution Characteristics
- 2025KVSink: Understanding and Enhancing the Preservation of Attention Sinks in KV Cache Quantization for LLMs
- 2026SPECTRA: Pushing the KV Cache Beyond the 2-Bit Cliff via Spectral Transform Coding
- 2024AsymKV: Enabling 1-Bit Quantization of KV Cache with Layer-Wise Asymmetric Quantization Configurations
- 2025Cocktail: Chunk-Adaptive Mixed-Precision Quantization for Long-Context LLM Inference
- 2026Don't Waste Bits! Adaptive KV-Cache Quantization for Lightweight On-Device LLMs