RotateKV: Accurate and Robust 2-Bit KV Cache Quantization for LLMs via Outlier-Aware Adaptive Rotations
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
- 2024SpinQuant: LLM quantization with learned rotations26 May
- 2024ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identification23 May
- 2024SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Models10 May
- 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving7 May
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs30 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 · 27
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Visual Instruction Tuningcited by 7,869
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Improved Baselines with Visual Instruction Tuningcited by 4,418
- 2023Qwen Technical Reportcited by 3,344
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2023A Survey of Large Language Modelscited by 2,576
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
15 more
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
- 2024Massive Activations in Large Language Modelscited by 294
- 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
- 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 167
- 2024GEAR: An Efficient KV Cache Compression Recipe for Near-Lossless Generative Inference of LLMcited by 158
- 2024No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantizationcited by 101
- 2024MileBench: Benchmarking MLLMs in Long Contextcited by 88
- 2024Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibrationcited by 74
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 56
- 2024IntactKV: Improving Large Language Model Quantization by Keeping Pivot Tokens Intactcited by 52
- 2024ResQ: Mixed-Precision Quantization of Large Language Models with Low-Rank Residualscited by 36
Built on by
Citing papers per year: 2025: 9; 2026: 37.
46 papers.
Sort:
By area:
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 125
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 27
- 2026Quant VideoGen: Auto-Regressive Long Video Generation via 2-Bit KV-Cache Quantizationcited by 23
- 2025PM-KVQ: Progressive Mixed-precision KV Cache Quantization for Long-CoT LLMscited by 22
- 2025Unveiling Super Experts in Mixture-of-Experts Large Language Modelscited by 17
- 2026Agentic World Modeling: Foundations, Capabilities, Laws, and Beyondcited by 14
- 2025Plug-and-Play 1.x-Bit KV Cache Quantization for Video Large Language Modelscited by 13
- 2025Which Heads Matter for Reasoning? RL-Guided KV Cache Compressioncited by 10
- 2026OSCAR: Offline Spectral Covariance-Aware Rotation for 2-bit KV Cache Quantizationcited by 9
- 2025BitDecoding: Unlocking Tensor Cores for Long-Context LLMs with Low-Bit KV Cachecited by 8
- 2025MixKVQ: Query-Aware Mixed-Precision KV Cache Quantization for Long-Context Reasoningcited by 8
- 2026Agent Memory Below the Prompt: Persistent Q4 KV Cache for Multi-Agent LLM Inference on Edge Devicescited by 8
34 more
- 2026XStreamVGGT: Extremely Memory-Efficient Streaming Vision Geometry Grounded Transformer with KV Cache Compressioncited by 7
- 2026VeriCache: Turning Lossy KV Cache into Lossless LLM Inferencecited by 5
- 2026OScaR: The Occam's Razor for Extreme KV Cache Quantization in LLMs and Beyondcited by 5
- 2025VecInfer: Efficient LLM Inference with Low-Bit KV Cache via Outlier-Suppressed Vector Quantizationcited by 4
- 2026SnapMLA: Efficient Long-Context MLA Decoding via Hardware-Aware FP8 Quantized Pipeliningcited by 4
- 2026PolyKV: A Shared Asymmetrically-Compressed KV Cache Pool for Multi-Agent LLM Inferencecited by 3
- 2025FireQ: Fast INT4-FP8 Kernel and RoPE-aware Quantization for LLM Inference Accelerationcited by 2
- 2026OCTOPUS: Optimized KV Cache for Transformers via Octahedral Parametrization Under optimal Squared error quantizationcited by 2
- 2026Output-Aware Rotation for INT2 KV-Cache Quantizationcited by 2
- 2026Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transformscited by 2
- 2026Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateauscited by 2
- 2026RoPE-Aware Bit Allocation for KV-Cache Quantizationcited by 1
- 2026SPECTRA: Pushing the KV Cache Beyond the 2-Bit Cliff via Spectral Transform Codingcited by 1
- 2026KV Cache Compression Through the Lens of Transform Codingcited by 1
- 2026Monte Carlo Estimation for KV Cache Evictioncited by 1
- 2026SDFP: Speculative Decoding with FIT-Pruned Models for Training-Free and Plug-and-Play LLM Accelerationcited by 0
- 2026XStreamVGGT: Extremely Memory-Efficient Streaming Vision Geometry Grounded Transformer with KV Cache Compressioncited by 0
- 2026HeadQ: Model-Visible Distortion and Score-Space Correction for KV-Cache Quantizationcited by 0
- 2026GSRQ: Gain-Shape Residual Quantization for Sub-1-bit KV Cachecited by 0
- 2026DocOCR-Eval: A Correction-Based Framework for OCR Tool Selection Without Ground Truthcited by 0
- 2026Codec-Gauge: Learning Compression-Friendly Gauges for Transformer KV Cachescited by 0
- 2026MM-ShiftKV: Decode-Aware Prefill-Stage KV Selection for Multimodal Large Language Modelscited by 0
- 2026When Local Variance Optimality Is Not Enough: RoPE-Aligned Q/K Rotations for Dynamic 4-Bit Quantisationcited by 0
- 2026SemKV: Semantic Mixed-Precision KV Cache Quantization Guided by the Quality Cliff for Long-Context LLM Inferencecited by 0
- 2026Quality Recovery for Quantized KV Caches via Low-Rank Attention Adaptationcited by 0
- 2026Unified AI Gateway: A Framework for Joint Model Routing and KV Cache Managementcited by 0
- 2026Self-Indexing Attention for Compression-Compatible Sparse Long-Context LLM Inferencecited by 0
- 2026G2PTQ: Improving LLM Post-Training Quantization with Generalized Gradient Compensationcited by 0
- 2026Does Execution Require Target KV Fidelity? A Mixed-Fidelity KV Runtime for LLM Servingcited by 0
- 2026QuantMLA: Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Cachingcited by 0
- 2026EdgeLLM-Nano: Auditing Polar-Guided Key-Cache Compression and Consistency-Anchored Pruning on a 33.6 MB On-Device Language Modelcited by 0
- 2026RECAP: Calibrating Low-Bit Reasoning Models on the History They Readcited by 0
- 2026TempoKV: Predictive KV Cache Quantization for Autoregressive Video Generationcited 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
- 2026TempoKV: Predictive KV Cache Quantization for Autoregressive Video Generation11 Oct 2026
- 2026RECAP: Calibrating Low-Bit Reasoning Models on the History They Read11 Oct 2026
- 2026EdgeLLM-Nano: Auditing Polar-Guided Key-Cache Compression and Consistency-Anchored Pruning on a 33.6 MB On-Device Language Model10 Oct 2026
- 2026Monte Carlo Estimation for KV Cache Eviction6 Oct 2026
- 2026QuantMLA: Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Caching29 Sep 2026
- 2026Does Execution Require Target KV Fidelity? A Mixed-Fidelity KV Runtime for LLM Serving27 Sep 2026
- 2026G2PTQ: Improving LLM Post-Training Quantization with Generalized Gradient Compensation25 Sep 2026
- 2026Unified AI Gateway: A Framework for Joint Model Routing and KV Cache Management7 Sep 2026
- 2026Quality Recovery for Quantized KV Caches via Low-Rank Attention Adaptation2 Sep 2026
- 2026SemKV: Semantic Mixed-Precision KV Cache Quantization Guided by the Quality Cliff for Long-Context LLM Inference28 Aug 2026
- 2026Self-Indexing Attention for Compression-Compatible Sparse Long-Context LLM Inference16 Aug 2026
34 more
- 2026KV Cache Compression Through the Lens of Transform Coding14 Aug 2026
- 2026When Local Variance Optimality Is Not Enough: RoPE-Aligned Q/K Rotations for Dynamic 4-Bit Quantisation13 Aug 2026
- 2026Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateaus12 Aug 2026
- 2026SPECTRA: Pushing the KV Cache Beyond the 2-Bit Cliff via Spectral Transform Coding8 Aug 2026
- 2026Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transforms4 Aug 2026
- 2026Output-Aware Rotation for INT2 KV-Cache Quantization3 Aug 2026
- 2026Codec-Gauge: Learning Compression-Friendly Gauges for Transformer KV Caches10 Jul 2026
- 2026GSRQ: Gain-Shape Residual Quantization for Sub-1-bit KV Cache1 Jul 2026
- 2026RoPE-Aware Bit Allocation for KV-Cache Quantization23 Jun 2026
- 2026MM-ShiftKV: Decode-Aware Prefill-Stage KV Selection for Multimodal Large Language Models9 Jun 2026
- 2026OCTOPUS: Optimized KV Cache for Transformers via Octahedral Parametrization Under optimal Squared error quantization20 May 2026
- 2026OScaR: The Occam's Razor for Extreme KV Cache Quantization in LLMs and Beyond19 May 2026
- 2026OSCAR: Offline Spectral Covariance-Aware Rotation for 2-bit KV Cache Quantization18 May 2026
- 2026VeriCache: Turning Lossy KV Cache into Lossless LLM Inference17 May 2026
- 2026DocOCR-Eval: A Correction-Based Framework for OCR Tool Selection Without Ground Truth5 May 2026
- 2026HeadQ: Model-Visible Distortion and Score-Space Correction for KV-Cache Quantization5 May 2026
- 2026PolyKV: A Shared Asymmetrically-Compressed KV Cache Pool for Multi-Agent LLM Inference27 Apr 2026
- 2026Agentic World Modeling: Foundations, Capabilities, Laws, and Beyond24 Apr 2026
- 2026XStreamVGGT: Extremely Memory-Efficient Streaming Vision Geometry Grounded Transformer with KV Cache Compression25 Feb 2026
- 2026Agent Memory Below the Prompt: Persistent Q4 KV Cache for Multi-Agent LLM Inference on Edge Devices17 Feb 2026
- 2026SnapMLA: Efficient Long-Context MLA Decoding via Hardware-Aware FP8 Quantized Pipelining11 Feb 2026
- 2026SDFP: Speculative Decoding with FIT-Pruned Models for Training-Free and Plug-and-Play LLM Acceleration5 Feb 2026
- 2026Quant VideoGen: Auto-Regressive Long Video Generation via 2-Bit KV-Cache Quantization3 Feb 2026
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Models20 Jan 2026
- 2026XStreamVGGT: Extremely Memory-Efficient Streaming Vision Geometry Grounded Transformer with KV Cache Compression3 Jan 2026
- 2025MixKVQ: Query-Aware Mixed-Precision KV Cache Quantization for Long-Context Reasoning22 Dec 2025
- 2025Which Heads Matter for Reasoning? RL-Guided KV Cache Compression9 Oct 2025
- 2025VecInfer: Efficient LLM Inference with Low-Bit KV Cache via Outlier-Suppressed Vector Quantization7 Oct 2025
- 2025Unveiling Super Experts in Mixture-of-Experts Large Language Models31 Jul 2025
- 2025FireQ: Fast INT4-FP8 Kernel and RoPE-aware Quantization for LLM Inference Acceleration27 May 2025
- 2025PM-KVQ: Progressive Mixed-precision KV Cache Quantization for Long-CoT LLMs24 May 2025
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Rate28 Apr 2025
- 2025BitDecoding: Unlocking Tensor Cores for Long-Context LLMs with Low-Bit KV Cache24 Mar 2025
- 2025Plug-and-Play 1.x-Bit KV Cache Quantization for Video Large Language Models20 Mar 2025
- 2025Plug-and-Play 1.x-Bit KV Cache Quantization for Video Large Language Modelscited by 13
- 2026OSCAR: Offline Spectral Covariance-Aware Rotation for 2-bit KV Cache Quantizationcited by 9
- 2025BitDecoding: Unlocking Tensor Cores for Long-Context LLMs with Low-Bit KV Cachecited by 8
- 2026XStreamVGGT: Extremely Memory-Efficient Streaming Vision Geometry Grounded Transformer with KV Cache Compressioncited by 7
- 2026VeriCache: Turning Lossy KV Cache into Lossless LLM Inferencecited by 5
- 2026OScaR: The Occam's Razor for Extreme KV Cache Quantization in LLMs and Beyondcited by 5
- 2025VecInfer: Efficient LLM Inference with Low-Bit KV Cache via Outlier-Suppressed Vector Quantizationcited by 4
- 2025FireQ: Fast INT4-FP8 Kernel and RoPE-aware Quantization for LLM Inference Accelerationcited by 2
- 2026OCTOPUS: Optimized KV Cache for Transformers via Octahedral Parametrization Under optimal Squared error quantizationcited by 2
- 2026Output-Aware Rotation for INT2 KV-Cache Quantizationcited by 2
- 2026Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transformscited by 2
- 2026RoPE-Aware Bit Allocation for KV-Cache Quantizationcited by 1
12 most cited of 26 All 26 (JSON)
- 2026PN-Mix: Pair-Norm Guided Mixed-Precision Key Cache Quantization for Efficient Long-Output LLM Inference14 Oct 2026
- 2026EdgeLLM-Nano: Auditing Polar-Guided Key-Cache Compression and Consistency-Anchored Pruning on a 33.6 MB On-Device Language Model10 Oct 2026
- 2026Monte Carlo Estimation for KV Cache Eviction6 Oct 2026
- 2026Does Execution Require Target KV Fidelity? A Mixed-Fidelity KV Runtime for LLM Serving27 Sep 2026
- 2026Unified AI Gateway: A Framework for Joint Model Routing and KV Cache Management7 Sep 2026
- 2026Quality Recovery for Quantized KV Caches via Low-Rank Attention Adaptation2 Sep 2026
- 2026SemKV: Semantic Mixed-Precision KV Cache Quantization Guided by the Quality Cliff for Long-Context LLM Inference28 Aug 2026
- 2026Self-Indexing Attention for Compression-Compatible Sparse Long-Context LLM Inference16 Aug 2026
- 2026KV Cache Compression Through the Lens of Transform Coding14 Aug 2026
- 2026Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transforms4 Aug 2026
- 2026Output-Aware Rotation for INT2 KV-Cache Quantization3 Aug 2026
- 2026Codec-Gauge: Learning Compression-Friendly Gauges for Transformer KV Caches10 Jul 2026
12 newest of 26 All 26 (JSON)
- 2025PM-KVQ: Progressive Mixed-precision KV Cache Quantization for Long-CoT LLMscited by 22
- 2025Which Heads Matter for Reasoning? RL-Guided KV Cache Compressioncited by 10
- 2025MixKVQ: Query-Aware Mixed-Precision KV Cache Quantization for Long-Context Reasoningcited by 8
- 2026RECAP: Calibrating Low-Bit Reasoning Models on the History They Readcited by 0
- 2026RECAP: Calibrating Low-Bit Reasoning Models on the History They Read11 Oct 2026
- 2025MixKVQ: Query-Aware Mixed-Precision KV Cache Quantization for Long-Context Reasoning22 Dec 2025
- 2025Which Heads Matter for Reasoning? RL-Guided KV Cache Compression9 Oct 2025
- 2025PM-KVQ: Progressive Mixed-precision KV Cache Quantization for Long-CoT LLMs24 May 2025
- 2026Agent Memory Below the Prompt: Persistent Q4 KV Cache for Multi-Agent LLM Inference on Edge Devicescited by 8
- 2026PolyKV: A Shared Asymmetrically-Compressed KV Cache Pool for Multi-Agent LLM Inferencecited by 3
- 2026SPECTRA: Pushing the KV Cache Beyond the 2-Bit Cliff via Spectral Transform Codingcited by 1
- 2026SPECTRA: Pushing the KV Cache Beyond the 2-Bit Cliff via Spectral Transform Coding8 Aug 2026
- 2026PolyKV: A Shared Asymmetrically-Compressed KV Cache Pool for Multi-Agent LLM Inference27 Apr 2026
- 2026Agent Memory Below the Prompt: Persistent Q4 KV Cache for Multi-Agent LLM Inference on Edge Devices17 Feb 2026
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 125
- 2026SnapMLA: Efficient Long-Context MLA Decoding via Hardware-Aware FP8 Quantized Pipeliningcited by 4
- 2026Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateauscited by 2
- 2026DocOCR-Eval: A Correction-Based Framework for OCR Tool Selection Without Ground Truthcited by 0
- 2026When Local Variance Optimality Is Not Enough: RoPE-Aligned Q/K Rotations for Dynamic 4-Bit Quantisationcited by 0
- 2026G2PTQ: Improving LLM Post-Training Quantization with Generalized Gradient Compensationcited by 0
- 2026QuantMLA: Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Cachingcited by 0
- 2026QuantMLA: Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Caching29 Sep 2026
- 2026G2PTQ: Improving LLM Post-Training Quantization with Generalized Gradient Compensation25 Sep 2026
- 2026When Local Variance Optimality Is Not Enough: RoPE-Aligned Q/K Rotations for Dynamic 4-Bit Quantisation13 Aug 2026
- 2026Massive Activations in Hybrid Linear Attention Large Language Models: Pre-Attention Spikes and Inter-Spike Plateaus12 Aug 2026
- 2026DocOCR-Eval: A Correction-Based Framework for OCR Tool Selection Without Ground Truth5 May 2026
- 2026SnapMLA: Efficient Long-Context MLA Decoding via Hardware-Aware FP8 Quantized Pipelining11 Feb 2026
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Rate28 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2025KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inference
- 2025KVLinC : KV Cache Quantization with Hadamard Rotation and Linear Correction
- 2026High-accuracy Low-Bit KV-Cache Quantization via Local Distribution Restoration
- 2025MILLION: Mastering Long-Context LLM Inference Via Outlier-Immunized KV Product Quantization
- 2025Accurate KV Cache Quantization with Outlier Tokens Tracing
- 2025NSNQuant: A Double Normalization Approach for Calibration-Free Low-Bit Vector Quantization of KV Cache
- 2025NQKV: A KV Cache Quantization Scheme Based on Normal Distribution Characteristics
- 2025Kitty: Accurate and Efficient 2-bit KV Cache Quantization with Dynamic Channel-wise Precision Boost