Towards Optimization-Friendly Binary Neural Network

Abstract

Binary neural networks (BNNs) are a promising approach for compressing and accelerating deep learning models, especially in resource-constrained environments. However, the optimization gap between BNNs and their full-precision counterparts has long been an open problem limiting their performance. In this work, we propose a novel optimization pipeline to enhance the performance of BNNs. The main approach includes three key components: (1) BNext, a strong binary baseline based on an optimization-friendly basic block design, (2) knowledge complexity, a simple yet effective teacher-selection metric taking the capacity gap between teachers and binary students under consideration, (3) consecutive knowledge distillation (CKD), a novel multi-round optimization technique to transfer high-confidence knowledge from strong teachers to low-capacity BNNs. We empirically validate the superiority of the method on several vision classification tasks CIFAR-10/100 & ImageNet. For instance, the BNext family outperforms previous BNNs under different capacity levels and contributes the first binary neural network to reach the state-of-the-art 80.57\% Top-1 accuracy on ImageNet with 0.82 GOPS, which verifies the potential of BNNs and already contributes a strong baseline for future research on high-accuracy BNNs. The code will be publicly available at (blind URL, see supplementary material).

Cite

Text

Guo et al. "Towards Optimization-Friendly Binary Neural Network." Transactions on Machine Learning Research, 2023.

Markdown

[Guo et al. "Towards Optimization-Friendly Binary Neural Network." Transactions on Machine Learning Research, 2023.](https://mlanthology.org/tmlr/2023/guo2023tmlr-optimizationfriendly/)

BibTeX

@article{guo2023tmlr-optimizationfriendly,
  title     = {{Towards Optimization-Friendly Binary Neural Network}},
  author    = {Guo, Nianhui and Bethge, Joseph and Guo, Hong and Meinel, Christoph and Yang, Haojin},
  journal   = {Transactions on Machine Learning Research},
  year      = {2023},
  url       = {https://mlanthology.org/tmlr/2023/guo2023tmlr-optimizationfriendly/}
}