arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.12656cs.CV
收藏

用于图像分类和目标检测的比特宽度递减的混合精度量化神经网络

Mixed-Precision Quantized Neural Network with Progressively Decreasing Bitwidth For Image Classification and Object Detection

Shanghai Jiao Tong University(上海交通大学)

Tianshu Chu, Qin Luo, Jie Yang, Xiaolin Huang

摘要:

在资源受限平台上部署深度神经网络时,有效的模型推理是一个重要且实际的问题。网络量化通过利用可以在专用嵌入式系统上进行的低位表示和算术有效地解决了这个问题。在以前的作品中,参数bitwidth是均匀设置的,并且在优越的性能和积极的压缩之间存在权衡。实际上,堆叠的网络层通常被认为是分层特征提取器,对整体性能有影响。对于一个训练良好的神经网络,随着网络的向前传播,不同类别的特征分布逐渐不同。因此,降低了对后续特征提取器的能力要求。这表明,对于量化的神经网络,可以为后层神经元分配较低的位宽。基于这一观察,一个简单而有效的混合精度量化神经网络提出了逐步增加位宽,以改善精度和压缩之间的权衡。在典型网络结构和基准数据集上的大量实验表明,与同类方法相比,该方法在减少量化参数存储空间30%以上的同时,可以获得更好或相当的结果.此外,结果还表明,由于更好地保留了原始图像信息,较高精度的底层可以显著提高1位网络的性能,而较低精度的后验层有助于$k-$位网络的正则化。

英文摘要:

Efficient model inference is an important and practical issue in the deployment of deep neural network on resource constraint platforms. Network quantization addresses this problem effectively by leveraging low-bit representation and arithmetic that could be conducted on dedicated embedded systems. In the previous works, the parameter bitwidth is set homogeneously and there is a trade-off between superior performance and aggressive compression. Actually the stacked network layers, which are generally regarded as hierarchical feature extractors, contribute diversely to the overall performance. For a well-trained neural network, the feature distributions of different categories differentiate gradually as the network propagates forward. Hence the capability requirement on the subsequent feature extractors is reduced. It indicates that the neurons in posterior layers could be assigned with lower bitwidth for quantized neural networks. Based on this observation, a simple but effective mixed-precision quantized neural network with progressively ecreasing bitwidth is proposed to improve the trade-off between accuracy and compression. Extensive experiments on typical network architectures and benchmark datasets demonstrate that the proposed method could achieve better or comparable results while reducing the memory space for quantized parameters by more than 30\% in comparison with the homogeneous counterparts. In addition, the results also demonstrate that the higher-precision bottom layers could boost the 1-bit network performance appreciably due to a better preservation of the original image information while the lower-precision posterior layers contribute to the regularization of $k-$bit networks.

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

↑