Abstract
Convolutional neural networks have achieved astonishing results in different application areas. Various methods that allow us to use these models on mobile and embedded devices have been proposed. Especially binary neural networks are a promising approach for devices with low computational power. However, training accurate binary models from scratch remains a challenge. Previous work often uses prior knowledge from full-precision models and complex training strategies. In our work, we focus on increasing the performance of binary neural networks without such prior knowledge and a much simpler training strategy. In our experiments we show that we are able to achieve state-of-the-art results on standard benchmark datasets. Further, to the best of our knowledge, we are the first to successfully adopt a network architecture with dense connections for binary networks, which lets us improve the state-of-the-art even further.
Introduction
Deep learning models are traditionally computationally expensive and memory-intensive, limiting their deployment on mobile and embedded systems. Binary Neural Networks (BNNs) address this by utilizing 1-bit weights and activations, enabling significant storage savings (up to 32x) and faster inference through bitwise operations. However, the non-differentiable nature of binarization makes training from scratch difficult, often resulting in a substantial accuracy gap compared to full-precision models. While previous state-of-the-art methods relied on complex teacher-student distillation or multi-stage training, this paper demonstrates that competitive BNNs can be trained from random initialization using optimized architectures and a simplified training pipeline.
Methods
Simplified Training Strategy
The authors utilize a standard Straight-Through Estimator (STE) with gradient clipping. They find that common auxiliary techniques, such as channel-wise scaling factors (e.g., XNOR-Net) or custom gradient approximations like approxsign, offer negligible benefits when training from scratch, provided that Batch Normalization is employed. Batch Normalization effectively handles the scaling required for binary signals, rendering explicit scaling factors redundant.
Architecture Redesign: The "Extra Shortcut" Principle
Because binarization inherently loses information at every layer, the authors argue that BNNs require a higher density of "highways" for information flow. They propose two primary modifications:
- ResNetE: A modification of the ResNet architecture that introduces a shortcut connection for every single convolution layer, rather than every two layers.
- DenseNetE: An adaptation of Densely Connected Networks (DenseNet) that splits blocks into more frequent, smaller units. By using more blocks with fewer filters, the total number of shortcut connections is significantly increased.
Furthermore, the authors identify that "bottleneck" layers—common in full-precision designs to save computation—are detrimental to BNNs. These layers over-compress the already limited information capacity of 1-bit signals. Removing bottlenecks is essential for maintaining accuracy.
Strategic Full-Precision Layers
To preserve critical signal integrity, the first (input) layer, the final (classification) layer, and downsampling layers are kept in full precision. The memory overhead of these specific layers is negligible compared to the overall 32x weight compression achieved across the rest of the network.
Key Results
The proposed approach was evaluated on MNIST, CIFAR-10, and ImageNet. The results demonstrate that these architectural improvements allow BNNs to reach new performance heights without pre-training.
On the large-scale ImageNet benchmark, the DenseNetE-21 model achieved 58.6% Top-1 accuracy, outperforming previous state-of-the-art models like Bi-Real Net (56.4%) while maintaining a similar memory footprint of approximately 4 MB. A binary ResNet-34 implementation reached 60.0% Top-1 accuracy. On CIFAR-10, the DenseNetE-21 reached 90.3% accuracy, representing a significant improvement over prior binary implementations.
Conclusion
This work highlights that the key to high-performance BNNs lies in architecture rather than complex training heuristics. By maximizing shortcut density and avoiding information bottlenecks, binary models can achieve competitive results from scratch. While a performance gap of 10-13% remains compared to full-precision equivalents, the massive efficiency gains make these models highly viable for resource-constrained environments. Future work will focus on quantifying information preservation to further refine 1-bit quantization architectures.
Summary updated