Optimal and Approximate Adaptive Stochastic Quantization

Ran Ben-Basat, Y. Ben-Itzhak, Michael Mitzenmacher, S. Vargaftik
2/3/2026

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

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.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{benbasat2026optimal,
  title  = {Optimal and Approximate Adaptive Stochastic Quantization},
  author = {Ran Ben-Basat and Y. Ben-Itzhak and Michael Mitzenmacher and S. Vargaftik},
  year   = {2026},
  doi    = {10.52202/079017-2990},
  url    = {https://doi.org/10.52202/079017-2990},
  journal = {NEURIPS 2024 2024}
}

Discussion