[Paper Review] AdderNet: Do We Really Need Multiplications in Deep Learning?
This paper proposes AdderNets, a novel deep learning architecture that replaces computationally expensive multiplications in convolutional neural networks with efficient additions by using the ℓ₁-norm distance as a similarity measure between filters and feature maps. The method achieves 74.9% Top-1 accuracy on ImageNet using ResNet-50 with zero multiplications in convolution layers, demonstrating that addition-only networks can match CNN performance while drastically reducing computational cost.
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.
Motivation & Objective
- To investigate whether deep neural networks can eliminate multiplications in convolutions without sacrificing accuracy.
- To design a hardware-efficient alternative to standard convolutions using only addition operations.
- To develop a stable training procedure for networks based on ℓ₁-distance similarity with minimal gradient vanishing.
- To enable low-power deployment of deep networks on mobile and edge devices by reducing computational complexity.
Proposed method
- Replace standard convolution operations with an ℓ₁-norm distance computation between input feature maps and learnable filters, which only involves additions and subtractions (via two's complement).
- Introduce a full-precision gradient-based backpropagation scheme to stabilize training and avoid gradient vanishing in ℓ₁-based networks.
- Propose an adaptive learning rate scaling strategy that adjusts the learning rate per layer based on gradient magnitude to improve convergence.
- Use a regularized gradient update to ensure sufficient filter updates during backpropagation, especially in early training stages.
- Visualize feature distributions and weight distributions to confirm that ℓ₁-based networks learn class-discriminative representations with Laplace-like weight distributions.
Experimental results
Research questions
- RQ1Can ℓ₁-norm distance serve as a viable and effective similarity measure in deep neural networks, replacing the standard dot product in convolutions?
- RQ2Is it possible to train a deep network using only addition operations (with no multiplications) while maintaining competitive accuracy?
- RQ3How can gradient optimization be stabilized in ℓ₁-based networks, given the non-differentiability of the absolute value function at zero?
- RQ4What training strategies, such as adaptive learning rates or full-precision gradients, are necessary to achieve convergence and high performance in AdderNets?
Key findings
- AdderNets achieve 74.9% Top-1 accuracy and 91.7% Top-5 accuracy on ImageNet using a ResNet-50 architecture with zero multiplications in convolution layers.
- The proposed full-precision gradient and adaptive learning rate strategy enable AdderNets to reach 99.40% accuracy on MNIST with LeNet-5-BN, matching the performance of standard CNNs.
- Weight distributions in AdderNets follow a Laplace distribution, consistent with the ℓ₁-norm prior, while CNN weights follow a Gaussian distribution.
- Feature visualization shows that AdderNets produce more class-clustered representations than CNNs, indicating better discriminative capacity under ℓ₁-similarity.
- The ablation study confirms that full-precision gradients and adaptive learning rate scaling are essential for high performance, with sign gradients alone yielding only 29.26% accuracy on MNIST.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.