Introduction
Neural Architecture Search (NAS) has revolutionized the design of high-performing neural networks by automating the discovery of optimal architectures. However, the computational cost of NAS is often prohibitive, requiring the training of thousands of candidate models. To mitigate this, researchers have turned to Zero-Cost Proxies (ZCPs)—metrics that estimate a model's final performance using only a single forward and backward pass on untrained weights.
While ZCPs have shown promise in predicting clean accuracy, their ability to predict model robustness—resistance to adversarial attacks—remains largely unexplored. Evaluating robustness is even more computationally intensive than standard training, making the search for "free" robustness indicators a critical challenge. This paper evaluates whether ZCPs can effectively predict an architecture's inherent robustness.
Methodology: A Multi-Proxy Approach
The authors conducted an extensive evaluation using the NAS-Bench-201 search space, encompassing 6,466 unique architectures. They analyzed 15 distinct ZCPs, including Jacobian-based metrics (e.g., jacov, nwot), pruning-based metrics (e.g., snip, synflow), and architectural baselines like parameter count and FLOPs. Additionally, they incorporated 191 Neural Graph Features (GRAF) based on network topology.
Instead of relying on individual proxies, the study employs a Random Forest regression framework. By treating ZCPs and graph features as inputs, the model learns to predict both clean and robust accuracy (accuracy under various adversarial attacks).
Datasets and Benchmarks
The research leverages several foundational benchmarks:
- NAS-Bench-201: The core architecture search space.
- Robustness Dataset (Jung et al., 2023): Provides evaluations against white-box (FGSM, PGD, APGD) and black-box (Square) attacks across CIFAR-10, CIFAR-100, and ImageNet16-120.
- NAS-RobBench-201 (Wu et al., 2024): Includes architectures that underwent adversarial training, offering a different perspective on robustness.
Key Insights: The Complexity of Robustness
The study reveals that predicting robustness is a significantly more challenging task than predicting clean accuracy. While a single proxy like jacov can often provide a strong signal for clean performance, robustness is a holistic property that requires aggregating information from multiple proxies.
Key findings include:
- Jacobian Dominance: Jacobian-based proxies, which measure a network's sensitivity to input changes, are the most influential predictors of robustness. This aligns with the nature of adversarial attacks, which exploit these very sensitivities.
- Topology Matters: The inclusion of
GRAFfeatures significantly improves robustness prediction, suggesting that the "wiring" of a network is a fundamental determinant of its resilience. - Perturbed Data is Unnecessary: Calculating ZCPs on "attacked" (perturbed) data does not yield better predictions than using clean data. The inherent properties of the untrained network are sufficient.
Results and Performance
The Random Forest model achieved impressive predictive accuracy, reaching an $R^2$ score of up to 0.95 for clean accuracy and between 0.70 and 0.80 for multi-objective tasks (predicting both clean and robust performance) on CIFAR-10.
A notable shift in "feature importance" was observed: for clean accuracy, the model relies on a few top-performing proxies. For robustness, importance is distributed across a wider array of features, confirming that robustness is a more complex architectural trait. This approach enables a "joint search" for accuracy and robustness that is orders of magnitude faster than traditional methods.
Limitations and Future Directions
While promising, the study is currently limited to $L_\infty$ adversarial perturbations within the NAS-Bench-201 cell-based search space. Future research should explore whether these ZCP-based predictions generalize to larger, more diverse search spaces and other types of distribution shifts, such as common image corruptions (blur, noise) or natural domain shifts.
Summary updated