Single-Path NAS: Designing Hardware-Efficient ConvNets in less than 4 Hours

Dimitrios Stamoulis, Ruizhou Ding, Di Wang, Dimitrios Lymberopoulos, Bodhi Priyantha +2 more
4/5/2019
cs.LGcs.CVstat.ML

Official code: enyac-group/single-path-nas (394 stars, Apache-2.0, last commit 2020-12-14).

Abstract

Can we automatically design a Convolutional Network (ConvNet) with the highest image classification accuracy under the runtime constraint of a mobile device? Neural architecture search (NAS) has revolutionized the design of hardware-efficient ConvNets by automating this process. However, the NAS problem remains challenging due to the combinatorially large design space, causing a significant searching time (at least 200 GPU-hours). To alleviate this complexity, we propose Single-Path NAS, a novel differentiable NAS method for designing hardware-efficient ConvNets in less than 4 hours. Our contributions are as follows: 1. Single-path search space: Compared to previous differentiable NAS methods, Single-Path NAS uses one single-path over-parameterized ConvNet to encode all architectural decisions with shared convolutional kernel parameters, hence drastically decreasing the number of trainable parameters and the search cost down to few epochs. 2. Hardware-efficient ImageNet classification: Single-Path NAS achieves 74.96% top-1 accuracy on ImageNet with 79ms latency on a Pixel 1 phone, which is state-of-the-art accuracy compared to NAS methods with similar constraints (<80ms). 3. NAS efficiency: Single-Path NAS search cost is only 8 epochs (30 TPU-hours), which is up to 5,000x faster compared to prior work. 4. Reproducibility: Unlike all recent mobile-efficient NAS methods which only release pretrained models, we open-source our entire codebase at: https://github.com/dstamoulis/single-path-nas.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Single-Path NAS: Designing Hardware-Efficient ConvNets in less than 4 Hours

39459Shell, PythonMar 29, 20195 years agoApache-2.0

Similar Papers

Cite this paper

@article{stamoulis2019singlepath,
  title  = {Single-Path NAS: Designing Hardware-Efficient ConvNets in less than 4 Hours},
  author = {Dimitrios Stamoulis and Ruizhou Ding and Di Wang and Dimitrios Lymberopoulos and Bodhi Priyantha and Jie Liu and Diana Marculescu},
  year   = {2019},
  eprint = {1904.02877},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.02877}
}

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

Discussion