KV Cache is 1 Bit Per Channel: Efficient Large Language Model Inference with Coupled Quantization
Authors:
- Jonah YiJYJonah Yi
- Zhaozhuo XuZXZhaozhuo Xu
- Anshumali ShrivastavaASAnshumali Shrivastava
Preprint
Abstract
Efficient deployment of Large Language Models (LLMs) requires batching multiple requests together to improve throughput. As the batch size, context length, or model size increases, the size of the key and value (KV) cache can quickly become the main contributor to GPU memory usage and the bottleneck of inference latency. Quantization has emerged as an effective technique for KV cache compression, but existing methods still fail at very low bit widths. We observe that distinct channels of a key/value activation embedding are highly inter-dependent, and the joint entropy of multiple channels grows at a slower rate than the sum of their marginal entropies. Based on this insight, we propose Coupled Quantization (CQ), which couples multiple key/value channels together to exploit their inter-dependency and encode the activations in a more information-efficient manner. Extensive experiments reveal that CQ outperforms or is competitive with existing baselines in preserving model quality. Furthermore, we demonstrate that CQ can preserve model quality with KV cache quantized down to 1-bit.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- AWQ: Activation-aware Weight Quantization for On-Device LLM Compression and AccelerationGetMobile: Mobile Computing and Communications, 2025
- KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization2024
- NoMAD-Attention: Efficient LLM Inference on CPUs Through Multiply-add-free Attention2024
- Effective Long-Context Scaling of Foundation Models2024
- RoFormer: Enhanced transformer with Rotary Position EmbeddingNeurocomputing, 2023
- ChatGPT for good? On opportunities and challenges of large language models for educationLearning and Individual Differences, 2023
- Product Quantization for Nearest Neighbor SearchIEEE Transactions on Pattern Analysis and Machine Intelligence, 2010
- Least squares quantization in PCMIEEE Transactions on Information Theory, 1982