Zen-NAS: A Zero-Shot NAS for High-Performance Deep Image Recognition

Ming Lin, Pichao Wang, Zhenhong Sun, Hesen Chen, Xiuyu Sun +3 more
2/1/2021
193 citations
cs.CVcs.LG

Official code: idstcv/ZenNAS (237 stars, Python, last commit 2021-09-21). Most starred: alibaba/lightweight-neural-architecture-search, a community implementation (452 stars, Python, Apache-2.0, PyTorch, last commit 2023-08-21, 1.9× the official stars). 1 more implementation below.

Abstract

Accuracy predictor is a key component in Neural Architecture Search (NAS) for ranking architectures. Building a high-quality accuracy predictor usually costs enormous computation.

Show full abstract

To address this issue, instead of using an accuracy predictor, we propose a novel zero-shot index dubbed Zen-Score to rank the architectures. The Zen-Score represents the network expressivity and positively correlates with the model accuracy. The calculation of Zen-Score only takes a few forward inferences through a randomly initialized network, without training network parameters. Built upon the Zen-Score, we further propose a new NAS algorithm, termed as Zen-NAS, by maximizing the Zen-Score of the target network under given inference budgets. Within less than half GPU day, Zen-NAS is able to directly search high performance architectures in a data-free style. Comparing with previous NAS methods, the proposed Zen-NAS is magnitude times faster on multiple server-side and mobile-side GPU platforms with state-of-the-art accuracy on ImageNet. Our source code and pre-trained models are released on https://github.com/idstcv/ZenNAS.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
idstcv/ZenNASOfficial237Python–2021-09-21
alibaba/lightweight-neural-architecture-searchCommunity452PythonApache-2.02023-08-21
idstcv/ZenNASOfficial100%
23743Python, ShellJan 28, 20215 years ago
PyTorchApache-2.0

This is a collection of our zero-cost NAS and efficient vision applications.

45257Python, ShellApr 1, 20223 years agoApache-2.0
automlclassficationcvpr2023deepmadiclr2023+9 more

Similar Papers

Cite this paper

@article{lin2021zennas,
  title  = {Zen-NAS: A Zero-Shot NAS for High-Performance Deep Image Recognition},
  author = {Ming Lin and Pichao Wang and Zhenhong Sun and Hesen Chen and Xiuyu Sun and Qi Qian and Hao Li and Rong Jin},
  year   = {2021},
  eprint = {2102.01063},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.01063}
}

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

Discussion