arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.15484cs.CV
收藏

NAS-BNN:面向二值神经网络的神经架构搜索

NAS-BNN: Neural Architecture Search for Binary Neural Networks

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);Stony Brook University(石溪大学)

Zhihao Lin, Yongtao Wang, Jinhe Zhang, Xiaojie Chu, Haibin Ling

AI总结:

本文提出NAS-BNN,一种针对二值神经网络的神经架构搜索方案,通过精心设计搜索空间和三种训练策略显著提升超网络及子网性能,在ImageNet和MS COCO数据集上取得优异的图像分类与目标检测结果。

摘要:

与传统全精度网络相比,二值神经网络(BNNs)因其卓越的推理效率和压缩比而受到广泛关注。然而,由于BNNs的独特特性,设计强大的二值架构极具挑战性,且往往需要大量人力。利用神经架构搜索(NAS)辅助设计BNNs是一个有前景的解决方案,但当前针对BNNs的NAS方法相对简单,导致搜索到的模型与人工设计的模型之间存在性能差距。为弥补这一差距,我们提出了一种名为NAS-BNN的二值神经网络神经架构搜索方案。我们首先根据BNNs的独特特性精心设计了搜索空间。然后,我们提出了三种训练策略,显著增强了超网络的训练并提升了所有子网的性能。我们发现的二值模型系列在20M至200M的广泛操作数(OPs)范围内优于以往的BNNs。例如,在ImageNet上仅使用57M OPs便实现了68.20%的top-1准确率。此外,我们在目标检测任务上验证了这些搜索到的BNNs的迁移能力,使用搜索到的BNNs构建的二值检测器在MS COCO数据集上取得了新的最优结果,例如在370M OPs下达到31.6%的mAP。源代码和模型将发布于https://github.com/VDIGPKU/NAS-BNN。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑