Abstract
Binary Neural Networks (BNNs) offer extreme efficiency for edge deployment by using 1-bit weights and activations. However, they often suffer from significant accuracy degradation due to the "information bottleneck" caused by limited bit-width. This paper introduces BARS (Binarized ARchitecture Search), a framework that jointly optimizes internal cell topology and macro-level layout (width and depth). By tailoring the architecture to the unique data flow of binary networks, BARS discovers models that significantly outperform both hand-crafted and standard NAS-derived binary architectures while maintaining high efficiency.
Addressing the Information Bottleneck
The primary challenge in BNN design is the information bottleneck. Unlike floating-point (FP) networks where activations carry 32 bits of information, BNNs are restricted to 1 bit. Simply porting FP architectures like ResNet to the binary domain is suboptimal because these structures were not designed for such "thin" data streams.
As shown in Figure 1, BARS addresses this by optimizing at two levels:
- Micro-level Topology: Enhancing internal cell connectivity to maximize information flow.
- Macro-level Layout: Adjusting network width and depth to alleviate bottlenecks, particularly at sensitive operations like downsampling.
The BARS Framework
BARS employs a two-level differentiable Neural Architecture Search (NAS) approach designed specifically for the binary domain.
Macro and Micro Search Spaces
The framework searches for the optimal "sweet spot" in network layout (width and depth) across different stages. Unlike standard DARTS which often uses a fixed layout, BARS allows for varying cell types and widths. The micro search space is simplified for BNNs, focusing on Binary 3x3 Convolutions, Shortcuts, and None operations.
Stabilizing the Search
To prevent the common "collapse" in differentiable NAS—where the search prematurely favors easy-to-train shortcuts—BARS incorporates:
- Gumbel-Softmax Sampling: Bridges the gap between continuous search parameters and discrete final architectures.
- Entropy Regularization: Encourages exploration of diverse topologies before convergence.
- Binarized Downsampling: A novel operation using concatenated strided convolutions and shortcuts to preserve information without relying on full-precision layers.
Key Insights and Results
The search process revealed several critical design principles for BNNs:
- Prioritizing Width: Increasing network width is often more effective than increasing depth for BNNs. Wider layers prevent information loss that cannot be recovered by subsequent deeper layers.
- Shortcut Density: The discovered architectures are "skip-heavy," utilizing shortcuts as high-speed lanes to bypass lossy binary convolutions.
Performance Benchmarks
BARS sets new state-of-the-art records for binary models:
- CIFAR-10: BARS-B achieved 92.98% accuracy, a 1.5% improvement over previous BNN NAS methods with fewer operations.
- ImageNet: BARS-D reached 54.6% accuracy, outperforming hand-crafted binary ResNet-18 by 6%.
- Efficiency: These gains were achieved using only ~1/10th of the FLOPs required by other leading binary NAS studies.
Conclusion
BARS demonstrates that the key to high-performance BNNs lies in architectures designed specifically for binary data flow. By jointly searching for topology and layout, BARS effectively breaks the information bottleneck. While challenges remain in fully binarizing the first and last layers and further reducing search costs, BARS provides a robust foundation for efficient, high-accuracy edge AI.
Summary updated