Inner Product Aware Quantization: Provably Fast, Accurate, and Adaptive Algorithms
cs.LG, cs.DS
Submitted: 2026-05-29
Updated: 2026-11-29
Comments: NeurIPS 2026
Code: https://github.com/nathanllww/Inner-Product-Aware-Quantization
License: http://creativecommons.org/licenses/by-sa/4.0/
The gist: Quantization is a fundamental tool used to compress datasets, neural network weights, and memory usage in a range of computational tasks.
Terminology
Abstract
Quantization is a fundamental tool used to compress datasets, neural network weights, and memory usage in a range of computational tasks. Many downstream applications of vector quantization perform inner products with arbitrary inputs. This motivates the study of inner product aware quantization schemes that approximately preserve inner products with unseen vectors -- in contrast to simply minimizing the mean-squared error. In this work, we formulate objectives that capture natural desiderata and develop adaptive and unbiased quantization methods that approximately preserve inner products with worst-case and average-case inputs. An analysis of these objectives shows a tight connection with the well-studied notion of Adaptive Stochastic Quantization (ASQ). We develop provably fast exact and approximate algorithms for our objectives. Our theoretical results inspire efficient practical algorithms that perform well across a variety of workload distributions. They also lead to practical algorithms for standard ASQ which are 2-10 times faster than prior state-of-the-art methods while maintaining quality. These theoretical and empirical results contribute towards making adaptive quantization techniques more efficient and tractable in practical settings.
Sources
- Neural gradients are near-lognormal: improved quantized and sparse training
- Fast Exact k-Means, k-Medians and Bregman Divergence Clustering in 1D
- Mixed Precision Training
- TurboQuant: Online Vector Quantization with Near-optimal Distortion Rate
Related papers
- Biologically Inspired Coordination of Parameter Selection and Update Strength for Language Model Adaptation
- Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerability
- The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearning
- On the notion of missingness for path attribution explainability methods in medical settings: Guiding the selection of medically meaningful baselines
- Variable-Length Generative Protein Design via Generalized Poisson Flow
- UniCon: Unified Framework for Efficient Contrastive Alignment via Kernels