TL;DR
This paper introduces NAS-Bench-101, the first public dataset of pre-trained neural network architectures for Neural Architecture Search (NAS). By exhaustively evaluating over 423,000 unique convolutional architectures on CIFAR-10, this dataset allows researchers to benchmark NAS algorithms in milliseconds, significantly reducing computational barriers and fostering reproducibility.
What Problem Does This Paper Address?
Neural Architecture Search (NAS) has shown great promise in automating the design of high-performing neural networks. However, the field faces a significant reproducibility crisis. NAS methods often require immense computational resources (months of training on powerful hardware), making it difficult for many researchers to reproduce existing work or even to get started. Furthermore, comparing different NAS algorithms is challenging because they often use different search spaces, training procedures, and evaluation metrics, making it hard to attribute success to the search algorithm itself. This paper aims to democratize NAS research by providing a readily accessible, pre-computed benchmark.
Methods
The core contribution is the creation of NAS-Bench-101, a dataset containing the performance metrics of 423,000 unique convolutional neural network (CNN) architectures. To achieve this, the authors:
- Defined a Compact Search Space: They designed a search space of "cells" (small feedforward structures) with a limited number of nodes (up to 7) and operations (3x3 conv, 1x1 conv, 3x3 max-pool). Graph isomorphism was used to identify and represent only unique architectures, resulting in 423k distinct models.
- Exhaustive Training and Evaluation: Each of these 423k architectures was trained and evaluated multiple times on CIFAR-10 using a standardized training pipeline. This was done across four different epoch budgets (4, 12, 36, 108 epochs) to support multi-fidelity optimization methods. In total, over 5 million models were trained.
- Tabular Dataset Creation: The results (training/validation/test accuracy, training time, parameter count) were compiled into a large table, allowing researchers to query performance metrics for any architecture in the search space instantly.
- Benchmarking NAS Algorithms: The dataset was used to benchmark several popular NAS and hyperparameter optimization (HPO) algorithms (Random Search, Regularized Evolution, SMAC, TPE, Hyperband, BOHB, RL) to demonstrate its utility and establish baseline performance.
Datasets
- CIFAR-10: Used for training and evaluating all the neural network architectures in the dataset.
- NAS-Bench-101: The newly introduced benchmark dataset, containing pre-computed performance metrics for over 423,000 unique CNN architectures. It includes training/validation/test accuracy, training time, and parameter count for each architecture across different training durations.
Key Insights and Ideas
- Democratizing NAS: The most significant idea is that pre-computing and sharing a large-scale architecture dataset can drastically lower the barrier to entry for NAS research, enabling faster experimentation and broader participation.
- Search Space Analysis: NAS-Bench-101 allows for the first time a comprehensive analysis of an entire NAS search space. The authors found that while there's a general correlation between parameters, training time, and accuracy, hand-designed architectures like ResNet and Inception often lie near the "Pareto frontier" of accuracy vs. cost, suggesting topology and operation selection are critical.
- Locality in NAS: The dataset supports the concept of "locality" in NAS, where similar architectures tend to have similar performance. This property is crucial for many search algorithms and suggests that local search strategies can be effective.
- Reproducibility is Key: The paper strongly advocates for reproducible research by providing not just the dataset but also the training code and clear guidelines for benchmarking.
Key Results
- Dataset Size: NAS-Bench-101 contains over 5 million trained models, representing 423,000 unique convolutional architectures.
- Performance: The best architecture in the dataset achieved a mean test accuracy of 94.32% on CIFAR-10.
- Algorithm Benchmarking: Algorithms like Regularized Evolution (RE), BOHB, and SMAC were shown to significantly outperform Random Search, achieving comparable performance much faster. For instance, RE, BOHB, and SMAC reached the final performance of Random Search about 5 times faster.
- Robustness: The dataset enabled the analysis of algorithm robustness across 500 independent trials, revealing that RE, BOHB, and SMAC exhibited the most consistent performance.
- Correlation: A strong correlation (r=0.999) was observed between validation and test accuracy at 108 epochs, suggesting that optimizers are unlikely to overfit on the validation set.
Limitations and Future Work
- Search Space Constraints: The models in NAS-Bench-101 do not reach current state-of-the-art performance. This is attributed to the constrained search space (limited depth, width, and operations) and the absence of advanced training techniques like data augmentation tricks or decoupled weight decay.
- Generalization: While the paper demonstrates generalization by using a subset (NAS-Bench-Mini), the authors acknowledge that more extensive studies on larger search spaces would be beneficial.
- Encoding: The paper explored an alternative continuous encoding for the search space, which showed different algorithm rankings, suggesting that the choice of encoding can significantly impact NAS performance.
- RL Performance: The reinforcement learning (RL) approach with an LSTM controller struggled to perform well, suggesting that further tuning or alternative RL strategies might be needed for this benchmark.
- Future Benchmarks: The authors hope NAS-Bench-101 will be the first of many rigorous, reproducible benchmarks for the emerging NAS field.
Summary updated