arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.09464cs.CVcs.LGstat.ML
收藏

Quantization网络

Quantization Networks

University of Science and Technology of China(中国科学技术大学);Alibaba Group(阿里巴巴集团);University of Southern California(南加州大学)

Jiwei Yang, Xu Shen, Jun Xing, Xinmei Tian, Houqiang Li, Bing Deng, Jianqiang Huang, Xiansheng Hua

摘要:

虽然深度神经网络非常有效,但其高计算和存储成本严重挑战了其在便携式设备上的应用。因此,将全精度神经网络转换为低位宽整数形式的低比特量化一直是一个活跃且有前途的研究课题。现有的方法将网络的低比特量化表示为近似或优化问题。基于近似的方法面临梯度失配问题,而基于优化的方法仅适用于量化权重,并且在训练阶段会引入较高的计算成本。在本文中,我们提出了一个新的角度来解释和实现神经网络量化制定低比特量化作为一个可微的非线性函数(称为量化函数)。所提出的量化函数可以以无损和端到端的方式学习,并且以简单和统一的方式适用于神经网络的任何权重和激活。对图像分类和目标检测任务的大量实验表明,我们的量化网络优于最先进的方法。我们相信,所提出的方法将揭示新的见解神经网络量化的解释。我们的代码可在https://github.com/aliyun/alibabacloud-quantization-networks上获得。

英文摘要:

Although deep neural networks are highly effective, their high computational and memory costs severely challenge their applications on portable devices. As a consequence, low-bit quantization, which converts a full-precision neural network into a low-bitwidth integer version, has been an active and promising research topic. Existing methods formulate the low-bit quantization of networks as an approximation or optimization problem. Approximation-based methods confront the gradient mismatch problem, while optimization-based methods are only suitable for quantizing weights and could introduce high computational cost in the training stage. In this paper, we propose a novel perspective of interpreting and implementing neural network quantization by formulating low-bit quantization as a differentiable non-linear function (termed quantization function). The proposed quantization function can be learned in a lossless and end-to-end manner and works for any weights and activations of neural networks in a simple and uniform way. Extensive experiments on image classification and object detection tasks show that our quantization networks outperform the state-of-the-art methods. We believe that the proposed method will shed new insights on the interpretation of neural network quantization. Our code is available at https://github.com/aliyun/alibabacloud-quantization-networks.

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

↑