DSNAS: Direct Neural Architecture Search without Parameter Retraining
About
If NAS methods are solutions, what is the problem? Most existing NAS methods require two-stage parameter optimization. However, performance of the same architecture in the two stages correlates poorly. In this work, we propose a new problem definition for NAS, task-specific end-to-end, based on this observation. We argue that given a computer vision task for which a NAS method is expected, this definition can reduce the vaguely-defined NAS evaluation to i) accuracy of this task and ii) the total computation consumed to finally obtain a model with satisfying accuracy. Seeing that most existing methods do not solve this problem directly, we propose DSNAS, an efficient differentiable NAS framework that simultaneously optimizes architecture and parameters with a low-biased Monte Carlo estimate. Child networks derived from DSNAS can be deployed directly without parameter retraining. Comparing with two-stage methods, DSNAS successfully discovers networks with comparable accuracy (74.4%) on ImageNet in 420 GPU hours, reducing the total time by more than 34%. Our implementation is available at https://github.com/SNAS-Series/SNAS-Series.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-100 (test) | Accuracy31.01 | 3518 | |
| Image Classification | CIFAR-10 (test) | Accuracy93.08 | 3381 | |
| Image Classification | CIFAR-100 (val) | Accuracy30.87 | 661 | |
| Image Classification | CIFAR-10 (val) | Top-1 Accuracy89.66 | 329 | |
| Image Classification | CIFAR-10 NAS-Bench-201 (test) | Accuracy93.08 | 173 | |
| Image Classification | CIFAR-100 NAS-Bench-201 (test) | Accuracy31.01 | 169 | |
| Image Classification | ImageNet Mobile Setting (test) | Top-1 Error25.7 | 165 | |
| Image Classification | ImageNet-16-120 NAS-Bench-201 (test) | Accuracy41.07 | 139 | |
| Image Classification | CIFAR-10 NAS-Bench-201 (val) | Accuracy89.66 | 119 | |
| Image Classification | CIFAR-100 NAS-Bench-201 (val) | Accuracy30.87 | 109 |