arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1807.07948cs.CV
收藏

三值化权值高精度深度卷积神经网络优化

Optimize Deep Convolutional Neural Network with Ternarized Weights and High Accuracy

University of Central Florida(中佛罗里达大学);Tencent AI lab(腾讯人工智能实验室)

Zhezhi He, Boqing Gong, Deliang Fan

摘要:

深度卷积神经网络在许多人工智能应用中取得了巨大的成功。然而,其庞大的模型规模和巨大的计算成本已经成为部署这样强大的算法在低功耗和资源有限的嵌入式系统的主要障碍。作为解决这一问题的对策,本文提出了统计权值缩放和残差扩展的方法,将整个网络权值参数的位宽减小到三进制(即-1,0,+1),从而大大减小了模型压缩带来的模型规模、计算量和精度下降。在大约16倍模型压缩率的情况下,我们的三端化ResNet-32/44/56在CIFAR- 10数据集上的性能可以超过全精度同行0.12%,0.24%和0.18%。我们还在ImageNet数据集上使用AlexNet和ResNet-18测试了我们的三进制化方法,与最近的类似作品相比,它们都达到了最佳的top-1精度,具有相同的16倍压缩率。如果进一步结合我们的残差扩展方法,与全精度对应方法相比,我们的三态化ResNet-18甚至将前5名的准确度提高了0.61%,并且对于ImageNet数据集,仅将前1名的准确度降低了0.42%,具有8倍的模型压缩率。它在top-1准确度上比最近的ABC-Net高出1.03%,在top-5准确度上高出1.78%,由于权重稀疏性,压缩率提高了约1.25倍,计算量减少了6倍以上。

英文摘要:

Deep convolution neural network has achieved great success in many artificial intelligence applications. However, its enormous model size and massive computation cost have become the main obstacle for deployment of such powerful algorithm in the low power and resource-limited embedded systems. As the countermeasure to this problem, in this work, we propose statistical weight scaling and residual expansion methods to reduce the bit-width of the whole network weight parameters to ternary values (i.e. -1, 0, +1), with the objectives to greatly reduce model size, computation cost and accuracy degradation caused by the model compression. With about 16x model compression rate, our ternarized ResNet-32/44/56 could outperform full-precision counterparts by 0.12%, 0.24% and 0.18% on CIFAR- 10 dataset. We also test our ternarization method with AlexNet and ResNet-18 on ImageNet dataset, which both achieve the best top-1 accuracy compared to recent similar works, with the same 16x compression rate. If further incorporating our residual expansion method, compared to the full-precision counterpart, our ternarized ResNet-18 even improves the top-5 accuracy by 0.61% and merely degrades the top-1 accuracy only by 0.42% for the ImageNet dataset, with 8x model compression rate. It outperforms the recent ABC-Net by 1.03% in top-1 accuracy and 1.78% in top-5 accuracy, with around 1.25x higher compression rate and more than 6x computation reduction due to the weight sparsity.

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

↑