@inproceedings{
ben-basat2024optimal,
title={Optimal and Approximate Adaptive Stochastic Quantization},
author={Ran Ben-Basat and Yaniv Ben-Itzhak and Michael Mitzenmacher and shay vargaftik},
booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
year={2024},
url={https://openreview.net/forum?id=8ZLL6mu2qC}
}
Quantization is a fundamental optimization for many machine learning (ML) use cases, including compressing gradients, model weights and activations, and datasets. The most accurate form of quantization is adaptive, where the error is minimized with respect to a given input rather than optimizing for the worst case. However, optimal adaptive quantization methods are considered infeasible in terms of both their runtime and memory requirements.

We revisit the Adaptive Stochastic Quantization (ASQ) problem and present algorithms that find optimal solutions with asymptotically improved time and space complexities. Our experiments indicate that our algorithms may open the door to using ASQ more extensively in a variety of ML applications. We also present an even faster approximation algorithm for quantizing large inputs on the fly.
Optimal and Approximate Adaptive Stochastic Quantization
Ran Ben-Basat Yaniv Ben-Itzhak Michael Mitzenmacher shay vargaftik