Expanding-and-Shrinking Binary Neural Networks

Xulong Shi, Caiyi Sun, Zhi Qi, Liu Hao, Xiaodong YangarXiv 2025 · DOI

Abstract

Binary Neural Networks (BNNs) are highly efficient for edge AI deployment, offering up to 58x speedups on CPUs and substantial memory savings. However, they typically suffer from a significant "accuracy tax" compared to full-precision models. This paper presents Expanding-and-Shrinking Binary Neural Networks (ES-BNN), an architectural framework that recovers lost accuracy by addressing the fundamental bottleneck of representation capacity. By expanding channel counts and shrinking convolution kernels, ES-BNN increases feature diversity with minimal computational overhead, achieving state-of-the-art results in classification, detection, and generative tasks.

Introduction: The Representation Capacity Bottleneck

In standard neural networks, feature map entries are real numbers. In BNNs, weights and activations are restricted to $\{-1, +1\}$, meaning convolution outputs are essentially counts of bit-matches. With a limited number of input channels, the range of possible values for each pixel is extremely narrow, a problem the authors define as limited representation capacity. Prior research has focused on optimizing the training process, but ES-BNN argues that the bottleneck is structural. To improve BNNs, one must increase the diversity of features without violating the strict power and latency constraints of edge devices.

Methodology: The Expanding-and-Shrinking (ES) Operation

The core innovation is the Expanding-and-Shrinking (ES) operation, designed to maintain a constant number of binary operations (BOPs) while increasing feature diversity through a three-step process:

  1. Expand: The number of input channels is increased by a scaling factor ($\tau$).
  2. Shrink: To balance the computational load, the number of output channels produced by the binary convolution is reduced.
  3. Replicate & Diversify: Shrunk output channels are replicated to restore the original width.
Overview of the Expanding-and-Shrinking (ES) operation variants, including standard (a), replicated (b), and group convolution (c) versions.

While replicating channels might seem redundant, the authors leverage Batch Normalization (BN) and Residual Connections. Because BN applies unique parameters per channel and residuals introduce information from previous layers, these identical replicas evolve into distinct, heterogeneous features during training. The framework further incorporates Binary Group Convolution to optimize information flow across expanded channels.

Experimental Results

The ES-BNN framework was evaluated across diverse tasks, including ImageNet classification, PASCAL VOC object detection, and image super-resolution using generative diffusion models.

Performance improvements of ES-BNN across classification, detection, and super-resolution tasks compared to baseline BNN architectures.

Key Findings:

  • ImageNet Classification: ES-BNN improved the BNext model by +2.8% (reaching 75.2% top-1 accuracy) and ReActNet by +2.1%.
  • Object Detection: On PASCAL VOC, it enhanced the BiDet baseline by 4.0% mAP.
  • Generative Models: In image super-resolution (Manga109), it achieved a +1.24 dB PSNR improvement, demonstrating that BNNs can effectively handle complex generative tasks.

Discussion: Loss Landscape and Efficiency

Beyond raw accuracy, the authors analyzed the optimization process. Standard BNNs often have rugged, "jumpy" loss landscapes that are difficult to navigate. ES-BNN smooths this landscape, making it behave more like a high-precision network. Crucially, these gains are achieved with near-zero cost; the total operation count (OPs) increases by only ~2.2% to 5.6%, primarily due to additional Batch Normalization overhead.

Conclusion

ES-BNN demonstrates that the limitations of Binary Neural Networks are not just an optimization hurdle but a structural one. By strategically expanding and shrinking the network architecture, researchers can significantly boost representation capacity. This approach provides a scalable blueprint for deploying high-accuracy, low-power models on edge hardware.

Summary updated

BibTeX
@misc{shi2025expanding,
  author = {Xulong Shi and Caiyi Sun and Zhi Qi and Liu Hao and Xiaodong Yang},
  title = {{Expanding-and-Shrinking Binary Neural Networks}},
  year = {2025},
  eprint = {2503.23709},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.23709},
}
Figure