Toward Accurate Binarized Neural Networks With Sparsity for Mobile Application
- 27 May 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Neural Networks and Learning Systems
- Vol. 35 (1) , 272-284
Abstract
While binarized neural networks (BNNs) have attracted great interest, popular approaches proposed so far mainly exploit the symmetric sign function for feature binarization, i.e., to binarize activations into -1 and +1 with a fixed threshold of 0. However, whether this option is optimal has been largely overlooked. In this work, we propose the Sparsity-inducing BNN (Si-BNN) to quantize the activations to be either 0 or +1, which better approximates ReLU using 1-bit. We further introduce trainable thresholds into the backward function of binarization to guide the gradient propagation. Our method dramatically outperforms the current state-of-the-art, lowering the performance gap between full-precision networks and BNNs on mainstream architectures, achieving the new state-of-the-art on binarized AlexNet (Top-1 50.5%), ResNet-18 (Top-1 62.2%), and ResNet-50 (Top-1 68.3%). At inference time, Si-BNN still enjoys the high efficiency of bit-wise operations. In our implementation, the running time of binary AlexNet on the CPU can be competitive with the popular GPU-based deep learning framework.Keywords
Funding Information
- National Key Research and Development Program of China (2021ZD0201504)
- National Natural Science Foundation of China (61906193)
- Strategic Priority Research Program of Chinese Academy of Sciences (XDA27040300)
This publication has 28 references indexed in Scilit:
- Bi-Real Net: Enhancing the Performance of 1-Bit CNNs with Improved Representational Capability and Advanced Training Algorithm2018
- Two-Step Quantization for Low-bit Neural Networks2018
- Mask R-CNN2017
- Performance Guaranteed Network Acceleration via High-Order Residual Quantization2017
- Weighted-Entropy-Based Quantization for Deep Neural Networks2017
- Deep Learning with Low Precision by Half-Wave Gaussian Quantization2017
- FPGA-Based Accelerator for Deep Convolutional Neural Networks for the SPARK Environment2016
- XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networks2016
- Deep Residual Learning for Image Recognition2016
- ImageNet Large Scale Visual Recognition ChallengeInternational Journal of Computer Vision, 2015