Single-Path NAS: Designing Hardware-Efficient ConvNets in less than 4 Hours
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Object Detection | COCO 2017 (val) | AP30.7 | 2454 | |
| Classification | ImageNet-1K 1.0 (val) | Top-1 Accuracy (%)75 | 1155 | |
| Image Classification | ImageNet-1k (val) | Top-1 Acc75 | 706 | |
| Object Detection | COCO (val) | mAP30.7 | 613 | |
| Image Classification | ImageNet (val) | Top-1 Accuracy74.96 | 354 | |
| Object Detection | MS-COCO 2017 (val) | -- | 237 | |
| Image Classification | ImageNet 2012 (val) | Top-1 Accuracy75 | 202 | |
| Image Classification | ILSVRC 2012 (test) | Top-1 Acc75 | 117 | |
| Image Classification | ImageNet 1k (train) | Top-1 Accuracy75 | 58 |