Abstract
Neural Architecture Search (NAS) automates the design of neural network architectures, but traditional methods are computationally expensive. One-shot NAS reduces costs by sharing parameters across a "supernet," yet often relies on inefficient random sampling to find the best sub-networks. This paper introduces the Self-Evaluated Template Network (SETN), which employs a learned evaluator to identify promising candidates selectively. By combining a stochastic template network with this evaluator, SETN achieves state-of-the-art performance on CIFAR and ImageNet benchmarks with significantly reduced search time.
Introduction
The manual design of neural architectures is a labor-intensive process. While NAS has automated this, early reinforcement learning and evolutionary algorithms required thousands of GPU days. One-shot NAS emerged as a solution, using a Template Network where all candidate architectures share weights. However, after training the template network, the standard practice of random sampling often fails to find optimal architectures within the vast search space. SETN addresses this "blind" sampling by introducing a mechanism to evaluate candidate quality during the search.
The SETN Framework
SETN consists of two primary components: a Stochastic Template Network and an Evaluator.
- Stochastic Template Network: To avoid the "Matthew Effect"—where simple operations like skip-connections dominate early and prevent complex operations from maturing—SETN uses a uniform stochastic training strategy. In each iteration, a single path is sampled and updated, ensuring all operations are trained fairly.
- The Evaluator: The evaluator is a set of learnable parameters ($\alpha$) that represent the probability of selecting specific operations. It is trained on a validation set using continuous relaxation to minimize validation loss, effectively learning which architectural components contribute most to performance.
The workflow involves jointly training the network weights and the evaluator. Once trained, the evaluator is used to sample the top 1,000 most promising candidates, which are then evaluated using the shared weights to identify the best architecture.
Key Results and Insights
SETN demonstrates that the quality of candidates is more critical than the quantity. By focusing on high-probability architectures identified by the evaluator, SETN finds superior models more efficiently than random search.
Empirical results highlight SETN's efficiency and effectiveness:
- Search Efficiency: The search concludes in approximately 1.8 GPU days on a single V100 GPU, roughly 1,000x faster than early NAS methods.
- CIFAR-10: SETN discovered an architecture with a 2.69% test error, matching the performance of NASNet-A while being discovered in a fraction of the time.
- ImageNet: Under mobile-setting constraints (<600M FLOPs), the discovered architecture achieved 74.3% Top-1 accuracy, matching or exceeding human-designed models like MobileNet-v2 and ShuffleNet.
Conclusion
SETN significantly improves the efficiency of one-shot NAS by replacing random sampling with a learned evaluator. This approach ensures that the evaluation phase focuses on high-quality candidates, leading to state-of-the-art architectures with minimal computational overhead. Future work may involve integrating hardware constraints like latency directly into the evaluator to optimize for specific edge devices.
Summary updated