arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.17745stat.MLcs.LG
收藏

StatQAT: 深度网络的统计量化优化

StatQAT: Statistical Quantizer Optimization for Deep Networks

Intel(英特尔)

Mehmet Aktukmak, Daniel Huang, Ke Ding

AI总结:

本文提出了一种新的统计误差分析框架,用于统一和浮点量化,以提供理论洞察,针对不同数据分布的量化配置误差行为。基于此分析,作者提出了适用于任意数据分布的迭代量化器和适用于高斯似分布权重的分析量化器,从而实现了高效的低误差量化,适用于激活和权重。将这些量化器整合到量化感知训练中,并在整数和浮点格式上进行了评估,实验表明提高了准确性和稳定性,展示了该方法在训练低精度神经网络中的有效性。

摘要:

量化对于减少深度神经网络的计算成本和内存使用至关重要,使低精度硬件上的高效推断成为可能。尽管统一和浮点量化方案的广泛应用,选择最优的量化参数仍是一个关键挑战,尤其是在训练和推断过程中遇到的多样化数据分布。本文提出了一种新的统计误差分析框架,用于统一和浮点量化,提供了对量化配置下误差行为的理论洞察。基于此分析,我们提出了适用于任意数据分布的迭代量化器和适用于高斯似分布权重的分析量化器。这些方法使高效、低误差的量化成为可能,适用于激活和权重。我们将我们的量化器整合到量化感知训练中,并在整数和浮点格式中进行了评估。实验表明,精度和稳定性得到了提高,突显了我们的方法在训练低精度神经网络中的有效性。

英文摘要:

Quantization is essential for reducing the computational cost and memory usage of deep neural networks, enabling efficient inference on low-precision hardware. Despite the growing adoption of uniform and floating-point quantization schemes, selecting optimal quantization parameters remains a key challenge, particularly for diverse data distributions encountered during training and inference. This work presents a novel statistical error analysis framework for uniform and floating-point quantization, providing theoretical insight into error behavior across quantization configurations. Building on this analysis, we propose iterative quantizers designed for arbitrary data distributions and analytic quantizers tailored for Gaussian-like weight distributions. These methods enable efficient, low-error quantization suitable for both activations and weights. We incorporate our quantizers into quantization-aware training and evaluate them across integer and floating-point formats. Experiments demonstrate improved accuracy and stability, highlighting the effectiveness of our approach for training low-precision neural networks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑