arXiv(opens in a new tab)cs.LGOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.03027

Tailoring the Quantization Space for 1-Bit KV Cache Compression

Minsoo Cheong, Donghyun Son, Sungjoo Yoo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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× larger batch sizes and achieves 1.87× higher peak throughput compared to the BF16 baseline.

Code: https://github.com/mscheong01/tasq

1 INTRODUCTION

Modern LLM applications increasingly operate over interaction histories and large inputs, making long-context inference an important serving workload. Supporting such contexts requires storing the key and value activations of preceding tokens in the key–value (KV) cache. Because the cache grows linearly with sequence length and must be repeatedly accessed during autoregressive decoding, KV cache capacity and memory bandwidth become central bottlenecks in long-context serving.

KV cache compression directly targets these bottlenecks through various approaches, including token eviction (Zhang et al., 2023; Li et al., 2024), cache merging (Wang et al., 2024), and quantization (Liu et al., 2024; Hooper et al., 2024). Among them, quantization is one of the most widely studied and adopted approaches. In particular, vector quantization (VQ) is well suited to ultra-low-bit settings, as it jointly represents multiple channels with learned codewords that capture their multidimensional structure. Existing approaches learn codebooks over contiguous channel groups (Zhang et al., 2024) or normalize activations to use a calibration-free global codebook (Son et al., 2026). Yet preserving model quality as the rate approaches 1 bit per channel remains challenging.

To achieve high quantization quality at these rates, each codebook must effectively represent larger groups of channels with a limited set of centroids. We tackle this challenge by accounting for how quantization errors affect attention logits and how inter-channel dependencies can be exploited by VQ, based on two key insights. First, reconstruction errors in different channels have unequal effects on QK⊤QK^{\top}. Second, VQ can exploit inter-channel dependencies only when the corresponding channels are represented by the same codebook.

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

Figure

(a)

(b)

(c)

(d)

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.

Motivated by this, we introduce TaSQ (Tailored Space Vector Quantization), an LLM KV Cache VQ method that tailors the quantization space for accurate ultra-low-bit compression. TaSQ uses query-guided weighting to emphasize sensitive channels and covariance-aware grouping to assign dependent channels to the same local VQ group. A compact cross-head normalization further handles token-level magnitude outliers. The method employs only channel-wise scaling and permutation, without a dense rotation. These operations are mostly absorbed into the weight projection and codebooks, while runtime reconstruction operations are fused into the serving kernels. TaSQ therefore retains the conventional VQ lookup structure and incurs negligible runtime overhead.

Across general, reasoning, and long-context retrieval benchmarks, TaSQ substantially improves accuracy over existing VQ baselines in the 1-bit regime. In our SGLang serving implementation, TaSQ reduces the KV cache footprint and bandwidth demand, expanding the available KV cache pool by 12.48×12.48\times to support larger batches and enabling up to 1.87×1.87\times higher throughput compared to the full-precision BF16 baseline. These results demonstrate that tailoring the VQ target space is an effective approach to accurate and efficient ultra-low-bit KV cache compression.

References (54)