ProxyBO: Accelerating Neural Architecture Search via Bayesian Optimization with Zero-Cost Proxies

Yu Shen, Yang Li, Jian Zheng, Wentao Zhang, Peng Yao, Jixiang Li, Sen Yang, Ji Liu, Bin Cui

Abstract

Neural Architecture Search (NAS) is often computationally prohibitive due to the need for extensive model training. While "zero-cost proxies" offer a fast alternative for performance estimation, their reliability varies significantly across different search spaces and datasets. We present ProxyBO, a framework that dynamically integrates zero-cost proxies into a Bayesian Optimization (BO) loop. By measuring proxy reliability in real-time and employing a rank-based fusion mechanism, ProxyBO achieves up to a 5.41× speedup over state-of-the-art methods while maintaining superior accuracy.

Introduction

The manual design of deep neural networks is an expert-intensive process, leading to the rise of Neural Architecture Search (NAS). However, standard NAS methods typically require training hundreds of candidate models, consuming vast amounts of GPU time. To mitigate this, zero-cost proxies (e.g., snip, synflow, jacob_cov) have been proposed to estimate performance at initialization. Despite their speed, these proxies suffer from unforeseeable reliability—a proxy may correlate well with performance on one dataset but fail on another.

Correlation between zero-cost proxies and test accuracy across different benchmarks. Note how the same proxy can exhibit positive or negative correlation depending on the task.

Furthermore, most existing NAS frameworks use these proxies only for initial "warm-up," failing to leverage them throughout the optimization process. ProxyBO tackles these issues by creating a system that learns which proxies to trust in real-time.

Methodology

ProxyBO addresses these challenges by incorporating zero-cost proxies directly into the Bayesian Optimization loop through three key innovations:

  • Dynamic Reliability Measurement: The framework continuously monitors the "fitness" of each proxy and the BO surrogate model. It calculates the Kendall-tau correlation between the rankings suggested by proxies and the ground-truth performance observed during the search. To prevent overfitting the BO surrogate, a k-fold cross-validation strategy is employed.
  • Rank-based Fusion: Proxies and BO surrogates often operate on vastly different numerical scales (e.g., $10^{14}$ vs. 0.8). ProxyBO avoids instability by combining the rankings of candidate architectures rather than their raw scores.
  • Adaptive Hand-off Mechanism: Early in the search, when few models have been trained, the system relies more heavily on proxies. As more data is collected, a softmax function with a decaying temperature parameter shifts the influence toward the BO surrogate, which becomes increasingly accurate over time.

Experimental Results

The authors evaluated ProxyBO across diverse benchmarks, including NAS-Bench-101, NAS-Bench-201, NAS-Bench-ASR, and NAS-Bench-301. ProxyBO was compared against 15 competitive baselines, including Regularized Evolution (REA) and proxy-based methods like BRP-NAS.

Performance and Speedup

ProxyBO consistently outperformed all baselines. On the NAS-Bench-201 CIFAR-100 task, ProxyBO reduced test regret by 70% compared to the strongest baseline. As shown in the results below, ProxyBO achieved speedups ranging from 3.92× to 5.41× over REA and 2.29× to 3.86× over BRP-NAS to reach equivalent performance levels.

Comparison of ProxyBO (red) against state-of-the-art NAS methods on CIFAR-10. ProxyBO achieves lower test error significantly faster in terms of GPU hours.

Discussion and Conclusion

The success of ProxyBO stems from its ability to detect and "mute" poorly correlated proxies in real-time. For instance, while jacob_cov is effective on NAS-Bench-201, it shows a negative correlation on NAS-Bench-101; ProxyBO automatically adjusts for this discrepancy.

While the framework introduces a temperature hyperparameter ($\tau_0$) that may require tuning, its modular design allows for the easy integration of future, more advanced proxies or surrogates. ProxyBO represents a significant step toward making NAS more accessible by drastically reducing the computational overhead of architecture optimization.

Summary updated

BibTeX
@inproceedings{shen2023proxybo,
  author = {Yu Shen and Yang Li and Jian Zheng and Wentao Zhang and Peng Yao and Jixiang Li and Sen Yang and Ji Liu and Bin Cui},
  title = {{ProxyBO: Accelerating Neural Architecture Search via Bayesian Optimization with Zero-Cost Proxies}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i8.26169},
}
Figure