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

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

19 May 2026arXiv:2605.19660added by Syntology

Zunhai Su, Rui Yang, Chao Zhang, Yaxiu Liu, Yifan Zhang, Wei Wu, Jing Xiong, Dayou Du, Xialie Zhuang, Yulei Qian, Yuchen Xie, Yik-Chung Wu, Hongxia Yang, Ngai Wong

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2605.19660")

Code

Syntology Ran 13 of 15 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 3 ran · honoured contract; 3 ran · violated contract; 5 ran · our draft was wrong; 1 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: found in paper text by Syntology: 15 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ZunhaiSu/OScaR-KV-Quant found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 13 ran; 3 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
3ran · violated contract
5ran · our draft was wrong
1ran · fixture could not drive it
1ran
2unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ZunhaiSu/OScaR-KV-Quant. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

KVQuantizer ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran MIT (permissive) · 1ffea55c1a42d726 · report
_hadamard_transform_pytorch ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 35333e487bbf174b · report
_is_pow2 ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · violated contract fingerprinted MIT (permissive) · 562651e901c23867 · report
_norm_factor_extract ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · 9b414b96d293cc58 · report
_norm_factor_restore ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · violated contract MIT (permissive) · 237295470464b4d1 · report
asym_dequant ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · honoured contract fingerprinted MIT (permissive) · 42da3755ec5f55fd · report
asym_quant ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 61f9d2c394b964e5 · report
asym_quant_dequant ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · ee1603b6a317f6ef · report
get_minq_maxq ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · honoured contract fingerprinted MIT (permissive) · c1d9e09a87dcf2ca · report
is_pow2 ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · violated contract fingerprinted MIT (permissive) · 13baf68cd36c7523 · report
sym_dequant ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · honoured contract fingerprinted MIT (permissive) · be82a2289d043887 · report
sym_quant ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 03c46353b2aef040 · report
sym_quant_dequant ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 9fef7c2350080337 · report
QuaRotKVCacheQuantizer ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology unverified MIT (permissive) · e782a01051c60864 · report
hadamard_rotation ZunhaiSu/OScaR-KV-Quant/kv_cache_compression/quarot_utils.py found in paper text by Syntology unverified MIT (permissive) · 50add3266529eabf · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.19660, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections