Entropy-Constrained Adaptive Stochastic Quantization

📅 2026-08-10
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
该研究解决了现代数据和机器学习工作负载中的通信与内存瓶颈问题,通过提出一种新的熵约束自适应随机量化方法(ECASQ),在给定熵预算下最小化均方误差。
📝 Abstract
Adaptive stochastic quantization (ASQ) is a recently introduced quantization approach that optimizes the Mean Squared Error (MSE) for a given input while preserving unbiasedness. It is designed to alleviate the communication and memory bottlenecks of modern data and machine learning workloads, including model, gradient, and KV-cache compression and nearest-neighbor search. Further, practical systems can then compress quantized data with a lossless entropy encoder. However, existing unbiased methods, including ASQ, choose their quantization values without considering this later encoding stage, leaving accuracy on the table. We formulate the Entropy Constrained Adaptive Stochastic Quantization (ECASQ) problem, which jointly selects adaptive quantization values to minimize MSE under an entropy budget and an unbiasedness constraint. We give an optimal dynamic program with $O(sd^2)$ time and $O(d^2)$ space for a length-d vector and at most s quantization values, and a GPU-friendly approximate dynamic program with $O(sd^2)$ time and $O(d)$ space. The approximation guarantees that the solution has an MSE no larger than the optimal solution that uses one fewer bit of entropy per entry. We also provide an iterative refinement procedure for the approximation solution that, in our experiments, yields near-optimal results while retaining a substantial speed advantage over our solver for the optimal solution.
Problem

Research questions and friction points this paper is trying to address.

Adaptive Stochastic Quantization
Entropy Budget
Mean Squared Error
Unbiasedness Constraint
Innovation

Methods, ideas, or system contributions that make the work stand out.

Entropy Constrained Adaptive Stochastic Quantization
Mean Squared Error
unbiasedness constraint
dynamic program
approximate dynamic program
🔎 Similar Papers
No similar papers found.