TL;DR
This paper reframes multi-objective Neural Architecture Search (NAS) as a Quality Diversity Optimization (QDO) problem. By focusing on finding the best-performing models for specific hardware "niches" (like mobile phones vs. desktops) rather than trying to map the entire theoretical Pareto front, the authors introduce new optimizers that are significantly more efficient and effective than traditional multi-objective approaches.
What Problem Does This Paper Address?
In the world of Neural Architecture Search (NAS), we often want models that are not just accurate, but also efficient (e.g., low latency or small memory footprint). Traditionally, this is treated as a multi-objective optimization problem, where the goal is to find a "Pareto front"—a set of models representing every possible optimal trade-off between accuracy and efficiency.
However, the authors argue that this is often overkill. In practice, engineers usually have a discrete set of target devices (niches) with specific constraints. Searching for the entire Pareto front wastes computational resources on trade-offs that will never be used. For example, if you only need the best model for a specific microcontroller and a specific smartphone, you don't need to know the optimal trade-offs for every device in between.
Methods
The authors propose qdNAS, a framework that treats NAS as a QDO problem. Instead of maximizing a single objective or finding a front, QDO maintains an "archive" of the best-performing solution for each predefined niche.
They introduce three novel QD optimizers for NAS:
- BOP-Elites*: A Bayesian Optimization (BO) approach adapted for NAS. It uses random forest surrogates and a specialized path encoding to handle the discrete, graph-like nature of neural architectures.
- qdHB (Quality Diversity Hyperband): A multi-fidelity optimizer based on Hyperband. It uses low-fidelity evaluations (e.g., training for fewer epochs) to quickly discard poor architectures while ensuring that promising candidates for every niche are promoted.
- BOP-ElitesHB: A hybrid that combines the sample efficiency of Bayesian Optimization with the speed of multi-fidelity Hyperband.
Datasets
The researchers evaluated their methods on several standard NAS benchmarks and a real-world search space:
- NAS-Bench-101: A tabular benchmark using CIFAR-10, where the secondary objective is the number of trainable parameters.
- NAS-Bench-201: Evaluated on CIFAR-10, CIFAR-100, and ImageNet16-120, using latency as the secondary objective.
- MobileNetV3 Search Space: A large-scale, practical search space where they used accuracy predictors and latency look-up tables for a Samsung Note 10.
- Stanford Dogs: Used for a downstream application in model pruning/compression.
Key Insights and Ideas
- Niches over Fronts: By defining niches (e.g., "models under 10ms latency"), the search becomes more focused. The optimizer doesn't just look for any diverse model; it looks for the best model within each category.
- Multi-fidelity is Essential: Performance estimation is the most expensive part of NAS. Adapting Hyperband to a QD setting allows the search to explore many more architectures by using "cheap" early training results to filter candidates.
- Nested Niches: Unlike classical QD, which assumes niches are separate, NAS niches are often nested. A model small enough for a phone is also small enough for a laptop. The authors show that allowing niches to overlap improves search efficiency.
- Generality: The QD approach is "orthogonal" to the search strategy. You can turn almost any iterative NAS algorithm into a QD algorithm by changing how it selects and archives candidates.
Key Results
The experiments demonstrated that QD-based NAS consistently outperforms traditional multi-objective NAS (like ParEGO or moHB) in both solution quality and efficiency.
- Efficiency Boost: The hybrid BOP-ElitesHB was found to be, on average, 2.41x faster than its multi-objective counterpart (ParEGOHB) at reaching the same level of performance.
- Superior Performance: In final rankings across 12 benchmark problems, BOP-ElitesHB and BOP-Elites* consistently took the top spots for both validation and test error.
- Anytime Performance: As shown in Figure 2, the model-based QD optimizers (red and green lines) converge to lower error rates much faster than random search or standard multi-objective methods.
Limitations and Future Work
- Pre-defined Niches: The framework requires knowing the niches (hardware constraints) beforehand. If the target constraints are unknown or change frequently, a traditional multi-objective approach might still be preferable.
- Niche Stability: The multi-fidelity methods assume that a model's niche membership (e.g., its latency) doesn't change based on how many epochs it's trained for. While generally true for hardware metrics, this might not hold for all possible feature functions.
- Future Directions: The authors suggest that QD could be integrated into "one-shot" NAS methods (where a single large supernet is trained) to make the sub-network extraction process even more efficient for multiple devices.
Summary updated