Inner Product Aware Quantization: Provably Fast, Accurate, and Adaptive Algorithms
Nathan White, Krish Singal
NeurIPS page · OpenReview · Open on the map
Category: Efficient LLM Inference & Training › Low-bit Post-Training Quantization · Type: new method · Keywords: inner product aware quantization, adaptive quantization, provable algorithms, Adaptive Stochastic Quantization, model compression
Areas: Optimization & Algorithms › Optimization, Estimation, Approximation › Sketching and Compression
Summary
Inner Product Aware Quantization introduces provably fast, accurate, and adaptive algorithms that preserve inner products in quantized vectors, achieving 2-10× speedups over prior ASQ methods.
Explained to a 5-year-old
Computers need to store lots of information, like pictures and words, but storing everything exactly uses a lot of space. Quantization is a trick that makes the information smaller by rounding numbers to simpler values. Some tasks need to compare items by how similar they are, which is done by multiplying their numbers together. This paper finds a way to make the smaller numbers still keep the right similarity so the comparisons stay accurate. The new method also runs faster than before, so it helps computers work better and use less memory.
Explained to a 5-year-old, longer
When we use computers, we often have to save a lot of information like photos, sounds, and words. To save space, we can make the numbers that represent this information simpler, which is called quantization. Sometimes we need to compare two pieces of information to see how similar they are, and we do that by multiplying their numbers together. If we make the numbers too simple, the comparison might be wrong, so we need a smarter way to keep the similarity correct. This paper looks at how to make the numbers smaller while still keeping the right similarity for many different kinds of data. It creates new rules that tell the computer how to choose the simpler numbers so that the similarity stays good for both the worst and the average cases. The authors also connect their new rules to an existing idea called Adaptive Stochastic Quantization, which helps them understand why it works. They then design fast algorithms-step-by-step instructions-that can quickly find the best simple numbers without taking a long time. These algorithms are proven to be fast and accurate, meaning they give good results quickly. When the algorithms are turned into real code, they run 2 to 10 times faster than older methods while keeping the same quality. This makes it easier for people to use adaptive quantization in everyday applications like compressing models and datasets. Overall, the work helps computers store information more efficiently without losing the important relationships between data points.
For a technical reader
The paper addresses the need to compress neural network weights and datasets while preserving the inner-product relationships that many applications rely on. It formulates new optimization objectives that capture both worst-case and average-case inner-product fidelity and shows a theoretical link to Adaptive Stochastic Quantization. The authors then provide provably fast exact and approximate algorithms, which are implemented as practical tools that run 2-10× faster than existing ASQ methods without sacrificing accuracy. These improvements make adaptive quantization more viable for real-world model compression and inference tasks.
Problem
Quantization typically minimizes mean-squared error, yet many downstream tasks rely on inner products of quantized vectors with arbitrary inputs. This creates a challenge of designing quantization schemes that maintain inner product fidelity while remaining efficient.
Method
The approach formulates objectives that capture inner product preservation for worst-case and average-case inputs, develops adaptive and unbiased quantization methods, and provides provably fast exact and approximate algorithms. These algorithms are derived from connections to Adaptive Stochastic Quantization and are implemented efficiently for practical workloads.
Results
The practical algorithms achieve 2-10× speedups over prior state-of-the-art ASQ methods while maintaining quality, and they demonstrate strong performance across diverse workload distributions.
Contributions
The paper introduces new objectives for preserving inner products, develops adaptive unbiased quantization techniques, and provides provably fast exact and approximate algorithms, along with efficient implementations for standard ASQ.
Practical relevance
The results make adaptive quantization more efficient and tractable for real-world compression of models and datasets.
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