TL;DR
The paper introduces CRoZe (Consistency-based Robust Zero-cost proxy), a lightweight framework that evaluates a neural network's robustness at its initialization state without any training. By measuring the consistency of features, parameters, and gradients between clean and perturbed inputs in a single gradient step, CRoZe discovers architectures that generalize well to diverse real-world corruptions at a fraction of the computational cost of traditional robust NAS.
What Problem Does This Paper Address?
Neural Architecture Search (NAS) has revolutionized deep learning by automating the design of high-performing networks. However, standard NAS frameworks optimize almost exclusively for accuracy on "clean" datasets. As a result, the discovered architectures are often highly fragile, failing catastrophically when faced with adversarial attacks or common real-world corruptions (like blur, rain, or digital noise).
To bridge this gap, previous "Robust NAS" methods integrated adversarial training directly into the search loop. While effective, this approach is computationally devastating—often requiring days of multi-GPU training just to find a single architecture. Furthermore, these methods tend to overfit to the specific adversarial attack used during the search, failing to generalize to other types of perturbations. Meanwhile, existing "zero-cost" proxies (which evaluate networks at initialization to save time) actually penalize robustness because their selection criteria favor highly distinct, non-redundant activations for different inputs.
Methods
The authors propose CRoZe, a zero-cost proxy designed to find architectures with generalized robustness without requiring iterative training.
Instead of training a supernet, CRoZe instantiates two surrogate networks at initialization: a clean network ($\theta$) and a robust network ($\theta^r$). The robust network's parameters are estimated using a single-step "double-perturbation" scheme that combines layer-wise parameter perturbations and worst-case input perturbations via the Fast Gradient Sign Method (FGSM).
CRoZe then computes a robustness score based on three core consistency pillars across $M$ layers:
- Feature Consistency ($Z_m$): Measures the cosine similarity between the layer outputs of clean and perturbed inputs. High similarity indicates that the network extracts stable, semantic features regardless of noise.
- Parameter Consistency ($P_m$): Evaluates the similarity of the clean and robust parameters after a single-step gradient update, ensuring both tasks converge toward a similar parameter space.
- Gradient Consistency ($GM_m$): Measures the alignment of gradient directions between clean and robust objectives, indicating how easily the architecture can be optimized for both clean accuracy and robustness simultaneously.
The final CRoZe score is the product of these three metrics summed across all layers:
$$\text{CRoZe}(x, x'; f_\theta, f_{\theta^r}) = \sum_{m=1}^{M} Z_m \times P_m \times G_m$$
Networks with higher CRoZe scores are predicted to be inherently more robust after full training.
Datasets
The method was rigorously evaluated across multiple search spaces (NAS-Bench-201 and DARTS) using the following datasets:
- CIFAR-10 & CIFAR-100
- ImageNet16-120
- CIFAR-10-C (consisting of 15 distinct common real-world corruptions like weather, blur, and noise)
Key Insights and Ideas
- Robustness is Predictable at Initialization: The paper demonstrates an incredibly high correlation (Spearman’s $\rho$ up to 0.970) between a network's CRoZe score at a completely random, un-trained initialization state and its final robustness after full training.
- The Clean Proxy Contradiction: Popular clean zero-cost proxies like NASWOT look for low activation correlations to ensure distinctiveness. CRoZe flips this logic, recognizing that robustness fundamentally requires similar internal activations for both clean and corrupted versions of the same image.
- Holistic Consistency Prevents Overfitting: By optimizing for feature, parameter, and gradient consistency simultaneously, CRoZe avoids the pitfall of overfitting to a single adversarial attack type, resulting in architectures that naturally resist unseen common corruptions.
Key Results
- Massive Speedups: In the DARTS search space on CIFAR-10, CRoZe discovered architectures that outperformed robust NAS baselines (like AdvRush) by 5.57% in robust accuracy, while reducing the search cost by 14.7×.
- Superior Efficiency: Compared to RobNet, which requires nearly 4 GPU days to train a supernet, CRoZe completes its search in roughly 17,000 GPU seconds on a single NVIDIA 3090 RTX GPU.
- State-of-the-Art Generalization: Standard-trained networks found by CRoZe achieved the highest Harmonic Robustness Score (HRS) across diverse adversarial attacks (PGD, CW, AutoAttack) and common corruptions, outperforming both clean and robust one-shot NAS methods.
Limitations and Future Work
While CRoZe demonstrates remarkable empirical generalization, the authors note that it relies on a single-step gradient approximation (FGSM) to simulate input perturbations during the proxy phase. While this works well across the tested benchmarks, extremely non-linear or highly complex search spaces might introduce a gap between single-step initialization behavior and fully trained dynamics. Future work could explore adapting CRoZe to even broader multi-task or multimodal robust architectures.
Summary updated