BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search

Changlin Li, Tao Tang, Guangrun Wang, Jiefeng Peng, Bing Wang +2 more
3/23/2021
cs.CVcs.LG
transformer-attentioncontrastive-ssl

Official code: changlin31/BossNAS (143 stars, Python, last commit 2021-12-06).

Abstract

A myriad of recent breakthroughs in hand-crafted neural architectures for visual recognition have highlighted the urgent need to explore hybrid architectures consisting of diversified building blocks. Meanwhile, neural architecture search methods are surging with an expectation to reduce human efforts.

Show full abstract

However, whether NAS methods can efficiently and effectively handle diversified search spaces with disparate candidates (e.g. CNNs and transformers) is still an open question. In this work, we present Block-wisely Self-supervised Neural Architecture Search (BossNAS), an unsupervised NAS method that addresses the problem of inaccurate architecture rating caused by large weight-sharing space and biased supervision in previous methods. More specifically, we factorize the search space into blocks and utilize a novel self-supervised training scheme, named ensemble bootstrapping, to train each block separately before searching them as a whole towards the population center. Additionally, we present HyTra search space, a fabric-like hybrid CNN-transformer search space with searchable down-sampling positions. On this challenging search space, our searched model, BossNet-T, achieves up to 82.5% accuracy on ImageNet, surpassing EfficientNet by 2.4% with comparable compute time. Moreover, our method achieves superior architecture rating accuracy with 0.78 and 0.76 Spearman correlation on the canonical MBConv search space with ImageNet and on NATS-Bench size search space with CIFAR-100, respectively, surpassing state-of-the-art NAS methods. Code: https://github.com/changlin31/BossNAS

View on arXivView PDF

Code Implementations(1)

changlin31/BossNASOfficial100%

(ICCV 2021) BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search

14319Python, ShellMar 22, 20214 years ago
automlhybrid-neural-networknasneural-architecture-searchself-supervised-learning+1 more

Similar Papers

Cite this paper

@article{li2021bossnas,
  title  = {BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search},
  author = {Changlin Li and Tao Tang and Guangrun Wang and Jiefeng Peng and Bing Wang and Xiaodan Liang and Xiaojun Chang},
  year   = {2021},
  eprint = {2103.12424},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.12424}
}

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/2103.12424.svg)](https://codeofpaper.com/paper/2103.12424)

Discussion