NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Provable Quantization with Randomized Hadamard Transform

Ying Feng, Piotr Indyk, Michael Kapralov, Dmitrii Krachun, Boris Prokhorov

NeurIPS page · Open on the map

Category: Efficient LLM Inference & Training › Low-bit Post-Training Quantization · Type: theory · Keywords: vector quantization, randomized Hadamard transform, dithered quantization, provable guarantees, mean squared error bounds

Summary

The paper proves that dithered quantization with a single randomized Hadamard transform achieves mean squared error bounds matching those of dense random rotations, providing provable guarantees for efficient vector quantization.

Explained to a 5-year-old

We have big lists of numbers that computers need to store. To save space, we turn those numbers into smaller, simpler numbers. First we shuffle the numbers using a fast pattern that looks like a big grid. Then we add a tiny random bump to the numbers, which helps the shuffling work better. This way the small numbers are almost as good as if we used a super complicated shuffle, but it takes much less time.

Explained to a 5-year-old, longer

Computers sometimes need to keep lots of numbers, but storing them all takes a lot of space. To save space, we make the numbers smaller by rounding them to simple values. However, making them smaller can lose information, so we need a smart way to shrink them. One smart way is to first mix the numbers together using a special pattern that is quick to compute. This pattern looks like a big grid that spreads the numbers out evenly. After mixing, we add a tiny random bump to the numbers, which helps the mixing work better. The random bump is just a small extra number that changes a little each time. Then we round each mixed number to the nearest simple value, which makes it even smaller. This whole process gives us small numbers that still keep most of the original information. The best we can do with this method is almost as good as using a super complicated mixing method. The complicated method would use a lot of computing power, but our method is fast. So we get good results quickly, which is useful for many computer tasks.

For a technical reader

The paper addresses the problem of efficiently quantizing high-dimensional vectors while preserving accuracy. It shows that applying a fast linear transform-the randomized Hadamard transform-combined with a random dither before scalar quantization yields provable error bounds that match those of dense random rotations. This makes quantization both computationally cheap (O(d log d)) and theoretically sound, enabling reliable use in similarity search, federated learning, and model compression pipelines.

Problem

Efficiently quantizing high-dimensional vectors with provable accuracy is challenging because dense random rotations are computationally expensive, while cheaper transforms like the Hadamard lack strong theoretical guarantees.

Method

The approach applies a randomized Hadamard transform to the input vector and adds a random scalar offset (dither) before scalar quantization, injecting randomness that enables provable error bounds.

Results

The approach achieves a mean squared error of (π√3/2)·4-b asymptotically, matching the performance of dense random rotations, with the error vanishing uniformly as quantization levels increase.

Contributions

The paper provides provable mean squared error guarantees for dithered quantization with a single randomized Hadamard transform, bridging the gap between computational efficiency and theoretical accuracy, and shows these guarantees match those of dense random rotations asymptotically.

Practical relevance

These provable guarantees enable efficient, accurate vector quantization for applications such as similarity search, federated learning, and model compression, allowing practitioners to use fast transforms without sacrificing theoretical performance.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction