6.9×smaller cache at ~2.3 bits
~½the perplexity hit of the best baseline
2.8–5.6×lower variance than TurboQuant's QJL fix
Google's TurboQuant randomly rotates each vector, then rounds every coordinate with an MSE-optimal codebook. I proved that this shrinks every attention logit by exactly (1 − Db), which acts like raising the softmax temperature. TurboQuant spends an extra bit per number on a QJL sketch to undo it. TurboKV instead stores a calibrated per-vector scale where the norm used to be, which makes the inner products unbiased at zero extra bits.
On a 1.9M-parameter GPT I trained, at about 2.3 bits it nearly halved the perplexity increase compared with TurboQuant (+0.28 vs +0.53) and KIVI (+0.59), averaged over 3 seeds. I implemented every method, including the baselines, from scratch, and 39 pytest tests check each result.
Read the code and the math on GitHub