Spend Bits Where Queries Look: KV Cache Vector Quantization with Attention-Preserving Transforms
arXiv:2608.04074
2026
Memory
1 ideas extracted · analyzed Aug 31, 2026
What the math gives to ML
The paper recasts KV-cache compression as attention-product distortion rather than ordinary entrywise reconstruction error. Its most directly transferable construction is a volume-aware partition of transformed coefficients: equal-volume groups allow equal-size vector codebooks to attain the variable-rate high-resolution optimum under a fixed-width cache layout. This is especially relevant for two-bit KV caches, where scalar quantization and variance-equalizing rotations waste bits on low-energy coordinates. The safest first implementation is to retain an existing transform such as PCA or a Hadamard rotation, replace consecutive coefficient groups with calibration-based equal-volume groups, and evaluate attention distortion and long-context retrieval at identical bits and bandwidth.
Ideas from this paper
✗ Failed on benchmark
2026
Replace consecutive or randomly assigned transformed KV coefficients with groups whose variance-volume is approximately equal. Train one equal-size vector-quantizer codebook per group, so a fixed-width cache does not waste its low-rate budget by forcing high-variance and low-variance coordinates into badly mismatched groups. This is a drop-in quantization-layout change that can be applied to keys, values, or both.
Useful8/10
Difficulty5/10
Novelty7/10