Beyond Berry–Esseen: Loss-Aware Distortion Transfer for Randomized Hadamard Quantization
Abstract
Random rotations make scalar quantization near-optimal, and fast structured rotations are used in practice in their place. For the two-stage randomized Hadamard transform (two-RHT), which costs time and sign bits, recent work shows that each rotated coordinate is only -close to its dense-Haar law, which yields an bound on the extra distortion. We prove that the distortion itself converges much faster. For every bit-width, every symmetric nearest-centroid codebook, and every unit input, the squared-error gap between two-RHT and dense Haar is at most with an explicit constant, and this rate is attained at one bit. The proof reduces the loss to a few absolute-value kinks, shows by a zero-bias coupling that Rademacher sums match the Gaussian on every kink up to rather than , and uses that the first Hadamard stage makes for every input. The same argument explains when one stage suffices, and we prove that one undithered stage leaves a non-vanishing gap on sparse inputs. As corollaries, the known two-RHT guarantee for DRIVE sharpens from to , and the gap relative to the dense-rotation distortion is . Structured rotations are free when ; at we measure worst-case gaps of –. Exact computation on basis and sparse inputs gives up to and a relative gap of about at every . Two-RHT with the Lloyd–Max codebook has – lower worst-case distortion than a provable dithered single-stage quantizer at once , mostly because of the codebook. In million-scale retrieval two-RHT matches the dense rotation within seed noise; in LLM KV caches it tracks the dense rotation, but per-channel key statistics matter more than the rotation.
Then back it, or bet against it.
Related papers
Open the market on this paper to see 7 more related papers.