WUSH-KV: KV Cache Quantization with Data-Adaptive Transforms
Jiale Chen, Vage Egiazarian, Eldar Kurtić, Torsten Hoefler, Dan Alistarh
Abstract
KV cache memory and bandwidth costs grow with context length and batch size, which limits efficient long-context inference. To address this bottleneck, we introduce WUSH-KV for low-bit KV-cache quantization. It adapts WUSH, which constructs a data-aware transform from the second-order statistics of both factors in a matrix product to reduce quantization error. WUSH-KV uses calibration data to construct separate key and value transforms, with the value transform folded into the model weights and the key transform applied after RoPE. The transforms can be paired with clipped quantizers. For one such quantizer, QuEST INT, we show that, under mild assumptions, the WUSH transform is near-optimal. With this quantizer, WUSH-KV reduces layerwise reconstruction error and achieves the lowest end-to-end perplexity among other tested transforms. For end-to-end evaluation, we integrate WUSH-KV into SGLang using OSCAR-style percentile-clipped affine quantization. At 2-bit, WUSH-KV performs comparably to or outperforms the OSCAR transform across all evaluated models and downstream tasks.
Create a lesson
Related papers
Local Affine Quantization for KV Caches: From Shared Ranges to Prediction Error
Shared title terminologycs.LGShrey Shah, Rohith Kukkala
MLP Cache: A Post-Hoc Memory-Compute Trade-off for Transformer Inference
Shared title terminologycs.LGHuzheng Yang, Yiqiao Huang, Qingqiao Hu et al.
Low-Discrepancy Dither for Quantized Recurrent State Caches
Shared title terminologycs.LGSnigdha Chandan Khilar
QuantMLA: Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Caching
Shared title terminologycs.LGZunhai Su, Yuxuan Sun, Jianchao Tan et al.
Function-Space Transformer with Adaptive Anchors
Shared title terminologycs.LGGuorui Sang, Pedram Rooshenas
Mira: Memory-Efficient MoE Inference Using Adaptive Caching and Predictive Expert Staging
Shared title terminologycs.LGSanjali Yadav, Bahar Asgari