OScaR: The Occam's Razor for Extreme KV Cache Quantization in LLMs and Beyond

Zunhai Su, Rui Yang, Chao Zhang, Yaxiu Liu, Yifan Zhang +9 more
5/19/2026
cs.LGcs.CL

Official code: ZunhaiSu/OScaR-KV-Quant (142 stars, MIT, last commit 2026-05-20).

Abstract

The rapid advancement toward long-context reasoning and multi-modal intelligence has made the memory footprint of the Key-Value (KV) cache a dominant memory bottleneck for efficient deployment. While the established per-channel quantization effectively accommodates intrinsic channel-wise outliers in Key tensors, its efficacy diminishes under extreme compression. In this work, we revisit the inherent limitations of the per-channel quantization paradigm from both empirical and theoretical perspectives. Our analysis identifies Token Norm Imbalance (TNI) as the primary bottleneck to quantization fidelity. We demonstrate that TNI systematically amplifies errors when shared quantization parameters are required to span token groups exhibiting substantial norm disparities. Instead of relying on intricate quantization pipelines (e.g., TurboQuant), we propose OScaR (Omni-Scaled Canalized Rotation), an accurate and lightweight KV cache compression framework for X-LLMs (i.e., text-only, multi-modal, and omni-modal LLMs). Advancing the per-channel paradigm, OScaR employs Canalized Rotation followed by Omni-Token Scaling to mitigate TNI-induced sequence-dimensional variance both effectively and efficiently, further supported by our optimized system design and CUDA kernels. Extensive evaluations across X-LLMs show that OScaR consistently outperforms existing methods and achieves near-lossless performance under INT2 quantization, establishing it as a robust, low-complexity, and universal framework that defines a new Pareto front. Compared with the BF16 FlashDecoding-v2 baseline, our OScaR implementation achieves a notable up to 3.0x speedup in decoding, reduces memory footprint by 5.3x, and increases throughput by 4.1x. The code for OScaR is publicly available at https://github.com/ZunhaiSu/OScaR-KV-Quant.

View on arXivView PDF

Code Implementations(1)

MIT

🏆 OScaR: The Occam's Razor for Extreme KV Cache Quantization in LLMs and Beyond — redefining the accuracy-efficiency Pareto front for X-LLMs KV quantization.

14215C++, CudaMay 19, 20265 months agoMIT

Similar Papers

Cite this paper

@article{su2026oscar,
  title  = {OScaR: The Occam's Razor for Extreme KV Cache Quantization in LLMs and Beyond},
  author = {Zunhai Su and Rui Yang and Chao Zhang and Yaxiu Liu and Yifan Zhang and Wei Wu and Jing Xiong and Dayou Du and Xialie Zhuang and Yulei Qian and Yuchen Xie and Yik-Chung Wu and Hongxia Yang and Ngai Wong},
  year   = {2026},
  eprint = {2605.19660},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.19660v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.19660.svg)](https://codeofpaper.com/paper/2605.19660)

Discussion