[Paper Review] BoolNet: Minimizing The Energy Consumption of Binary Neural Networks
BoolNet proposes a novel binary neural network architecture that eliminates most 32-bit components—such as 32-bit batch normalization, identity shortcuts, and 32-bit feature maps—by replacing them with binary operations and Boolean logic. This results in a 4.6× reduction in energy consumption compared to Bi-RealNet while achieving 1.2% higher top-1 accuracy on ImageNet.
Recent works on Binary Neural Networks (BNNs) have made promising progress in narrowing the accuracy gap of BNNs to their 32-bit counterparts. However, the accuracy gains are often based on specialized model designs using additional 32-bit components. Furthermore, almost all previous BNNs use 32-bit for feature maps and the shortcuts enclosing the corresponding binary convolution blocks, which helps to effectively maintain the accuracy, but is not friendly to hardware accelerators with limited memory, energy, and computing resources. Thus, we raise the following question: How can accuracy and energy consumption be balanced in a BNN network design? We extensively study this fundamental problem in this work and propose a novel BNN architecture without most commonly used 32-bit components: extit{BoolNet}. Experimental results on ImageNet demonstrate that BoolNet can achieve 4.6x energy reduction coupled with 1.2\% higher accuracy than the commonly used BNN architecture Bi-RealNet. Code and trained models are available at: https://github.com/hpi-xnor/BoolNet.
Motivation & Objective
- To address the imbalance between accuracy and hardware efficiency in Binary Neural Networks (BNNs), particularly due to energy-hungry 32-bit components.
- To investigate the impact of 32-bit layers—such as BatchNorm, scaling, and 32-bit shortcuts—on energy consumption and hardware efficiency in BNNs.
- To design a BNN architecture with minimal 32-bit components to improve energy efficiency without sacrificing accuracy.
- To develop a Multi-slice strategy that mitigates representational capacity loss from binarizing feature maps and shortcuts.
- To demonstrate that theoretical FLOPs alone are insufficient indicators of real-world efficiency, with memory access and hardware energy costs being critical factors.
Proposed method
- Replaces 32-bit feature maps and identity shortcuts with 1-bit binary feature maps by shifting the shortcut origin from BatchNorm to the Sign function.
- Uses Boolean logic operations (XNOR and bit-counting) instead of 32-bit additions for feature map aggregation, eliminating MAdds from addition operations.
- Performs a lossless transformation to fuse BatchNorm layers into the Sign function, removing the computational and memory overhead of BN during inference.
- Removes or replaces 32-bit operations such as PReLU, average pooling, and binary downsampling convolutions with binary or logic-based alternatives.
- Introduces a Multi-slice strategy that splits feature maps into multiple binary slices, enabling richer representation while maintaining binary computation.
- Employs hardware accelerator simulation to evaluate energy consumption, focusing on DRAM access and component-level energy costs.
Experimental results
Research questions
- RQ1How do 32-bit components like BatchNorm, scaling, and 32-bit shortcuts affect the energy consumption and hardware efficiency of BNNs?
- RQ2Can a BNN achieve high accuracy with minimal 32-bit components and fully binary information flow?
- RQ3What is the impact of replacing 32-bit operations with binary or Boolean logic operations on energy efficiency and accuracy?
- RQ4How does the Multi-slice strategy mitigate accuracy degradation caused by binarizing feature maps and shortcuts?
- RQ5To what extent do theoretical FLOP counts correlate with actual energy consumption in BNNs, especially when memory access dominates energy use?
Key findings
- BoolNet reduces energy consumption by 4.6× compared to Bi-RealNet, achieving 0.84 mJ on ImageNet inference.
- Despite using only 1-bit feature maps, BoolNet achieves 57.6% top-1 accuracy on ImageNet, which is 1.2% higher than Bi-RealNet’s 56.4%.
- The energy consumption of 32-bit PReLU and Int8 BatchNorm is 26% and 50% of a binary convolution, respectively, highlighting their inefficiency.
- Introducing dilation in the last stage of BoolNet increases accuracy by 2% (to 59.6%) while reducing energy consumption by 3.3× compared to Bi-RealNet.
- The Multi-slice strategy with k=4 reduces accuracy drop by 6.2% compared to a fully binary baseline, maintaining high performance with minimal 32-bit components.
- Hardware simulations show that DRAM access dominates energy use, and BoolNet’s minimal memory footprint leads to significantly lower DRAM access and energy consumption.
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.