Tailoring the Quantization Space for 1-Bit KV Cache Compression

Minsoo Cheong, Donghyun Son, Sungjoo YooarXiv 2026

TL;DR

TaSQ (Tailored Space Vector Quantization) enables aggressive 1-bit KV cache compression for Large Language Models (LLMs) by reshaping the quantization space to match the statistical structure of activations. By quantizing before positional embeddings and using query-guided weighting and covariance-aware grouping, it achieves near-lossless performance on complex reasoning tasks while supporting 14× larger batch sizes and nearly doubling serving throughput.

What Problem Does This Paper Address?

As LLMs move toward processing massive contexts (like entire books or codebases), the Key-Value (KV) cache becomes a massive memory bottleneck. Storing the activations for every preceding token consumes enormous amounts of VRAM and slows down inference due to memory bandwidth limits.

While Vector Quantization (VQ)—which represents groups of numbers with a single codebook index—is a powerful compression tool, it traditionally struggles in the "1-bit regime" (compressing each channel down to just 1 bit). At this extreme level, standard VQ methods lose too much information, causing models to hallucinate or fail at complex reasoning. The authors identify three main culprits:

  1. Unequal Sensitivity: Some channels affect the final attention score much more than others.
  2. Inter-channel Dependencies: Channels aren't independent; they have statistical correlations that standard grouping ignores.
  3. RoPE Distortion: Rotary Positional Embeddings (RoPE) rotate activations in a way that "spreads out" their distribution, making them much harder to quantize accurately.

Methods

TaSQ introduces a pipeline to "tailor" the activations before they are quantized, ensuring the limited capacity of a 1-bit codebook is spent where it matters most.

Figure 2: Overview of TaSQ. It tailors the VQ target space through query-guided channel weighting, cross-head shared-scale normalization, and covariance-aware grouping that preserves RoPE pairs, thereby reducing quantization error.
  • Query-Guided Channel Weighting: The authors derive weights based on how much each key channel contributes to the attention logit error. Channels that queries "look at" more intensely are given higher priority during quantization.
  • Cross-Head Shared-Scale Normalization: To handle outliers without wasting bits, TaSQ calculates a single scaling factor across all attention heads for a given token. This is more bit-efficient than per-head scaling.
  • Covariance-Aware Channel Grouping: Instead of grouping channels that happen to be next to each other (contiguous grouping), TaSQ uses a hierarchical matching algorithm to group channels that are statistically dependent. This allows the VQ codebook to exploit joint structures in the data.
  • Pre-RoPE Quantization: Crucially, TaSQ quantizes keys before RoPE is applied. To keep this efficient at runtime, they ensure their channel grouping preserves "RoPE pairs," allowing the rotation to be fused into the final attention kernel with zero overhead.

Datasets

The authors evaluated TaSQ across a diverse set of benchmarks to ensure it handles both general knowledge and deep reasoning:

  • General Tasks: GSM8K (math), MMLU (general knowledge), HumanEval (code), and BBH (logic).
  • Long-CoT Reasoning: AIME 2024/2025, LiveCodeBench, and SciBench. These are particularly sensitive to quantization errors.
  • Long-Context Retrieval: The RULER needle-in-a-haystack benchmark, testing context lengths up to 64k tokens.
  • Calibration: A small set of 64 windows (2,048 tokens each) from GPQA and CodeParrot was used to fit the codebooks.

Key Insights and Ideas

  • RoPE is a "Distribution Spreader": The paper demonstrates that quantizing after RoPE results in a 35% higher reconstruction error compared to quantizing before RoPE. Figure 1(c) visually shows how the compact "pre-RoPE" cluster becomes a dispersed ring "post-RoPE."
  • Grouping is the MVP: In their ablation study (Table 4), the authors found that covariance-aware grouping provided the single largest boost to model quality. If you group the right channels together, the VQ algorithm can represent them much more accurately.
  • Keys vs. Values: The authors found that Key (K) activations are much more sensitive and have stronger inter-channel correlations than Value (V) activations. Consequently, TaSQ focuses its sophisticated tailoring on the Keys, while using standard VQ for Values.
Figure 1: (a) Per-channel query medians and P10–P90 intervals. (b) Absolute inter-channel key correlations, with self-correlations masked. (c) Key distributions before and after RoPE for channels 44/45, using identical sampled tokens. (d) K-means reconstruction MSE on the fitting samples across all 32 layers, with matched group layouts and codebook sizes. All panels use a single 2,048-token GPQA window from Llama-3.1-8B; (a–c) show layer 15, KV head 0.

Key Results

TaSQ sets a new state-of-the-art for ultra-low-bit KV cache compression:

  • Accuracy: On Llama-3.1-8B, TaSQ achieved an average score of 59.21 across general benchmarks, significantly outperforming other 1-bit baselines like NovaKV (53.32) and NSNQuant (53.30).
  • Reasoning Stability: In long-chain-of-thought tasks (like DeepSeek-R1-Distill), TaSQ maintained reasoning stability where other methods caused the model to loop infinitely or collapse.
  • Efficiency: Implemented in SGLang on an NVIDIA RTX 6000 Ada, TaSQ supported 14× larger batch sizes (84 vs. 6) and achieved a 1.87× increase in peak throughput compared to the standard BF16 baseline.
  • Negligible Overhead: Because the transformations (weighting and permutation) are merged into the model's existing projection weights, there is no extra computational cost during the actual generation phase.

Limitations and Future Work

  • Value Path: While the paper focuses on Keys, the authors note that Values also show some (albeit smaller) potential for improvement through similar tailoring. They leave a fully optimized "Value-tailored" space for future research.
  • Calibration Dependency: Like most post-training quantization (PTQ) methods, TaSQ relies on a small calibration dataset. While it generalizes well to 16k context lengths (Figure 7), performance on extremely out-of-distribution data wasn't extensively explored.
  • Static Codebooks: The current implementation uses static codebooks fitted offline. Exploring dynamic or adaptive codebooks could potentially push compression even further.

Summary updated

BibTeX
@misc{cheong2026tailoring,
  author = {Minsoo Cheong and Donghyun Son and Sungjoo Yoo},
  title = {{Tailoring the Quantization Space for 1-Bit KV Cache Compression}},
  year = {2026},
  eprint = {2610.03027},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.03027},
}
Figure