arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.27467cs.LGcs.AI

TurboAngle: 通过均匀角度量化实现近无损的KV缓存压缩

TurboAngle: Near-Lossless KV Cache Compression via Uniform Angle Quantization

LLMs Research Inc.(LLMs研究公司)

Dipkumar Patel

AI总结:

本文提出通过在快速沃尔什- Hadamard域中量化角度来压缩KV缓存条目,采用随机对角旋转使连续元素对在单位圆上近似均匀分布。通过每层早期提升技术,独立配置每层K和V代码本大小,为模型特定的关键层分配更高精度,实现四模型无损压缩和六模型近无损质量压缩。

摘要:

我们通过在快速沃尔什- Hadamard域中量化角度来压缩KV缓存条目,其中随机对角旋转使连续元素对在单位圆上近似均匀分布。我们扩展了这种角度量化器,加入了每层早期提升技术,该技术在每层独立配置K和V代码本大小,为模型特定的关键层分配更高精度。在七个模型(1B到7B参数)上,每层早期提升技术在四模型上实现无损压缩,在七模型中的六模型上实现近无损质量压缩,每元素角度位数为3.28到3.67。非对称范数量化(键使用8位,值使用4位对数空间)在Mistral-7B上实现每元素6.56总位数,词频降解为+0.0014且无需校准数据。层组敏感性分析揭示了模型特定的瓶颈模式,包括K主导层与V主导层以及负转移层,其中增加精度会降级质量。

英文摘要:

We compress KV cache entries by quantizing angles in the Fast Walsh-Hadamard domain, where a random diagonal rotation makes consecutive element pairs approximately uniformly distributed on the unit circle. We extend this angular quantizer with per-layer early-boost, which independently configures K and V codebook sizes at each layer, allocating higher precision to a model-specific subset of critical layers. Across seven models (1B to 7B parameters), per-layer early-boost achieves lossless compression on four models and near-lossless quality on six of seven, at 3.28 to 3.67 angle bits per element. Asymmetric norm quantization (8-bit for keys, 4-bit log-space for values) yields 6.56 total bits per element on Mistral-7B with perplexity degradation of +0.0014 and no calibration data. A layer-group sensitivity analysis reveals model-specific bottleneck patterns, including K-dominated versus V-dominated layers and negative-transfer layers where increased precision degrades quality.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑