Evaluating The Search Phase of Neural Architecture Search

Kaicheng Yu, Christian Sciuto, Martin Jaggi, Claudiu Musat, Mathieu Salzmann

Introduction

Neural Architecture Search (NAS) aims to automate the design of deep learning models, moving away from manual, trial-and-error "grad student descent." Typically, a NAS algorithm operates in two steps: a search phase (finding a promising architecture within a defined space) and an evaluation phase (training that specific architecture from scratch to measure its true performance).

This paper takes a critical look at the search phase of NAS, revealing that many state-of-the-art algorithms perform no better than picking architectures at random. The authors argue that the community has been grading NAS incorrectly. Most papers only report the final accuracy of the best-found model. However, this doesn't prove the search algorithm itself is effective; it might just mean the human-defined search space is so restricted and high-quality that even a random guess yields a decent model. Furthermore, the authors demonstrate that the common practice of "weight sharing"—used to speed up the search phase—drastically degrades the ranking of candidate architectures, often rendering the search process ineffective.

Methodology: Evaluating the Search Phase

To determine if NAS algorithms are truly learning to find better architectures, the researchers proposed a rigorous framework to evaluate the search phase itself.

Comparison of standard NAS evaluation versus the authors' proposed evaluation framework, which introduces a random sampling baseline.

Their approach included the following key components:

  1. Random Baseline Comparison: They compared popular NAS algorithms (DARTS, ENAS, NAO) against a simple random sampling policy within the exact same search space.
  2. Fair and Robust Evaluation: To ensure results weren't due to lucky initialization, they ran multiple trials with different random seeds and used identical hyperparameters for the evaluation phase.
  3. Reduced Search Spaces: To establish a "ground truth," they created smaller search spaces (e.g., an RNN space with only 32 possible architectures) where they could exhaustively train every single model from scratch.
  4. Correlation Analysis: They used the Kendall Tau ($\tau$) metric to measure the correlation between how models ranked when using weight sharing versus how they ranked when trained independently.

The evaluation was conducted across standard datasets, including Penn Tree Bank (PTB) for Recurrent Neural Networks (RNNs), CIFAR-10 for Convolutional Neural Networks (CNNs), and NASBench-101, a large-scale dataset containing pre-computed performances of over 400,000 CNN architectures.

Key Insights and Results

The "Random" Reality Check

On standard benchmarks, state-of-the-art NAS algorithms often failed to statistically outperform random sampling. In many tests, the $p$-values for Student’s t-tests against random sampling were high (e.g., 0.73 for ENAS on PTB), meaning the difference between the NAS algorithm and random guessing was not statistically significant.

Validation perplexity curves showing that random search performs competitively with, or even outperforms, sophisticated NAS algorithms like DARTS, ENAS, and NAO.

This suggests that the human-designed search spaces are doing most of the heavy lifting. NAS algorithms appear successful largely because they search within very narrow, high-quality "cells" designed by experts. When the search space is slightly more open, the flaws in the search strategies become glaringly apparent. Furthermore, by running multiple seeds, the authors showed that the "best" results reported in original NAS papers are often outliers rather than representative of the algorithm's consistent performance. In the reduced RNN space, none of the tested NAS algorithms were able to consistently discover the top-performing architectures.

Weight Sharing Breaks Rankings

Weight sharing is a popular "shortcut" where different architectures share the same underlying parameters during the search phase to save massive amounts of compute time. However, the authors found that this shortcut creates severe "ranking disorder."

In the RNN space, the correlation between the weight-sharing rank and the true rank (when trained from scratch) was nearly zero ($\tau = -0.004$). While the ranking disorder was slightly less severe in CNNs, both domains suffered significantly. When weight sharing was removed from the NAO algorithm on the NASBench dataset, its probability of outperforming random search jumped from 0.62 to 0.92. This confirms that weight sharing is a major bottleneck for search effectiveness.

Limitations and Future Work

The authors acknowledge that weight sharing is currently a necessary evil; training every candidate architecture from scratch is computationally impossible for large, modern search spaces. However, they conclude that current weight-sharing implementations are simply too "noisy" to provide a reliable signal for search.

Future progress in NAS will require:

  • Designing "relaxed" weight-sharing strategies that better preserve the relative ranking of architectures.
  • Developing search spaces that are less reliant on human-designed constraints to truly test the search algorithm's capabilities.
  • Moving toward evaluation metrics that specifically target the efficiency and reliability of the search phase, rather than just reporting the final accuracy of a single "lucky" architecture.

Summary updated

BibTeX
@inproceedings{yu2020evaluating,
  author = {Kaicheng Yu and Christian Sciuto and Martin Jaggi and Claudiu Musat and Mathieu Salzmann},
  title = {{Evaluating The Search Phase of Neural Architecture Search}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
}
Figure