Better than Optimal: Improving Adaptive Stochastic Quantization Using Shared Randomness
Quantization is used to convert higher-precision data into a lower-precision representation, providing a fundamental technique to reduce memory usage, computational complexity, and communication costs in machine learning tasks. Recently, Adaptive Stochastic Quantization (ASQ) methods, which provide unbiased optimized quantized values for a specific input (i.e., when the input distribution is not known to the dequantizer), have been shown to be efficient for compressing large tensors on the fly. In this paper, we introduce the Adaptive Unbiased Quantization (AUQ) problem that generalizes ASQ to a setting where shared randomness known to both the quantizer and the dequantizer is allowed. We prove an asymptotic gap between the achievable accuracy of the problems, showing that AUQ can be quadratically more precise. We then introduce Simba, an AUQ technique that improves the accuracy of optimal ASQ methods. Intuitively, Simba uses multiple sets of quantization values, and the set used to quantize a specific value is determined using the shared randomness. Interestingly, we show that Simba improves both the speed and accuracy of optimal ASQ methods by leveraging an approximate ASQ solution as a starting point from which Simba improves. We measure Simba to be up to ≈ 24× more accurate for popular distributions than the state-of-the-art optimal ASQ method, QUIVER, while also being up to two orders of magnitude faster. Finally, we demonstrate that Simba can be used to improve the accuracy of QUIC-FL, a state-of-the-art Distributed Mean Estimation technique, by replacing its solver-based lookup tables with tables computed by Simba.
Authors
- Ran Ben Basat (ORCID: https://orcid.org/0000-0003-0196-9190)
- Yaniv Ben-Itzhak (ORCID: https://orcid.org/0000-0002-3844-5940)
- Michael Mitzenmacher (ORCID: https://orcid.org/0000-0001-5430-5457)
- Shay Vargaftik (ORCID: https://orcid.org/0000-0002-0982-7894)
Institutions
- Broadcom (Israel) (IL)
- Harvard University Press (US)
- Broadcom (United States) (US)
- Broadcom (United Kingdom) (GB)
- University College London (GB)
- Kitware (United States) (US)
Publication Details
- Journal
- Proceedings of the ACM on Measurement and Analysis of Computing Systems
- Published
- 2025-12-01
- DOI
- https://doi.org/10.1145/3771564
- Primary Topic
- Advanced Data Compression Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00