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.
Figures & tables
Figure 1: TurboAngle pipeline. Top: the compression path applies a random diagonal rotation D , the normalized FWHT H , polar decomposition of consecutive pairs, and uniform angle quantization on S1 , storing angle indices ki and norms ri . Bottom: reconstruction maps (ki,ri) back to Cartesian coordinates via trigonometric lookup, then applies the inverse FWHT to recover the approximate KV vector.
Method
Bits/elem
Δ PPL ↓
Mistral-7B
TinyLlama
TurboAngle ( n=32 )
2.50
+0.0104
+0.0694
TurboAngle ( n=48 )
2.79
+0.0034
+0.0150
TurboAngle ( n=64 )
3.00
+0.0010
+0.0176 †
TurboAngle ( n=128 )
3.50
+0.0030
+0.0036
TQ-sym4-g4
4.00
+0.0148
+0.1295
Table 1: Angular vs scalar quantization. Δ PPL (lower is better). TurboAngle bit rates count angle bits only; norms are stored in fp32.
Model
L
PPL base
Uniform (3.25b)
Best per-layer
Δ PPL
Δ PPL
bits
TinyLlama-1.1B
22
8.913
+0.0011
−0.0022
3.34
Mistral-7B
32
5.844
+0.0018
+0.0002
3.31
SmolLM2-1.7B
24
8.930
+0.0071
−0.0003
3.67
phi-1.5
24
28.63
+0.0245
−0.0000
3.58
StableLM-2-1.6B
32
9.790
+0.0207
+0.0012
3.63
Table 2: Per-layer early-boost results on seven models. WikiText-2 perplexity at 32K tokens. “Uniform” is the K128V64 baseline (3.25 angle bits/element). Best per-layer config is the optimal configuration found through systematic sweep. Angle bits count only angular indices; norms are in fp32.
Model
Boosted layers
nKearly
nVearly
Type
Notes
TinyLlama
0–3
128
256
V-dom
V=256 required; K=128 sufficient
Mistral-7B
0–3
256
128
K-dom
K=256 required; E8 is worse
SmolLM2
0–19
256
128
K+V
Lossless requires 20 of 24 layers
phi-1.5
0–7, 16–23
256
128
K-sel
Skip 8–15 (negative transfer)
StableLM-2
0–23
256
128
K+V
24 of 32 layers; sharp cliff at E24
StarCoder2
0–15
256
128
K+V
16 of 40 layers; non-monotonic
Table 3: Optimal per-layer configurations. nKearly,nVearly are the angle codebook sizes for boosted layers; remaining layers use nK=128,nV=64 .
Group
Layers
Δ PPL
Interpretation
G0
0–3
+0.0122
Most beneficial (50% reduction)
G1
4–7
+0.0175
Second most beneficial
G5
20–23
+0.0157
Third; unexpectedly helpful
G2
8–11
+0.0192
Marginal improvement
G4
16–19
+0.0210
Marginal improvement
G3
12–15
+0.0263
Negative transfer : worse than uniform
Table 4: Layer-group sensitivity for phi-1.5. Each row boosts one 4-layer group to K256V128 (3.33 angle bits) while the rest stays at K128V64 (3.25 bits). Uniform baseline Δ PPL = +0.0245.
Model
d
FP32 Δ PPL
norm8 Δ PPL
K8V4-log Δ PPL
K8V4-log bits
TinyLlama-1.1B
64
− 0.0022
+0.0011
+0.0104
∼ 6.84
Mistral-7B
128
+0.0002
+0.0012
+0.0014
∼ 6.56
SmolLM2-1.7B
64
− 0.0003
+0.0027
+0.0030
∼ 7.67
phi-1.5
64
0.0000
− 0.0017
+0.0017
∼ 7.58
StableLM-2-1.6B
64
+0.0012
+0.0021
+0.0123
∼ 7.63
StarCoder2-3B
64
− 0.0007
− 0.0007
+0.0061
∼ 7.45
Table 5: Norm quantization results. Δ PPL relative to fp16 inference. “FP32” column reproduces the best per-layer angle-only results from Table 2 . “norm8” applies 8-bit per-vector min-max quantization to all norms. “K8V4-log” uses 8-bit linear K norms and 4-bit log-space V norms. Total bits includes angle bits, norm bits, and per-vector min-max overhead.
Method
Total bits
Δ PPL
Calibration
Source
CQ-2c8b [ 6 ]
4.00
+0.03 (Mistral)
Yes
NeurIPS 2024
KVQuant-4b-1% [ 7 ]
4.32
+0.01 (LLaMA-7B)
Yes
NeurIPS 2024
AQUA-KV 3b [ 3 ]
∼ 3.0
+0.03 (Llama-3.1-8B)
Yes
ICML 2025
TurboAngle K8V4-log
6.56
+0.0014 (Mistral)
No
This work
TurboAngle norm8
7.81
+0.0012 (Mistral)
No
This work
Table 6: Comparison with calibration-based KV cache quantizers. Δ PPL is the reported perplexity degradation on the respective evaluation model. TurboAngle requires zero calibration data and no per-channel statistics.