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

通用加法器神经网络

Universal Adder Neural Networks

Peking University(北京大学);Huawei Technologies Co., Ltd(华为技术有限公司);The University of Sydney(悉尼大学);Hong Kong University of Science and Technology(香港科技大学)

Hanting Chen, Yunhe Wang, Chang Xu, Chao Xu, Chunjing Xu, Tong Zhang

摘要:

与廉价的加法运算相比,乘法运算的计算复杂度要高得多。深度神经网络中广泛使用的卷积是互相关的,以衡量输入特征和卷积滤波器之间的相似性,这涉及浮点值之间的大量乘法。在本文中,我们提出了加法器网络(AdderNets),以在深度神经网络,特别是卷积神经网络(CNN)中交换这些大量乘法,以获得更便宜的加法来降低计算成本。在AdderNets中,我们将过滤器和输入特征之间的$\ell_1$范数距离作为输出响应。我们首先为AdderNet开发了一个理论基础,通过证明单个隐藏层AdderNet和具有ReLU激活函数的宽度有界深度AdderNet都是通用函数逼近器。一个近似边界的AdderNets与一个单一的隐藏层。我们进一步分析了这种新的相似性度量对神经网络优化的影响,并为AdderNets开发了一种特殊的训练方案。基于梯度的大小,自适应学习率的策略,提出了加强AdderNets的训练过程。AdderNets可以在ImageNet数据集上使用ResNet-50实现75.7%的Top-1准确率和92.3%的Top-5准确率,而无需在卷积层中进行任何乘法。

英文摘要:

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. We first develop a theoretical foundation for AdderNets, by showing that both the single hidden layer AdderNet and the width-bounded deep AdderNet with ReLU activation functions are universal function approximators. An approximation bound for AdderNets with a single hidden layer is also presented. We further analyze the influence of this new similarity measure on the optimization of neural network and develop a special training scheme for AdderNets. Based on the gradient magnitude, an adaptive learning rate strategy is proposed to enhance the training procedure of AdderNets. AdderNets can achieve a 75.7% Top-1 accuracy and a 92.3% Top-5 accuracy using ResNet-50 on the ImageNet dataset without any multiplication in the convolutional layer.

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

↑