HYBRIDQUANT: CALIBRATION-FREE ENTROPYCODED E8 LATTICE QUANTIZATION OF THE KV CACHE
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:08 UTC · 7cdffbb32156 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "hJ9kQATIq3"- }- ],- "title": "HYBRIDQUANT: CALIBRATION-FREE ENTROPYCODED E8 LATTICE QUANTIZATION OF THE KV CACHE",- "authors": [],- "abstract": "Compressing the key–value (KV) cache is central to long-context inference: for\nthe compact and distilled models deployed where memory is scarce, the cache, not\nthe weights, sets the limit. Established quantizers force a trade-off: calibration-\nfree methods use fixed-rate scalar codes that leave a large gap to the rate–distortion\nlimit, while entropy-coded compressors close the gap but fit their models to cal-\nibration data. An entropy code needs no calibration if the vectors it sees are\nGaussian, isotropic and nearly independent across coordinates. HybridQuant\nachieves this with three rounds of the randomized fast Walsh–Hadamard trans-\nform, 3d log2 d operations per vector instead of the d^2 of a dense random rotation,\nthen rounds to the E8 lattice and codes with one static rANS code built for a Gaus-\nsian source; the step follows from the target rate alone, with every side bit counted.\nWe prove how much rotation is needed: one round leaves a spike far from Gaus-\nsian (Kolmogorov distance 0.34), two bring every input close but leave a floor of\norder d\n−1/2\n, and three lower it to order 1/d up to a logarithm (0.035 versus 0.0097\nat d = 128, computed exactly). A dithered variant has input-independent errors,\nunbiased attention logits and an attention concentration bound that does not grow\nwith context length, and an exact, calibration-free centering removes the collapse\nthat the projection biases of Qwen2 models cause in rotation-based quantizers. On\nQwen2.5-7B, Mistral-7B-v0.3 and Llama-3.1-8B the rate is within 0.003 bits of\nits target, and at 2.125 bits TurboQuant-MSE has 8.8%, 13.3% and 31.3% higher\nperplexity than HybridQuant, and a rotated entropy-coded scalar quantizer 2.3%,\n3.0% and 6.5% higher, all significant under a paired bootstrap.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "45a46e07-f52b-4670-a7c1-290aadeeb166"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "HYBRIDQUANT: CALIBRATION-FREE ENTROPYCODED E8 LATTICE QUANTIZATION OF THE KV CACHE",+ "authors": [],+ "abstract": "Compressing the key–value (KV) cache is central to long-context inference: for\nthe compact and distilled models deployed where memory is scarce, the cache, not\nthe weights, sets the limit. Established quantizers force a trade-off: calibration-\nfree methods use fixed-rate scalar codes that leave a large gap to the rate–distortion\nlimit, while entropy-coded compressors close the gap but fit their models to cal-\nibration data. An entropy code needs no calibration if the vectors it sees are\nGaussian, isotropic and nearly independent across coordinates. HybridQuant\nachieves this with three rounds of the randomized fast Walsh–Hadamard trans-\nform, 3d log2 d operations per vector instead of the d^2 of a dense random rotation,\nthen rounds to the E8 lattice and codes with one static rANS code built for a Gaus-\nsian source; the step follows from the target rate alone, with every side bit counted.\nWe prove how much rotation is needed: one round leaves a spike far from Gaus-\nsian (Kolmogorov distance 0.34), two bring every input close but leave a floor of\norder d\n−1/2\n, and three lower it to order 1/d up to a logarithm (0.035 versus 0.0097\nat d = 128, computed exactly). A dithered variant has input-independent errors,\nunbiased attention logits and an attention concentration bound that does not grow\nwith context length, and an exact, calibration-free centering removes the collapse\nthat the projection biases of Qwen2 models cause in rotation-based quantizers. On\nQwen2.5-7B, Mistral-7B-v0.3 and Llama-3.1-8B the rate is within 0.003 bits of\nits target, and at 2.125 bits TurboQuant-MSE has 8.8%, 13.3% and 31.3% higher\nperplexity than HybridQuant, and a rotated entropy-coded scalar quantizer 2.3%,\n3.0% and 6.5% higher, all significant under a paired bootstrap.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}