KNAS: Green Neural Architecture Search

Jingjing Xu, Liang Zhao, Junyang Lin, Rundong Gao, Xu Sun +1 more
11/26/2021
cs.LG

Official code: Jingjing-NLP/KNAS (93 stars, Python, MIT, last commit 2021-11-18).

Abstract

Many existing neural architecture search (NAS) solutions rely on downstream training for architecture evaluation, which takes enormous computations. Considering that these computations bring a large carbon footprint, this paper aims to explore a green (namely environmental-friendly) NAS solution that evaluates architectures without training.

Show full abstract

Intuitively, gradients, induced by the architecture itself, directly decide the convergence and generalization results. It motivates us to propose the gradient kernel hypothesis: Gradients can be used as a coarse-grained proxy of downstream training to evaluate random-initialized networks. To support the hypothesis, we conduct a theoretical analysis and find a practical gradient kernel that has good correlations with training loss and validation performance. According to this hypothesis, we propose a new kernel based architecture search approach KNAS. Experiments show that KNAS achieves competitive results with orders of magnitude faster than "train-then-test" paradigms on image classification tasks. Furthermore, the extremely low search cost enables its wide applications. The searched network also outperforms strong baseline RoBERTA-large on two text classification tasks. Codes are available at \url{https://github.com/Jingjing-NLP/KNAS} .

View on arXivView PDF

Code Implementations(1)

Jingjing-NLP/KNASOfficial100%
MIT

Codes for paper "KNAS: Green Neural Architecture Search"

9315Python, ShellJun 10, 20215 years agoMIT

Similar Papers

Cite this paper

@article{xu2021knas,
  title  = {KNAS: Green Neural Architecture Search},
  author = {Jingjing Xu and Liang Zhao and Junyang Lin and Rundong Gao and Xu Sun and Hongxia Yang},
  year   = {2021},
  eprint = {2111.13293},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.13293}
}

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

Discussion