AZ-NAS: Assembling Zero-Cost Proxies for Network Architecture Search

Junghyup Lee, Bumsub Ham

Abstract

Network Architecture Search (NAS) has revolutionized neural network design but remains computationally intensive. Training-free NAS methods using "zero-cost proxies" offer a solution by evaluating models at initialization. However, existing single-proxy methods often suffer from weak correlation with final performance. We present AZ-NAS, a framework that assembles four complementary, non-redundant proxies—Expressivity, Progressivity, Trainability, and Complexity—into a holistic evaluation metric. By employing a non-linear ranking aggregation, AZ-NAS achieves state-of-the-art correlation and search efficiency across diverse search spaces, including CNNs and Vision Transformers.

Introduction

The search for optimal neural network architectures typically requires training thousands of candidates, a process that is both time-consuming and environmentally costly. Zero-cost proxies attempt to bypass this by calculating metrics at initialization, such as gradient flow or activation patterns. Despite their promise, individual proxies often capture only a narrow slice of a model's potential, leading to inconsistent rankings.

AZ-NAS addresses this "weak correlation" problem by arguing that a single characteristic is insufficient for predicting success. Instead, it proposes an assembly of four distinct perspectives. As shown in Figure 1, AZ-NAS significantly improves the correlation between proxy scores and actual test accuracy compared to existing methods like ZenNAS or ZiCo, while maintaining high efficiency.

Comparison of AZ-NAS with other zero-cost proxies on NAS-Bench-201. AZ-NAS achieves superior correlation and accuracy.

Methodology: The Four Pillars of AZ-NAS

The core of AZ-NAS is the simultaneous computation of four non-redundant proxies during a single forward and backward pass:

  1. Expressivity ($s^{\mathcal{E}}$): This proxy measures "isotropy" using Principal Component Analysis (PCA) on network features. It ensures that features are well-distributed across the available representation space, preventing dimensional collapse.
  2. Progressivity ($s^{\mathcal{P}}$): To avoid "dead" layers, this metric ensures that the network's expressivity increases as data flows deeper into the architecture.
  3. Trainability ($s^{\mathcal{T}}$): Using a Rademacher random vector approximation of the Jacobian matrix, this proxy favors models with stable gradient propagation (spectral norm near 1), mitigating vanishing or exploding gradients.
  4. Complexity ($s^{\mathcal{C}}$): This proxy utilizes FLOPs to ensure the search identifies models that maximize the available hardware budget.

Non-linear Ranking Aggregation

To combine these scores, AZ-NAS employs a log-sum ranking aggregation. This "soft-AND" approach ensures that a high-performing architecture must rank well across all four proxies. A failure in any single dimension (e.g., high expressivity but poor trainability) results in a significant penalty, favoring well-rounded "generalist" models over "specialists."

Experimental Results

The authors evaluated AZ-NAS on several benchmarks, including NAS-Bench-201, MobileNetV2, and AutoFormer search spaces.

Benchmark Performance

On the NAS-Bench-201 benchmark, AZ-NAS demonstrated exceptional predictive power. As detailed in the table below, it achieved a Kendall’s $\tau$ of 0.710 on ImageNet16-120, a substantial improvement over the previous state-of-the-art ZiCo (0.584).

Detailed performance comparison of AZ-NAS against various zero-cost proxies and baselines on NAS-Bench-201.

Large-Scale Search and Transformers

In the MobileNetV2 search space, AZ-NAS discovered a model achieving 78.6% top-1 accuracy on ImageNet with 450M FLOPs, outperforming expensive training-based methods. Furthermore, it generalized effectively to Vision Transformers (ViTs). In the AutoFormer space, AZ-NAS found architectures that surpassed the original AutoFormer models while reducing search costs from 24 GPU days to just 0.04 GPU days.

Conclusion

AZ-NAS demonstrates that assembling diverse, non-redundant zero-cost proxies is a powerful strategy for training-free NAS. By moving beyond single-metric evaluations and utilizing a robust ranking aggregation, AZ-NAS provides a highly efficient and accurate framework for automated architecture design. Future work will focus on refining proxies specifically for the unique dynamics of Transformer-based architectures.

Summary updated

BibTeX
@inproceedings{lee2024az,
  author = {Junghyup Lee and Bumsub Ham},
  title = {{AZ-NAS: Assembling Zero-Cost Proxies for Network Architecture Search}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure