mlsanityData to 14 Oct 2026

RotateKV: Accurate and Robust 2-Bit KV Cache Quantization for LLMs via Outlier-Aware Adaptive Rotations

arXiv 2501.16383 ↗First posted 25 Jan 2025cs.LG cs.AI cs.CLcited by 46

On the map: Efficient LLM inference and serving → KV cache quantization

Abstract (arXiv)

Key-Value (KV) cache facilitates efficient large language models (LLMs) inference by avoiding recomputation of past KVs. As the batch size and context length increase, the oversized KV caches become a significant memory bottleneck, highlighting the need for efficient compression. Existing KV quantization rely on fine-grained quantization or the retention of a significant portion of high bit-widths caches, both of which compromise compression ratio and often fail to maintain robustness at extremely low average bit-widths. In this work, we explore the potential of rotation technique for 2-bit KV quantization and propose RotateKV, which achieves accurate and robust performance through the following innovations: (i) Outlier-Aware Rotation, which utilizes channel-reordering to adapt the rotations to varying channel-wise outlier distributions without sacrificing the computational efficiency of the fast Walsh-Hadamard transform (FWHT); (ii) Pre-RoPE Grouped-Head Rotation, which mitigates the impact of rotary position embedding (RoPE) on proposed outlier-aware rotation and further smooths outliers across heads; (iii) Attention-Sink-Aware Quantization, which leverages the massive activations to precisely identify and protect attention sinks. RotateKV achieves less than 0.3 perplexity (PPL) degradation with 2-bit quantization on WikiText-2 using LLaMA-2-13B, maintains strong CoT reasoning and long-context capabilities, with less than 1.7% degradation on GSM8K, outperforming existing methods even at lower average bit-widths. RotateKV also showcases a 3.97x reduction in peak memory usage, supports 5.75x larger batch sizes, and achieves a 2.32x speedup in decoding stage.

Key facts. Cited by 46 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 34 of its 38 references that are in the map. First posted on arXiv 25 Jan 2025.

Builds on

34 of 38 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024SpinQuant: LLM quantization with learned rotations26 May
  2. 2024ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identification23 May
  3. 2024SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Models10 May
  4. 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving7 May
  5. 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs30 Mar
  6. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache5 Feb
  7. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization31 Jan

Other references · 27

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2023Visual Instruction Tuningcited by 7,869
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  7. 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
  8. 2023Qwen Technical Reportcited by 3,344
  9. 2016Pointer Sentinel Mixture Modelscited by 3,096
  10. 2023A Survey of Large Language Modelscited by 2,576
  11. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  12. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
15 more
  1. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  2. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  3. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
  4. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
  5. 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
  6. 2024Massive Activations in Large Language Modelscited by 294
  7. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
  8. 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 167
  9. 2024GEAR: An Efficient KV Cache Compression Recipe for Near-Lossless Generative Inference of LLMcited by 158
  10. 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantizationcited by 101
  11. 2024MileBench: Benchmarking MLLMs in Long Contextcited by 88
  12. 2024Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibrationcited by 74
  13. 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 56
  14. 2024IntactKV: Improving Large Language Model Quantization by Keeping Pivot Tokens Intactcited by 52
  15. 2024ResQ: Mixed-Precision Quantization of Large Language Models with Low-Rank Residualscited by 36

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 9; 2026: 37.

46 papers.

Sort:

By area:

  1. 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 125
  2. 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 27
  3. 2026Quant VideoGen: Auto-Regressive Long Video Generation via 2-Bit KV-Cache Quantizationcited by 23
  4. 2025PM-KVQ: Progressive Mixed-precision KV Cache Quantization for Long-CoT LLMscited by 22
  5. 2025Unveiling Super Experts in Mixture-of-Experts Large Language Modelscited by 17
  6. 2026Agentic World Modeling: Foundations, Capabilities, Laws, and Beyondcited by 14
  7. 2025Plug-and-Play 1.x-Bit KV Cache Quantization for Video Large Language Modelscited by 13
  8. 2025Which Heads Matter for Reasoning? RL-Guided KV Cache Compressioncited by 10
  9. 2026OSCAR: Offline Spectral Covariance-Aware Rotation for 2-bit KV Cache Quantizationcited by 9
  10. 2025BitDecoding: Unlocking Tensor Cores for Long-Context LLMs with Low-Bit KV Cachecited by 8
  11. 2025MixKVQ: Query-Aware Mixed-Precision KV Cache Quantization for Long-Context Reasoningcited by 8
  12. 2026Agent Memory Below the Prompt: Persistent Q4 KV Cache for Multi-Agent LLM Inference on Edge Devicescited by 8
34 more
  1. 2026XStreamVGGT: Extremely Memory-Efficient Streaming Vision Geometry Grounded Transformer with KV Cache Compressioncited by 7
  2. 2026VeriCache: Turning Lossy KV Cache into Lossless LLM Inferencecited by 5
  3. 2026OScaR: The Occam's Razor for Extreme KV Cache Quantization in LLMs and Beyondcited by 5
  4. 2025VecInfer: Efficient LLM Inference with Low-Bit KV Cache via Outlier-Suppressed Vector Quantizationcited by 4
  5. 2026SnapMLA: Efficient Long-Context MLA Decoding via Hardware-Aware FP8 Quantized Pipeliningcited by 4
  6. 2026PolyKV: A Shared Asymmetrically-Compressed KV Cache Pool for Multi-Agent LLM Inferencecited by 3
  7. 2025FireQ: Fast INT4-FP8 Kernel and RoPE-aware Quantization for LLM Inference Accelerationcited by 2
  8. 2026OCTOPUS: Optimized KV Cache for Transformers via Octahedral Parametrization Under optimal Squared error quantizationcited by 2
  9. 2026Output-Aware Rotation for INT2 KV-Cache Quantizationcited by 2
  10. 2026Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transformscited by 2
  11. 2026Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateauscited by 2
  12. 2026RoPE-Aware Bit Allocation for KV-Cache Quantizationcited by 1
  13. 2026SPECTRA: Pushing the KV Cache Beyond the 2-Bit Cliff via Spectral Transform Codingcited by 1
  14. 2026KV Cache Compression Through the Lens of Transform Codingcited by 1
  15. 2026Monte Carlo Estimation for KV Cache Evictioncited by 1
  16. 2026SDFP: Speculative Decoding with FIT-Pruned Models for Training-Free and Plug-and-Play LLM Accelerationcited by 0
  17. 2026XStreamVGGT: Extremely Memory-Efficient Streaming Vision Geometry Grounded Transformer with KV Cache Compressioncited by 0
  18. 2026HeadQ: Model-Visible Distortion and Score-Space Correction for KV-Cache Quantizationcited by 0
  19. 2026GSRQ: Gain-Shape Residual Quantization for Sub-1-bit KV Cachecited by 0
  20. 2026DocOCR-Eval: A Correction-Based Framework for OCR Tool Selection Without Ground Truthcited by 0
  21. 2026Codec-Gauge: Learning Compression-Friendly Gauges for Transformer KV Cachescited by 0
  22. 2026MM-ShiftKV: Decode-Aware Prefill-Stage KV Selection for Multimodal Large Language Modelscited by 0
  23. 2026When Local Variance Optimality Is Not Enough: RoPE-Aligned Q/K Rotations for Dynamic 4-Bit Quantisationcited by 0
  24. 2026SemKV: Semantic Mixed-Precision KV Cache Quantization Guided by the Quality Cliff for Long-Context LLM Inferencecited by 0
  25. 2026Quality Recovery for Quantized KV Caches via Low-Rank Attention Adaptationcited by 0
  26. 2026Unified AI Gateway: A Framework for Joint Model Routing and KV Cache Managementcited by 0
  27. 2026Self-Indexing Attention for Compression-Compatible Sparse Long-Context LLM Inferencecited by 0
  28. 2026G2PTQ: Improving LLM Post-Training Quantization with Generalized Gradient Compensationcited by 0
  29. 2026Does Execution Require Target KV Fidelity? A Mixed-Fidelity KV Runtime for LLM Servingcited by 0
  30. 2026QuantMLA: Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Cachingcited by 0
  31. 2026EdgeLLM-Nano: Auditing Polar-Guided Key-Cache Compression and Consistency-Anchored Pruning on a 33.6 MB On-Device Language Modelcited by 0
  32. 2026RECAP: Calibrating Low-Bit Reasoning Models on the History They Readcited by 0
  33. 2026TempoKV: Predictive KV Cache Quantization for Autoregressive Video Generationcited by 0
  34. 2026PN-Mix: Pair-Norm Guided Mixed-Precision Key Cache Quantization for Efficient Long-Output LLM Inferencecited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inference
  2. 2025KVLinC : KV Cache Quantization with Hadamard Rotation and Linear Correction
  3. 2026High-accuracy Low-Bit KV-Cache Quantization via Local Distribution Restoration
  4. 2025MILLION: Mastering Long-Context LLM Inference Via Outlier-Immunized KV Product Quantization
  5. 2025Accurate KV Cache Quantization with Outlier Tokens Tracing
  6. 2025NSNQuant: A Double Normalization Approach for Calibration-Free Low-Bit Vector Quantization of KV Cache
  7. 2025NQKV: A KV Cache Quantization Scheme Based on Normal Distribution Characteristics
  8. 2025Kitty: Accurate and Efficient 2-bit KV Cache Quantization with Dynamic Channel-wise Precision Boost