NAS-BNN: Neural Architecture Search for Binary Neural Networks

Zhihao Lin, Yongtao Wang, Jinhe Zhang, Xiaojie Chu, Haibin Ling
8/28/2024
cs.CV

Official code: VDIGPKU/NAS-BNN (14 stars, last commit 2024-08-30).

Abstract

Binary Neural Networks (BNNs) have gained extensive attention for their superior inferencing efficiency and compression ratio compared to traditional full-precision networks. However, due to the unique characteristics of BNNs, designing a powerful binary architecture is challenging and often requires significant manpower. A promising solution is to utilize Neural Architecture Search (NAS) to assist in designing BNNs, but current NAS methods for BNNs are relatively straightforward and leave a performance gap between the searched models and manually designed ones. To address this gap, we propose a novel neural architecture search scheme for binary neural networks, named NAS-BNN. We first carefully design a search space based on the unique characteristics of BNNs. Then, we present three training strategies, which significantly enhance the training of supernet and boost the performance of all subnets. Our discovered binary model family outperforms previous BNNs for a wide range of operations (OPs) from 20M to 200M. For instance, we achieve 68.20% top-1 accuracy on ImageNet with only 57M OPs. In addition, we validate the transferability of these searched BNNs on the object detection task, and our binary detectors with the searched BNNs achieve a novel state-of-the-art result, e.g., 31.6% mAP with 370M OPs, on MS COCO dataset. The source code and models will be released at https://github.com/VDIGPKU/NAS-BNN.

View on arXivView PDF

Code Implementations(1)

VDIGPKU/NAS-BNNOfficial100%

The official implementation of "NAS-BNN: Neural Architecture Search for Binary Neural Networks"

142PythonAug 14, 20242 years ago

Similar Papers

Cite this paper

@article{lin2024nasbnn,
  title  = {NAS-BNN: Neural Architecture Search for Binary Neural Networks},
  author = {Zhihao Lin and Yongtao Wang and Jinhe Zhang and Xiaojie Chu and Haibin Ling},
  year   = {2024},
  eprint = {2408.15484},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.15484v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.15484.svg)](https://codeofpaper.com/paper/2408.15484)

Discussion