Abstract
Training a supernet matters for one-shot neural architecture search (NAS) methods since it serves as a basic performance estimator for different architectures (paths). Current methods mainly hold the assumption that a supernet should give a reasonable ranking over all paths. They thus treat all paths equally, and spare much effort to train paths. However, it is harsh for a single supernet to evaluate accurately on such a huge-scale search space (e.g., $7^{21}$). In this paper, instead of covering all paths, we ease the burden of supernet by encouraging it to focus more on evaluation of those potentially-good ones, which are identified using a surrogate portion of validation data. Concretely, during training, we propose a multi-path sampling strategy with rejection, and greedily filter the weak paths. The training efficiency is thus boosted since the training space has been greedily shrunk from all paths to those potentially-good ones. Moreover, we further adopt an exploration and exploitation policy by introducing an empirical candidate path pool. Our proposed method GreedyNAS is easy-to-follow, and experimental results on ImageNet dataset indicate that it can achieve better Top-1 accuracy under same search space and FLOPs or latency level, but with only $\sim$60% of supernet training cost. By searching on a larger space, our GreedyNAS can also obtain new state-of-the-art architectures.
Introduction
One-shot Neural Architecture Search (NAS) has emerged as a powerful paradigm for automating network design. It relies on a "supernet" that encapsulates the entire search space, where each architecture is a sub-path. Once trained, the supernet's shared weights allow for rapid performance estimation of any sub-path. However, standard one-shot methods face a significant bottleneck: the astronomical size of the search space (often exceeding $7^{21}$ paths). Attempting to train all paths uniformly leads to poor performance estimation because a single set of weights cannot accurately represent billions of configurations, and updates from "weak" paths introduce noise that harms the learning of "good" ones.
Methodology
GreedyNAS addresses these challenges by focusing supernet training on the most promising architectures. The core of the approach is a greedy filtering mechanism combined with an exploration-exploitation strategy.
Multi-path Sampling with Rejection
Instead of updating the supernet with a single random path, GreedyNAS samples $m$ paths and evaluates them on a small surrogate validation set (e.g., 1,000 ImageNet images). Only the top $k$ performing paths are used to update the supernet weights, effectively rejecting "weak" architectures and shrinking the active training space.
Exploration and Exploitation (E-E)
To prevent the supernet from converging to local optima, the framework maintains a candidate pool of high-performing architectures. Training balances "exploration" (sampling new paths from the full space) and "exploitation" (refining paths from the candidate pool).
Experimental Results
Experimental results on the ImageNet dataset demonstrate that GreedyNAS significantly outperforms existing one-shot NAS methods in both accuracy and efficiency.
- Superior Accuracy: GreedyNAS-A achieves 77.1% Top-1 accuracy at 366M FLOPs, surpassing EfficientNet-B0 (76.3%) and DARTS (73.3%).
- Training Efficiency: As shown in the performance comparison, GreedyNAS reaches state-of-the-art performance with only ~60% of the training cost required by uniform sampling methods (e.g., 89.7M corrected optimization steps vs 147.6M for Uniform Sampling).
- Ranking Correlation: The "greedy" supernet exhibits a Spearman rank correlation of 0.997, indicating a near-perfect alignment between supernet-estimated performance and true stand-alone accuracy, compared to just 0.155 for random initialization.
Conclusion
GreedyNAS demonstrates that focusing supernet training on high-potential paths is a more effective strategy than uniform exploration. By reducing interference from low-quality architectures, GreedyNAS achieves superior performance estimation and faster convergence, significantly lowering the computational barrier for state-of-the-art architecture discovery.
Summary updated