SNAS: Stochastic Neural Architecture Search

Sirui Xie, Hehui Zheng, Chunxiao Liu, Liang Lin
12/24/2018
1,029 citations
cs.LGcs.AIstat.ML

Official code: SNAS-Series/SNAS-Series (148 stars, Python, MIT, last commit 2021-01-26).

Abstract

We propose Stochastic Neural Architecture Search (SNAS), an economical end-to-end solution to Neural Architecture Search (NAS) that trains neural operation parameters and architecture distribution parameters in same round of back-propagation, while maintaining the completeness and differentiability of the NAS pipeline. In this work, NAS is reformulated as an optimization problem on parameters of a joint distribution for the search space in a cell.

Show full abstract

To leverage the gradient information in generic differentiable loss for architecture search, a novel search gradient is proposed. We prove that this search gradient optimizes the same objective as reinforcement-learning-based NAS, but assigns credits to structural decisions more efficiently. This credit assignment is further augmented with locally decomposable reward to enforce a resource-efficient constraint. In experiments on CIFAR-10, SNAS takes less epochs to find a cell architecture with state-of-the-art accuracy than non-differentiable evolution-based and reinforcement-learning-based NAS, which is also transferable to ImageNet. It is also shown that child networks of SNAS can maintain the validation accuracy in searching, with which attention-based NAS requires parameter retraining to compete, exhibiting potentials to stride towards efficient NAS on big datasets. We have released our implementation at https://github.com/SNAS-Series/SNAS-Series.

View on arXivView PDF

Code Implementations(1)

MIT

This repo contains the PyTorch implementation of the SNAS-Series papers

14824Python, ShellMar 21, 20205 years agoMIT

Similar Papers

Cite this paper

@article{xie2018snas,
  title  = {SNAS: Stochastic Neural Architecture Search},
  author = {Sirui Xie and Hehui Zheng and Chunxiao Liu and Liang Lin},
  year   = {2018},
  eprint = {1812.09926},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1812.09926}
}

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

Discussion