Hurwitz Quaternion Multiplicative Quantization for KV Cache Compression
Abstract
We propose \textbf{Hurwitz Quaternion Multiplicative Quantization (HQMQ)}, a \textbf{calibration-free} method for KV cache compression of large language models. HQMQ treats each 4-element chunk of K or V as a quaternion and quantizes its unit direction to the \emph{product} , where ranges over the 24-element Hurwitz group (the 24 vertices of the 24-cell on , pairwise angle ) and ranges over a per-(layer, head) secondary codebook of \emph{random} unit quaternions. The multiplicative composition yields effective codewords at stored parameters; random initialization suffices because left-multiplication is an isometry, so seeded codebooks vary in end-task ppl by . A per-batch median-multiplier outlier extraction step (, no calibration) handles modern outlier-heavy architectures. We evaluate on five modern open models: Mistral-7B (dense MHA), Llama-3-8B and Qwen2.5-7B and Qwen3-8B (dense GQA), and gpt-oss-20b (sparse MoE). On Mistral-7B and Qwen3-8B, HQMQ matches fp16 within -- ppl points at 5 bits. On Qwen2.5-7B and Qwen3-8B, where naive int4 collapses to ppl, HQMQ + Med3 recovers fp16 quality within -- ppl points at 5 bits. HQMQ Pareto-dominates naive int by -- at matched bits across all five models, and downstream zero-shot accuracy matches fp16 at bits on Mistral. Against the strongest calibrated KV-quantization baseline, HQMQ at bits matches KIVI-4 ( bits) within pt on CoQA, pts on TruthfulQA, and pts on GSM8K, at fewer bits and without a calibration pass. At the storage level, HQMQ delivers up to KV compression, shrinking a Llama-3-70B 128k-context cache from 43 GB to 8.5 GB.
Cite
@article{arxiv.2605.27646,
title = {Hurwitz Quaternion Multiplicative Quantization for KV Cache Compression},
author = {Kabir Swain and Sijie Han and Daniel Karl I. Weidele and Mauro Martino and David Cox and Antonio Torralba},
journal= {arXiv preprint arXiv:2605.27646},
year = {2026}
}