Binary Neural Networks (BNNs) represent a frontier in ultra-efficient deep learning, offering up to a 57× theoretical speedup by replacing floating-point multiplications with bitwise XNOR and Popcount operations. However, a significant "accuracy gap" has historically separated these 1-bit models from their full-precision counterparts. BATS (Binary ArchitecTure Search) is the first framework to successfully apply differentiable Neural Architecture Search (NAS) directly to the binary domain, bridging this gap through a specialized search space and regularization techniques.
The Challenge: Why Standard NAS Fails BNNs
Standard NAS frameworks like DARTS are optimized for real-valued networks. When applied to BNNs, they frequently suffer from "cell collapsing"—a phenomenon where the search converges to degenerate solutions dominated by skip connections. Furthermore, the building blocks common in real-valued architectures, such as depth-wise separable convolutions, perform poorly when binarized. This is due to a "double approximation" problem: depth-wise convolutions are already a compressed form of standard convolutions, and binarizing them further destroys the remaining signal.
Methods: Tailoring NAS for the 1-Bit Domain
The authors propose three key innovations to make NAS effective for binary networks:
1. A Binary-Oriented Search Space
BATS replaces the standard depth-wise separable convolutions used in most NAS frameworks with grouped and dilated grouped convolutions. This shift preserves more information during the binarization process compared to the highly compressed depth-wise alternatives.
2. Temperature-Based Regularization
To combat the tendency of the search to collapse into skip connections, BATS introduces a temperature factor ($T < 1$) into the softmax function used to weight operations during the search. As $T$ decreases, the distribution becomes "spikier," forcing the model to make harder, more discriminative decisions early in the process rather than relying on the "easier" optimization path of skip connections.
3. Two-Stage Search Strategy
Training BNNs is notoriously unstable. BATS employs a two-stage strategy where activations are binarized but weights remain real-valued during the initial search phase. This isolates the challenge of information flow through 1-bit activations. Once the optimal architecture is identified, the weights are binarized for the final evaluation.
Key Results and Performance
BATS consistently outperforms both hand-crafted BNNs and previous binary NAS attempts across major benchmarks:
- ImageNet: BATS achieved 60.4% Top-1 accuracy, rising to 66.1% with a wider variant, surpassing previous state-of-the-art models like CI-Net.
- CIFAR-10: The framework reached 96.1% accuracy, matching the performance of many real-valued architectures while maintaining a fraction of the computational cost.
- Efficiency: The discovered architectures utilize significantly fewer FLOPs and Binary Operations (BOPs) than competing methods, proving that high accuracy in BNNs does not require sacrificing their inherent efficiency gains.
Conclusion
BATS demonstrates that the accuracy gap in BNNs is not an inherent limitation of 1-bit quantization, but rather a consequence of using architectures designed for real-valued data. By redesigning the search space and introducing stability-focused regularization, BATS paves the way for deploying high-performance, ultra-efficient neural networks on resource-constrained hardware.
Summary updated