Abstract: Neural Architecture Search (NAS) often trains and evaluates a large number of architectures. Recent predictor-based NAS approaches attempt to alleviate such heavy computation costs with two key steps: sampling some architecture-performance pairs and fitting a proxy accuracy predictor. Given limited samples, these predictors, however, are far from accurate to locate top architectures due to the difficulty of fitting the huge search space. This paper reflects on a simple yet crucial question: if our final goal is to find the best architecture, do we really need to model the whole space well?. We propose a paradigm shift from fitting the whole architecture space using one strong predictor, to progressively fitting a search path towards the high-performance sub-space through a set of weaker predictors. As a key property of the weak predictors, their probabilities of sampling better architectures keep increasing. Hence we only sample a few well-performed architectures guided by the previously learned predictor and estimate a new better weak predictor. This embarrassingly easy framework, dubbed WeakNAS, produces coarse-to-fine iteration to gradually refine the ranking of sampling space. Extensive experiments demonstrate that WeakNAS costs fewer samples to find top-performance architectures on NAS-Bench-101 and NAS-Bench-201. Compared to state-of-the-art (SOTA) predictor-based NAS methods, WeakNAS outperforms all with notable margins, e.g., requiring at least 7.5x less samples to find global optimal on NAS-Bench-101. WeakNAS can also absorb their ideas to boost performance more. Further, WeakNAS strikes the new SOTA result of 81.3% in the ImageNet MobileNet Search Space.
1. Introduction
Neural Architecture Search (NAS) has revolutionized deep learning model design by automating the discovery of high-performance architectures. However, the computational cost remains a significant barrier. Predictor-based NAS methods attempt to mitigate this by training a proxy model to estimate the performance of architectures in a vast search space. Traditionally, these methods strive for a "strong" predictor capable of modeling the entire search space. This paper challenges that convention, asking whether global accuracy is necessary if the ultimate goal is simply to identify the top-performing architectures.
2. Methods: The WeakNAS Paradigm
The proposed framework, WeakNAS, shifts from fitting the entire architecture space with a single strong predictor to progressively fitting a search path toward high-performance sub-spaces using a sequence of "weak" predictors. This approach is essentially a simplified version of Bayesian Optimization, using a basic step-function to balance exploring new areas and exploiting known good ones.
The process is iterative:
- Sampling and Fitting: Starting with a small random set of architectures, a simple weak predictor (e.g., a small MLP or Random Forest) is trained.
- Progressive Zoom-In: This predictor ranks the search space. Subsequent sampling is restricted to the top-performing regions identified by the current predictor.
- Refinement: Each iteration refines the focus, effectively "zooming in" on the most promising architectures.
3. Experimental Evaluation
The researchers evaluated WeakNAS on standard benchmarks including NAS-Bench-101, NAS-Bench-201, and large-scale MobileNet and NASNet search spaces.
Key findings include:
- Sample Efficiency: WeakNAS demonstrates a significant reduction in the number of ground-truth evaluations required. On NAS-Bench-101, it finds the global optimum using at least 7.5x fewer samples than state-of-the-art predictor-based methods.
- Performance Gains: In the MobileNet search space on ImageNet, WeakNAS discovered an architecture achieving 81.3% top-1 accuracy, a new state-of-the-art for that space.
- Predictor Agnosticism: The framework's success is independent of the specific predictor architecture, performing consistently across MLPs, Gradient Boosting Trees, and Random Forests.
4. Discussion and Conclusion
WeakNAS proves that modeling the "bad" regions of a search space is computationally wasteful. By focusing resources on promising sub-spaces, the search becomes both faster and more accurate. While highly effective, future work could explore joint learning of architecture encodings and predictors to further automate the process. WeakNAS offers a simple yet powerful "coarse-to-fine" strategy that sets a new standard for efficient neural architecture search.
The code is available at https://github.com/VITA-Group/WeakNAS.
Summary updated