TL;DR
Neural Architecture Search (NAS) is computationally expensive due to the need to evaluate thousands of candidate neural network architectures. This survey provides a comprehensive overview and novel categorization of Efficient Evaluation Methods (EEMs) that aim to accelerate this process. By understanding these methods, researchers can select appropriate EEMs for their tasks and drive further innovation in efficient NAS.
What Problem Does This Paper Address?
Neural Architecture Search (NAS) automates the design of Deep Neural Networks (DNNs), leading to architectures that can outperform human-designed ones. However, a critical bottleneck in NAS is the performance evaluation of each candidate architecture, which typically involves training them from scratch. This process is extremely time-consuming and computationally expensive, often requiring significant GPU resources that are unaffordable for many researchers. This paper addresses this challenge by surveying and categorizing the various Efficient Evaluation Methods (EEMs) developed to accelerate the performance evaluation process in NAS.
Methods
The paper categorizes EEMs into four main groups based on the number of DNNs trained for constructing the evaluation method:
- N-shot evaluation methods: These methods still train every searched architecture but aim to accelerate the training process itself. Subcategories include:
- Downscaled dataset methods: Train on smaller or modified datasets.
- Downscaled model methods: Reduce the size of the model being trained.
- Network morphism: Leverage knowledge from previously trained networks to speed up the training of new ones.
- Learning curve extrapolation: Predict the final performance of an architecture based on its performance in the early stages of training.
- Few-shot evaluation methods: These methods train a small subset of architectures to build an evaluation method, which is then used to predict the performance of the remaining architectures. This category includes:
- Performance predictors: Regression models trained on architecture-performance pairs.
- Population memory: A cache system to store and reuse performance data of previously evaluated architectures.
- One-shot evaluation methods: These methods train only a single "supernet" that encompasses all candidate architectures. The weights of candidate architectures are then extracted from this supernet. This category includes:
- Path-based methods: Extract weights for specific paths (subnets) within the supernet.
- Gradient-based methods: Jointly optimize the supernet weights and architecture parameters using gradient descent.
- Zero-shot evaluation methods: These methods do not require any training of candidate architectures. Instead, they use scoring functions to estimate performance. This category includes:
- Parameter-level methods: Score architectures based on the saliency of their parameters.
- Architecture-level methods: Score architectures based on their inherent properties.
The paper also discusses evaluation metrics (correlation-based, ranking-based, top-based) and benchmark datasets used to assess EEMs.
Datasets
The paper discusses the use of several benchmark datasets for evaluating EEMs, primarily those designed for Neural Architecture Search:
- NAS-Bench-101: For image classification, uses a cell-based search space with limited operations and nodes.
- NAS-Bench-201: For image classification, also uses a cell-based search space with more operations and vertices than NAS-Bench-101.
- NAS-Bench-301: For image classification, provides a larger search space and a performance predictor.
- NAS-Bench-NLP: For natural language processing tasks.
- NAS-Bench-ASR: For automatic speech recognition tasks.
The paper notes that these benchmark datasets are often small-scale and may not fully reflect the performance of EEMs in real-world scenarios with more complex search spaces.
Key Insights and Ideas
- Novel Categorization: The paper introduces a novel categorization of EEMs based on the number of trained architectures (N-shot, few-shot, one-shot, zero-shot), which provides a more intuitive understanding of their efficiency and complexity compared to previous methods.
- Trade-off Between Efficiency and Accuracy: A recurring theme is the inherent trade-off between evaluation speed and prediction accuracy. Zero-shot methods are the fastest but often the least accurate, while N-shot methods are closer to traditional evaluation but still faster.
- Challenges in Real-World Application: The paper highlights that current EEMs are often evaluated on small, simplified benchmark datasets. Their effectiveness in complex, real-world search spaces and across different domains remains a significant challenge.
- The "Multi-Model Forgetting" Problem: For one-shot methods, the paper discusses the "multi-model forgetting" problem, where training subsequent subnets can degrade the performance of previously trained ones, impacting ranking accuracy.
- The "Performance Collapse" Problem: Gradient-based methods, particularly DARTS, can suffer from "performance collapse," where the search process favors operations that lead to rapid gradient descent but may not result in optimal architectures.
Key Results
The paper does not present new experimental results but rather synthesizes existing research. Table III in the paper summarizes the Kendall's Tau (KTau) values for various EEMs on NAS-Bench-101, NAS-Bench-201, and NAS-Bench-301.
- Few-shot methods (specifically HOP) achieved the best performance on NB101 and NB201, with KTau values of 0.813 and 0.891, respectively.
- Zero-shot methods generally performed the worst, with parameter-level methods even exhibiting negative KTau values on some benchmarks, indicating unreliable ranking.
- Learning curve extrapolation methods showed inferior results compared to downscaled dataset methods, suggesting that early stopping might not accurately reflect final performance.
- The paper emphasizes that performance predictors offer a good balance between evaluation speed and accuracy, requiring additional initialization time but providing strong results.
Limitations and Future Work
- Effectiveness Validation: The paper points out that current benchmark datasets are too small and simplistic to accurately reflect the performance of EEMs in real-world scenarios. There is a need for larger, more complex architecture datasets.
- Cross-Domain Prediction: EEMs often struggle to generalize across different search spaces. Developing EEMs with cross-domain prediction capabilities is crucial to avoid redesigning them for each new search space.
- Multi-Task Prediction: EEMs currently focus on predicting a single performance metric. The paper suggests that predicting multiple performance values for the same architecture across different tasks is a promising future direction.
- Uniform Representation: The lack of a unified representation for diverse neural network architectures hinders the ability to learn from various architectures and improve EEM transferability. Research into uniform representation methods is needed.
- Hybrid EEMs: The paper suggests that combining different EEMs (e.g., performance predictors with early stopping) can further enhance efficiency and accuracy.
Summary updated