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

DyBit:用于高效量化神经网络推理的动态位精度数

DyBit: Dynamic Bit-Precision Numbers for Efficient Quantized Neural Network Inference

The University of Hong Kong(香港大学);The Hong Kong University of Science and Technology(香港科技大学)

Jiajun Zhou, Jiajun Wu, Yizhao Gao, Yuhao Ding, Chaofan Tao, Boyu Li, Fengbin Tu, Kwang-Ting Cheng, Hayden Kwok-Hay So, Ngai Wong

AI总结:

本文提出DyBit动态位精度数据表示及硬件感知混合精度量化框架,在4-bit量化下精度提升1.997%,并实现高达8.1倍推理加速。

摘要:

为加速深度神经网络(DNN)的推理,低比特数量化正被积极研究。一个突出挑战是在不显著降低精度的情况下将DNN模型量化为低比特数,尤其是在极低比特宽(< 8 bits)下。本研究提出一种采用可变长度编码的自适应数据表示,称为DyBit。DyBit能动态调整独立位域的精度和范围,以适应DNN的权重/激活分布。我们还提出一种硬件感知量化框架,配合混合精度加速器来权衡推理精度与加速。实验结果表明,在4-bit量化下DyBit的推理精度比现有技术高1.997%,且所提框架与原始模型相比可实现高达8.1倍的加速。

英文摘要:

To accelerate the inference of deep neural networks (DNNs), quantization with low-bitwidth numbers is actively researched. A prominent challenge is to quantize the DNN models into low-bitwidth numbers without significant accuracy degradation, especially at very low bitwidths (< 8 bits). This work targets an adaptive data representation with variable-length encoding called DyBit. DyBit can dynamically adjust the precision and range of separate bit-field to be adapted to the DNN weights/activations distribution. We also propose a hardware-aware quantization framework with a mixed-precision accelerator to trade-off the inference accuracy and speedup. Experimental results demonstrate that the inference accuracy via DyBit is 1.997% higher than the state-of-the-art at 4-bit quantization, and the proposed framework can achieve up to 8.1x speedup compared with the original model.

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

↑