A Surgery of the Neural Architecture Evaluators

Xuefei Ning, Wenshuo Li, Zixuan Zhou, Tianchen Zhao, Yin Zheng, Shuang Liang, Huazhong Yang, Yu Wang

Abstract

Conducting efficient performance estimations of neural architectures is a major challenge in neural architecture search (NAS). To reduce the architecture training costs in NAS, one-shot estimators (OSEs) amortize the architecture training costs by sharing the parameters of one "supernet" between all architectures. Recently, zero-shot estimators (ZSEs) that involve no training are proposed to further reduce the architecture evaluation cost. Despite the high efficiency of these estimators, the quality of such estimations has not been thoroughly studied. In this paper, we conduct an extensive and organized assessment of OSEs and ZSEs on five NAS benchmarks: NAS-Bench-101/201/301, and NDS ResNet/ResNeXt-A. Specifically, we employ a set of NAS-oriented criteria to study the behavior of OSEs and ZSEs and reveal that they have certain biases and variances. After analyzing how and why the OSE estimations are unsatisfying, we explore how to mitigate the correlation gap of OSEs from several perspectives. Through our analysis, we give out suggestions for future application and development of efficient architecture performance estimators.

Introduction

Neural Architecture Search (NAS) aims to automate the design of high-performance deep learning models. However, the "gold standard" for evaluating a design—training it from scratch—is prohibitively expensive, often requiring thousands of GPU hours. To save time, researchers use two main shortcuts: One-Shot Estimators (OSEs), which train a single giant "supernet" sharing weights with sub-architectures, and Zero-Shot Estimators (ZSEs), which use mathematical proxies to score models without training.

The central challenge is the "correlation gap"—the discrepancy between these quick scores and actual performance. If a proxy favors a model that actually performs poorly, the search process fails. This paper provides a rigorous "health check" for these shortcuts, investigating why they fail and how to improve them.

Methodology

The assessment utilizes five diverse NAS benchmarks: topological spaces (NAS-Bench-101, 201, 301) and non-topological spaces (NDS ResNet and ResNeXt-A). The evaluation framework includes:

  • Correlation Metrics: Kendall’s Tau and Spearman’s Rho to measure ranking stability.
  • Precision@K: Measuring the overlap between the proxy's top-K models and the true top-K.
  • Bias Analysis: Categorizing failures into complexity-level (size preference), op-level (operation preference), and arch-level biases.

To improve OSEs, several "surgeries" were tested: temporal ensembling, de-isomorphic sampling (to prevent over-sampling redundant designs), and sharing extent reduction (e.g., removing Affine parameters in Batch Norm).

Analysis of Estimator Performance

One-Shot Estimators and the "Early Bird" Bias

OSEs exhibit a significant "early bird" bias, where they initially favor smaller, simpler models that converge faster. As shown in Figure 3, ranking correlations generally improve as training progresses across all benchmarks. A key finding in complex spaces like NAS-Bench-301 is that validation loss provides a much more reliable ranking signal than validation accuracy.

Evolution of ranking correlations and precision metrics over training epochs across NAS-Bench-101, 201, and 301. Top rows use accuracy; bottom rows use loss for ranking.

Zero-Shot Estimators: The Parameter Baseline

Zero-shot estimators are highly efficient but often lack robustness. Most ZSEs, such as SNIP or Fisher, are "data-blind," performing similarly on random noise as on real data. Crucially, many ZSEs fail to outperform a simple baseline of counting model parameters.

Correlation heatmaps between ground truth (GT), model complexity (FLOPs, Params), and various zero-shot estimators. Many ZSEs show lower correlation with GT than simple parameter counts.

Key Results

  • Ranking Quality: OSEs generally outperform ZSEs but require significant training to overcome initial biases.
  • Best ZSEs: relu_logdet is the most robust proxy for topological spaces, while synflow excels in non-topological spaces.
  • Mitigation Success: De-isomorphic sampling on NAS-Bench-201 significantly improved ranking quality, reducing the [email protected]% metric from 1.9% to 0.23%.
  • Stability: OSEs are notably better at identifying poor architectures than pinpointing the absolute best ones.

Conclusion

This study reveals that while OSEs and ZSEs offer efficiency, they suffer from inherent biases that must be mitigated. Future work should focus on incorporating structural knowledge into ZSEs and further reducing the "sharing extent" in OSEs to improve ranking reliability. The provided analysis framework and open-source code serve as a foundation for developing more reliable architecture performance estimators.

Code available at: https://github.com/walkerning/aw_nas

Summary updated

BibTeX
@inproceedings{ning2021surgery,
  author = {Xuefei Ning and Wenshuo Li and Zixuan Zhou and Tianchen Zhao and Yin Zheng and Shuang Liang and Huazhong Yang and Yu Wang},
  title = {{A Surgery of the Neural Architecture Evaluators}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure