[Paper Review] Bi-Real Net: Binarizing Deep Network Towards Real-Network Performance
This paper proposes Bi-Real Net, a 1-bit convolutional neural network that enhances representational capacity by introducing parameter-free shortcut connections to preserve real-valued activations from each 1-bit convolution. The method achieves state-of-the-art performance on ImageNet with 56.4% top-1 accuracy on an 18-layer network and 64.5% on a 152-layer network, significantly outperforming prior binarized models while maintaining low memory and computational costs.
In this paper, we study 1-bit convolutional neural networks (CNNs), of which both the weights and activations are binary. While efficient, the lacking of representational capability and the training difficulty impede 1-bit CNNs from performing as well as real-valued networks. We propose Bi-Real net with a novel training algorithm to tackle these two challenges. To enhance the representational capability, we propagate the real-valued activations generated by each 1-bit convolution via a parameter-free shortcut. To address the training difficulty, we propose a training algorithm using a tighter approximation to the derivative of the sign function, a magnitude-aware gradient for weight updating, a better initialization method, and a two-step scheme for training a deep network. Experiments on ImageNet show that an 18-layer Bi-Real net with the proposed training algorithm achieves 56.4% top-1 classification accuracy, which is 10% higher than the state-of-the-arts (e.g., XNOR-Net) with greater memory saving and lower computational cost. Bi-Real net is also the first to scale up 1-bit CNNs to an ultra-deep network with 152 layers, and achieves 64.5% top-1 accuracy on ImageNet. A 50-layer Bi-Real net shows comparable performance to a real-valued network on the depth estimation task with only a 0.3% accuracy gap.
Motivation & Objective
- Address the performance gap between 1-bit CNNs and full-precision networks on large-scale datasets like ImageNet.
- Overcome the limited representational capacity of standard 1-bit CNNs, which lose valuable information during binarization.
- Reduce training difficulty in 1-bit networks, which often leads to poor convergence and degraded accuracy.
- Enable scaling of 1-bit networks to ultra-deep architectures (e.g., 152 layers) while maintaining high accuracy.
- Demonstrate practical deployment feasibility of 1-bit networks on mobile and embedded devices via FPGA evaluation.
Proposed method
- Introduce a parameter-free shortcut path that propagates real-valued activations from each 1-bit convolutional layer to preserve high-precision feature information.
- Design a 1-layer-per-block architecture where real-valued outputs from a block are added to the next block’s real-valued features, enhancing representational power.
- Develop a tighter approximation to the derivative of the sign function during backpropagation to improve gradient flow.
- Implement magnitude-aware binarization for weights, preserving the magnitude of the original weights during quantization.
- Propose a two-step training scheme: pre-train a full-precision network and fine-tune the binarized version using the pre-trained weights.
- Use a novel initialization method to stabilize training and improve convergence in deep 1-bit networks.
Experimental results
Research questions
- RQ1Can 1-bit CNNs achieve performance comparable to full-precision networks on large-scale benchmarks like ImageNet?
- RQ2How can the representational capacity of 1-bit CNNs be enhanced without introducing additional parameters?
- RQ3What training techniques are most effective for stabilizing and improving the performance of 1-bit networks?
- RQ4Can 1-bit networks be scaled to ultra-deep architectures (e.g., 152 layers) while maintaining high accuracy?
- RQ5To what extent can 1-bit networks be deployed efficiently on mobile and embedded platforms?
Key findings
- An 18-layer Bi-Real Net achieves 56.4% top-1 accuracy on ImageNet, a 10% improvement over prior state-of-the-art methods like XNOR-Net.
- The 152-layer Bi-Real Net achieves 64.5% top-1 accuracy on ImageNet, marking the first successful scaling of 1-bit CNNs to such depth.
- A 50-layer Bi-Real Net achieves 84.9% accuracy on the KITTI depth estimation benchmark, matching the performance of a full-precision ResNet-50 with only a 0.3% gap.
- On an FPGA, the 18-layer Bi-Real Net achieves a 7.38× speedup over its full-precision counterpart with reduced LUT and FF usage.
- Binary convolutional layers alone achieve a 15.8× speedup compared to 32-bit convolutions on the same FPGA platform.
- The proposed training algorithm, including tighter gradient approximation and magnitude-aware binarization, enables stable training and high accuracy in deep 1-bit networks.
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.