Abstract
The early pioneering Neural Architecture Search (NAS) works were multi-trial methods applicable to any general search space. Subsequent works developed weight-sharing methods that assume a structured search space with pre-fixed hyperparameters, achieving high computational efficiency. However, multi-trial NAS algorithms remain essential for identifying high-performance architectures in general search spaces. In this work, we review multi-trial NAS strategies—including Evolutionary Algorithms (EA), Bayesian Optimization (BO), diversification, and lower fidelity estimation—and integrate them into a single framework: B²EA. B²EA is a surrogate-assisted EA utilizing two BO surrogate models with a mutation step. Evaluated across 14 benchmarks, B²EA demonstrates robustness and efficiency across varying target performance difficulties.
Introduction
Neural Architecture Search (NAS) aims to automate the design of neural networks, a task traditionally requiring significant human expertise. Currently, the field is divided into two primary approaches: weight-sharing methods, which are computationally efficient but often limited to specific search spaces, and multi-trial methods, which are highly accurate but expensive due to the need to train numerous models from scratch.
A significant challenge in multi-trial NAS is "brittleness"—algorithms often perform well on specific benchmarks (e.g., CNN tasks) but fail on others (e.g., MLP tasks). B²EA is designed as a robust "Swiss Army knife" for NAS, maintaining efficiency and performance across diverse architectural search spaces.
Methodology
B²EA is a Surrogate-Assisted Evolutionary Algorithm (SAEA) that integrates two distinct BO modules to guide the evolutionary process. This hybrid approach leverages the global search capabilities of EA and the sample efficiency of BO.
The framework consists of three core modules:
- Module A (Search Space Control): Instead of random parent selection, a BO model identifies the top $K$ promising candidates from the search space based on evaluation history.
- Module B (Mutation): Standard evolutionary mutation is applied to these $K$ parents to generate $M$ offspring architectures.
- Module C (Performance Estimation): To minimize training costs, a second BO model estimates the performance of the $M$ offspring. Only the candidate with the best estimate is selected for full training and evaluation.
This "cooperative" decision-making process prevents the search from becoming trapped in local optima. The algorithm also incorporates advanced techniques such as input warping for complex spaces and output transformations for non-Gaussian performance data.
Experimental Setup
B²EA was evaluated on a comprehensive suite of 14 benchmarks to ensure robustness:
- HPO-Bench: Four tasks focused on Multi-Layer Perceptron (MLP) regression.
- NAS-Bench-101: A large-scale tabular benchmark for CNNs.
- NAS-Bench-201: A cell-based search space evaluated on three image datasets.
- DNN-Bench: Six tasks covering a mix of CNNs and RNNs.
These tabular benchmarks allow for the simulation of expensive NAS runs by utilizing pre-calculated performance data, enabling rigorous comparison across diverse tasks.
Results and Discussion
B²EA achieved the #1 overall rank across all 14 benchmarks when compared to nine state-of-the-art multi-trial algorithms, including HEBO, DEEP-BO, and BANANAS.
Key Insights
- The Power of Cooperation: Utilizing two BO models with different biases (e.g., Gaussian Processes vs. Random Forests) allows the algorithm to compromise on candidates more likely to be global optima.
- Evolution as a Safety Net: The EA framework provides necessary diversification via mutation, preventing the search from getting stuck due to modeling errors in the BO surrogates.
- Efficiency and Consistency: On the "Difficult target" for NAS-Bench-201, B²EA located the target architecture in approximately 15 GPU days, compared to the 450 GPU days estimated for Random Search. It remained effective across three difficulty levels (Easy, Difficult, and Extremely Difficult).
Conclusion
B²EA demonstrates that a hybrid approach combining EA and dual BO surrogates can overcome the brittleness of traditional multi-trial NAS. While currently sequential, future work will focus on parallelization to enhance practicality in non-tabular search spaces. Additionally, exploring more aggressive multi-fidelity techniques could further reduce the computational budget required for high-performance architecture discovery.
Summary updated