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

AdderNet:在深度学习中我们真的需要乘法吗?

AdderNet: Do We Really Need Multiplications in Deep Learning?

Peking University(北京大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Peng Cheng Laboratory(鹏城实验室);The University of Sydney(悉尼大学)

Hanting Chen, Yunhe Wang, Chunjing Xu, Boxin Shi, Chao Xu, Qi Tian, Chang Xu

摘要:

与廉价的加法运算相比,乘法运算的计算复杂度要高得多。深度神经网络中广泛使用的卷积是互相关的,以衡量输入特征和卷积滤波器之间的相似性,这涉及浮点值之间的大量乘法。在本文中,我们提出了加法器网络(AdderNets),以在深度神经网络(特别是卷积神经网络(CNN))中交换这些大规模乘法,以获得更便宜的加法来降低计算成本。在AdderNets中,我们将过滤器和输入特征之间的$\ell_1$范数距离作为输出响应。深入分析了这种新的相似性度量对神经网络优化的影响。为了实现更好的性能,我们通过研究全精度梯度为AdderNets开发了一种特殊的反向传播方法。然后,我们提出了一个自适应的学习率策略,以提高AdderNets的训练过程中,根据每个神经元的梯度的大小。因此,在ImageNet数据集上使用ResNet-50,所提出的AdderNets可以实现74.9%的Top-1准确率和91.7%的Top-5准确率,而无需在卷积层中进行任何乘法。这些守则可在https://github.com/huaweinoah/AdderNet上公开查阅。

英文摘要:

Compared with cheap addition operation, multiplication operation is of much higher computation complexity. The widely-used convolutions in deep neural networks are exactly cross-correlation to measure the similarity between input feature and convolution filters, which involves massive multiplications between float values. In this paper, we present adder networks (AdderNets) to trade these massive multiplications in deep neural networks, especially convolutional neural networks (CNNs), for much cheaper additions to reduce computation costs. In AdderNets, we take the $\ell_1$-norm distance between filters and input feature as the output response. The influence of this new similarity measure on the optimization of neural network have been thoroughly analyzed. To achieve a better performance, we develop a special back-propagation approach for AdderNets by investigating the full-precision gradient. We then propose an adaptive learning rate strategy to enhance the training procedure of AdderNets according to the magnitude of each neuron's gradient. As a result, the proposed AdderNets can achieve 74.9% Top-1 accuracy 91.7% Top-5 accuracy using ResNet-50 on the ImageNet dataset without any multiplication in convolution layer. The codes are publicly available at: https://github.com/huaweinoah/AdderNet.

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

↑