Tailoring the Quantization Space for 1-Bit KV Cache Compression
cs.LG, cs.AI, cs.CL
Submitted: 2026-10-02
Updated: 2026-10-02
Code: https://github.com/mscheong01/tasq
License: http://creativecommons.org/licenses/by/4.0/
The gist: The key-value (KV) cache becomes a major memory bottleneck in long-context LLM inference, placing substantial pressure on memory capacity and bandwidth.
Terminology
Abstract
The key-value (KV) cache becomes a major memory bottleneck in long-context LLM inference, placing substantial pressure on memory capacity and bandwidth. To mitigate this bottleneck, vector quantization (VQ) has emerged as a promising approach for aggressive KV cache compression. However, existing VQ methods degrade substantially in the 1-bit regime. At such extreme compression, each codebook must represent a larger group of channels with a limited set of centroids, making effective use of its capacity increasingly challenging. To address this, we introduce TaSQ, which tailors the VQ target space by combining query-guided channel weighting, cross-head normalization, and covariance-aware channel grouping to better reflect the error sensitivity and statistical structure of cached activations. Since these transforms are RoPE-compatible and can be easily merged into projection weights and codebooks, TaSQ preserves the conventional VQ lookup structure and adds negligible serving overhead. Across general, long-chain-of-thought reasoning, and long-context retrieval benchmarks, TaSQ consistently outperforms existing low-bit KV cache VQ baselines while preserving reasoning stability. On a single RTX 6000 Ada GPU, its SGLang implementation supports up to 14 times larger batch sizes and achieves 1.87 times higher peak throughput compared to the BF16 baseline.
Sources
- Phi-4-reasoning Technical Report
- Program Synthesis with Large Language Models
- Evaluating Large Language Models Trained on Code
- Training Verifiers to Solve Math Word Problems
- SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Models
- Extreme Compression of Large Language Models via Additive Quantization
- Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transforms
- GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers
- The Llama 3 Herd of Models
- DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning
- Measuring Massive Multitask Language Understanding
- RULER: What's the Real Context Size of Your Long-Context Language Models?
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
- SqueezeLLM: Dense-and-Sparse Quantization
- KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache
- GPQA: A Graduate-Level Google-Proof Q&A Benchmark
- GPTVQ: The Blessing of Dimensionality for LLM Quantization
- SciBench: Evaluating College-Level Scientific Problem-Solving Abilities of Large Language Models
- Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Tasks
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks