Don't Waste Bits! Adaptive KV-Cache Quantization for Lightweight On-Device LLMs
On the map: Efficient LLM inference and serving → KV cache quantization
Abstract (arXiv)
Large Language Models (LLMs) have achieved remarkable progress across reasoning, generation, and decision-making tasks, yet deploying them on mobile, embedded, and edge devices remains particularly challenging. On-device LLM inference is heavily constrained by the memory and bandwidth overhead of the key-value (KV) cache, which grows linearly with context length and often dominates decoding cost. Existing KV-cache quantization schemes typically rely on fixed precision or hand-crafted heuristics, thereby wasting bits on low-impact tokens while over-compressing informative ones, leading to avoidable accuracy degradation. Inspired by Huffman coding's principle of variable-length allocation, we propose adaptive KV-cache quantization, a learned policy that assigns bit-width proportional to token importance, minimizing expected memory and latency without sacrificing competitive accuracy. Our framework extracts lightweight token-level features, including token frequency, quality score, attention variance, and entropy-based uncertainty, and feeds them into a compact data-driven controller that dynamically selects KV precision from {2-bit, 4-bit, 8-bit, FP16} during decoding. This adaptive precision policy reduces KV memory footprint and latency while improving accuracy compared to static KV quantization and rule-based baselines, and maintaining competitive accuracy close to FP16 inference across standard LLM benchmarks. Extensive experiments across multiple commonsense reasoning benchmarks using SmolLM-135M, SmolLM-360M, and SmolLM-1.7B demonstrate that our controller consistently improves the accuracy-latency trade-off. For instance, with SmolLM-360M on HellaSwag, our method reduces decoding latency (ms/token) by 17.75% relative to static KV quantization, improves accuracy by 7.60 points, and remains within only 0.30 points of FP16 inference.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in KV cache quantization, one of 12 directions in Efficient LLM inference and serving. Builds on 35 of its 38 references that are in the map. First posted on arXiv 6 Apr 2026.
Builds on
35 of 38 references.
Closest ancestors · 6
Same direction, newest first
- 2025Cocktail: Chunk-Adaptive Mixed-Precision Quantization for Long-Context LLM Inference30 Mar
- 2025KVTuner: Sensitivity-Aware Layer-Wise Mixed-Precision KV Cache Quantization for Efficient and Nearly Lossless LLM Inference6 Feb
- 2024ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identification23 May
- 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 · 29
- 2017Attention Is All You Needcited by 59,932
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2022Galactica: A Large Language Model for Sciencecited by 736
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
- 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inferencecited by 230
17 more
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 125
- 2023LaMini-LM: A Diverse Herd of Distilled Models from Large-Scale Instructionscited by 124
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 124
- 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Modelscited by 122
- 2023Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Clustercited by 106
- 2023Audio-Visual LLM for Video Understandingcited by 76
- 2024Empowering LLMs to Understand and Generate Complex Vector Graphicscited by 63
- 2024DynamicKV: Task-Aware Adaptive KV Cache Compression for Long Context LLMscited by 42
- 2024A Comprehensive Study on Quantization Techniques for Large Language Modelscited by 34
- 2024ResQ: Mixed-Precision Quantization of Large Language Models with Low-Rank Residualscited by 32
- 2024BlueLM-V-3B: Algorithm and System Co-Design for Multimodal Large Language Models on Mobile Devicescited by 25
- 2025Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Modelscited by 21
- 2024SCOPE: Optimizing Key-Value Cache Compression in Long-context Generationcited by 20
- 2024SeqAfford: Sequential 3D Affordance Reasoning via Multimodal Large Language Modelcited by 18
- 2025MoQAE: Mixed-Precision Quantization for Long-Context LLM Inference via Mixture of Quantization-Aware Expertscited by 12
- 2025All You Need for Object Detection: From Pixels, Points, and Prompts to Next-Gen Fusion and Multimodal LLMs/VLMs in Autonomous Vehiclescited by 1
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Runtime-Certified Bounded-Error Quantized Attentioncited by 4
- 2026TriAxialKV: Toward Extreme Low-Precision KV-Cache Quantization for Agentic Inference Taskscited by 3
- 2026CONF-KV: Confidence-Aware KV Cache Eviction with Mixed-Precision Storage for Long-Horizon LLMcited by 2
- 2026QKVShare: Quantized KV-Cache Handoff for Multi-Agent On-Device LLMscited by 1
- 2026Parser States Already Know: Structure-Conditioned KV Persistence for Structured Generationcited by 0
- 2026A Target-Centric Survey of Quantization-Aware Trainingcited by 0
- 2026Spend Bytes on Breadth: Precision-Count Trade-offs for Decode-Time KV Compression in Long Chain-of-Thought Reasoningcited by 0
- 2026Spend Bytes on Breadth: Precision-Count Trade-offs for Decode-Time KV Compression in Long Chain-of-Thought Reasoning5 Oct 2026
- 2026A Target-Centric Survey of Quantization-Aware Training30 Aug 2026
- 2026Parser States Already Know: Structure-Conditioned KV Persistence for Structured Generation28 Aug 2026
- 2026CONF-KV: Confidence-Aware KV Cache Eviction with Mixed-Precision Storage for Long-Horizon LLM24 May 2026
- 2026Runtime-Certified Bounded-Error Quantized Attention20 May 2026
- 2026TriAxialKV: Toward Extreme Low-Precision KV-Cache Quantization for Agentic Inference Tasks16 May 2026
- 2026QKVShare: Quantized KV-Cache Handoff for Multi-Agent On-Device LLMs5 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026OScaR: The Occam's Razor for Extreme KV Cache Quantization in LLMs and Beyond
- 2025PM-KVQ: Progressive Mixed-precision KV Cache Quantization for Long-CoT LLMs
- 2025KVLinC : KV Cache Quantization with Hadamard Rotation and Linear Correction
- 2025Kitty: Accurate and Efficient 2-bit KV Cache Quantization with Dynamic Channel-wise Precision Boost
- 2025NQKV: A KV Cache Quantization Scheme Based on Normal Distribution Characteristics
- 2025VecInfer: Efficient LLM Inference with Low-Bit KV Cache via Outlier-Suppressed Vector Quantization
- 2025MILLION: Mastering Long-Context LLM Inference Via Outlier-Immunized KV Product Quantization
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference