arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.17047cs.LGcs.AIeess.IV
收藏

通过在线Quantization灵敏度分析实现块级动态精度神经网络训练加速

Block-Wise Dynamic-Precision Neural Network Training Acceleration via Online Quantization Sensitivity Analytics

Tsinghua University(清华大学)

Ruoyang Liu, Chenhan Wei, Yixiong Yang, Wenxun Wang, Huazhong Yang, Yongpan Liu

摘要:

数据量化是加速神经网络训练和降低功耗的有效方法。然而,它是具有挑战性的执行低比特量化训练:传统的等精度量化将导致高精度损失或有限的位宽减少,而现有的混合精度方法提供了高压缩潜力,但无法执行准确和有效的位宽分配。在这项工作中,我们提出了DYNASTY,逐块动态精度神经网络训练框架。DYNASTY通过快速在线分析提供准确的数据敏感度信息,并通过自适应位宽映射生成器保持稳定的训练收敛。在CIFAR-100和ImageNet数据集上进行了网络训练实验,与8位量化基线相比,DYNASTY在不降低精度和硬件开销的情况下,提高了$5.1\times$的速度,降低了$4.7\times$的能耗。

英文摘要:

Data quantization is an effective method to accelerate neural network training and reduce power consumption. However, it is challenging to perform low-bit quantized training: the conventional equal-precision quantization will lead to either high accuracy loss or limited bit-width reduction, while existing mixed-precision methods offer high compression potential but failed to perform accurate and efficient bit-width assignment. In this work, we propose DYNASTY, a block-wise dynamic-precision neural network training framework. DYNASTY provides accurate data sensitivity information through fast online analytics, and maintains stable training convergence with an adaptive bit-width map generator. Network training experiments on CIFAR-100 and ImageNet dataset are carried out, and compared to 8-bit quantization baseline, DYNASTY brings up to $5.1\times$ speedup and $4.7\times$ energy consumption reduction with no accuracy drop and negligible hardware overhead.

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

↑