NAS-Bench-x11 and the Power of Learning Curves

Shen Yan, Colin White, Yash Savani, Frank Hutter

This paper introduces a new set of benchmarks designed to make Neural Architecture Search (NAS) research more efficient, reproducible, and realistic. By providing full training "learning curves" rather than just final scores, the authors unlock the ability to test advanced "multi-fidelity" search algorithms that were previously difficult to evaluate at scale.

TL;DR

The authors introduce NAS-Bench-x11, a suite of surrogate benchmarks that provide full learning curves (accuracy and loss at every epoch) for three popular NAS search spaces. By enabling the use of multi-fidelity techniques like learning curve extrapolation, they demonstrate that existing state-of-the-art NAS algorithms can be significantly improved in both speed and final performance.

The Single-Fidelity Trap in NAS

Neural Architecture Search (NAS)—the process of automating the design of neural networks—is notoriously expensive, often requiring thousands of GPU hours. To democratize research, the community created "tabular benchmarks" (like NAS-Bench-101) where every architecture in a small space is pre-trained, allowing researchers to look up results instantly.

However, most existing benchmarks only provide the final validation accuracy (e.g., at epoch 100). This creates a "single-fidelity" trap. In the real world, researchers use multi-fidelity techniques to save resources. They might train an architecture for 5 epochs, see it is performing poorly, and early-stop it. Alternatively, they might use the first 10 epochs to predict if the model will eventually break a record.

Without benchmarks that provide the full training history (the learning curve), it is impossible to fairly evaluate these sophisticated, resource-saving algorithms.

Methods: Predicting the Curve

The authors developed surrogate models capable of predicting the entire learning curve for any architecture within a given search space. Their approach involves three key steps:

  1. SVD Compression: A learning curve is a high-dimensional vector (e.g., 100 accuracy values for 100 epochs). The authors used Singular Value Decomposition (SVD) to compress these curves into a small set of coefficients (typically just 6). This captures the underlying "shape" of the curve while filtering out random noise.
  2. The $\mu$-Model (Mean Prediction): They trained a regression model (using LGBoost, XGBoost, or MLPs) to predict those SVD coefficients based on the architecture's encoding. This allows the benchmark to generate a "denoised" version of what the training curve should look like.
  3. The $\Sigma$-Model (Noise Modeling): Real-world training is inherently "wobbly" due to random initialization and batching. To make the benchmark realistic, they modeled the residuals (the difference between the mean curve and actual training runs) using Gaussian Kernel Density Estimation (GKDE). This allows the benchmark to output a curve that behaves like a real, noisy training run.
Predicted vs. True learning curves across NAS-Bench-x11 spaces

The NAS-Bench-x11 Datasets

The authors released three new surrogate benchmarks, alongside a diagnostic one:

  • NAS-Bench-111: Based on the NAS-Bench-101 search space (CIFAR-10).
  • NAS-Bench-311: Based on the massive DARTS search space ($10^{18}$ architectures) used in NAS-Bench-301 (CIFAR-10).
  • NAS-Bench-NLP11: Based on the NAS-Bench-NLP space (Penn Tree Bank).
  • NAS-Bench-211: A diagnostic benchmark based on NAS-Bench-201 used to validate their methodology.

Key Insights and Results

  • The Power of Six: Surprisingly, just six singular values are enough to reconstruct a learning curve with high fidelity. Using more than that actually hurts performance because the model starts trying to predict the random noise of a specific training run rather than the underlying trend.
  • Surrogates as Oracles: The authors found that their surrogate models often correlate better with the true performance of an architecture than a single noisy training run does. This suggests that surrogate benchmarks aren't just a cheap substitute—they might actually provide a cleaner signal for algorithm development.
  • Multi-Fidelity is a "Free" Upgrade: By providing a framework to wrap existing single-fidelity algorithms (like Regularized Evolution or BANANAS) with Learning Curve Extrapolation (LCE), they showed that these algorithms can be made more efficient without changing their core logic.
  • High Fidelity & Realistic Noise: The NAS-Bench-311 surrogate achieves a Kendall Tau (rank correlation) of 0.788, highly competitive with benchmarks that only predict final accuracy. Furthermore, using KL divergence and "spike anomaly" metrics, they proved that their generated curves statistically match the behavior of real neural network training.

Limitations and Future Work

  • Internal Technique Bias: The authors warn against "double-dipping." If a researcher uses an XGBoost-based NAS algorithm to search on an XGBoost-based surrogate benchmark, the results might be artificially inflated.
  • NLP Warm-up: For the NLP benchmark, the surrogate performs much better if it's given the first three epochs of "real" training data as an input. This means the speedup is about 15x compared to full training, rather than being instantaneous like a pure tabular lookup.
  • Future Expansion: The authors suggest that this SVD-based modeling technique can be used to create surrogate benchmarks for any new NAS search space that emerges in the future.

Check out the code and models: https://github.com/automl/nas-bench-x11

Summary updated

BibTeX
@inproceedings{yan2021nas,
  author = {Shen Yan and Colin White and Yash Savani and Frank Hutter},
  title = {{NAS-Bench-x11 and the Power of Learning Curves}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure