Introduction
Neural Architecture Search (NAS) has significantly advanced the automation of high-performing network design. However, most existing NAS frameworks optimize primarily for "clean" accuracy—performance on pristine, unperturbed datasets. This focus often results in architectures that are brittle and vulnerable to adversarial attacks or common environmental corruptions like fog, blur, or digital noise.
While "Robust NAS" frameworks have emerged to address these vulnerabilities, they typically rely on integrating adversarial training into the search process. This approach is computationally expensive—sometimes requiring over 30 times the GPU resources of standard NAS—and often leads to models that overfit to specific attack types (e.g., PGD) while failing to generalize to others. To bridge this gap, we introduce CRoZe (Consistency-based Robust Zero-cost proxy), a lightweight method designed to identify robust architectures at initialization without the need for iterative training.
The CRoZe Framework
CRoZe operates as a "zero-cost" proxy, meaning it can predict an architecture's eventual robustness using only a single batch of data and a few forward/backward passes at the very start of the training process. The core philosophy behind CRoZe is that a robust architecture is one where the "learning signal" remains stable even when noise is introduced.
To evaluate this stability, CRoZe compares a randomly initialized architecture to a Surrogate Robust Network. This surrogate is created by applying a "double perturbation"—simultaneously perturbing the network's parameters (weights) and the input images to maximize loss. By analyzing how the network reacts to these perturbations at initialization, CRoZe can rank architectures based on their inherent capacity for robustness.
The Triple-Consistency Metric
Unlike previous methods that might only look at output stability, CRoZe employs a multi-faceted metric that measures consistency across three critical dimensions:
- Feature Consistency ($Z_m$): Evaluates whether internal representations (feature maps) remain similar when the input is noisy.
- Parameter Consistency ($P_m$): Determines if a single gradient step taken to "fix" the clean input would result in weights similar to those needed to fix the noisy input.
- Gradient Consistency ($G_m$): Checks if the optimization directions for both clean and perturbed tasks are aligned.
By combining these three aspects, CRoZe provides a more reliable signal than proxies that rely solely on feature maps. This holistic view ensures that the selected architectures are not just stable in their outputs, but are fundamentally more "trainable" for robust tasks.
Experimental Evaluation
We validated CRoZe across multiple benchmarks, including NAS-Bench-201 (CIFAR-10, CIFAR-100, ImageNet16-120) and the complex DARTS search space. Robustness was tested against a battery of adversarial attacks (FGSM, PGD, AutoAttack) and the CIFAR-10-C dataset, which contains 15 types of common environmental corruptions.
Key Results
- Efficiency: In the DARTS search space, CRoZe discovered optimal architectures in approximately 17,000 GPU seconds. Compared to robust NAS baselines like AdvRush and RobNet, which require upwards of 250,000 seconds, CRoZe achieved a 14.7x speedup.
- Robust Performance: Architectures found by CRoZe outperformed competitors by 5.57% in robust accuracy (HRS) on CIFAR-10.
- Predictive Power: We measured the Spearman’s rank correlation ($\rho$) between the proxy scores and final trained accuracy. CRoZe consistently demonstrated higher correlation than popular zero-shot proxies such as SynFlow, GradNorm, and NASWOT, particularly in the context of robustness.
- Generalization: Because CRoZe does not optimize for a specific attack during the search, the resulting architectures exhibit "generalized robustness," performing well against diverse perturbations they never encountered during the proxy calculation.
Conclusion
CRoZe demonstrates that robustness can be effectively estimated at initialization by measuring the consistency of features, parameters, and gradients. This approach significantly reduces the computational barrier to finding robust neural architectures while improving generalization across diverse corruption types.
While highly efficient, CRoZe currently relies on a single-step gradient update to estimate robustness, which may be a limitation for extremely deep or complex architectures where second-order effects are more prominent. Future work will explore extending this consistency-based approach to other domains, such as Natural Language Processing (NLP) and Graph Neural Networks, where architectural robustness is equally vital.
Summary updated