TL;DR
CRoZe (Consistency-based Robust Zero-cost proxy) is a new, ultra-fast method for finding neural architectures that are resilient to both adversarial attacks and common image corruptions. By evaluating a model's internal consistency at initialization—without any training—it discovers robust architectures up to 14.7x faster than existing robust NAS methods while achieving significantly higher accuracy across diverse perturbations.
What Problem Does This Paper Address?
Neural Architecture Search (NAS) has revolutionized how we design deep learning models, but it has a major blind spot: robustness. Most NAS frameworks optimize for accuracy on "clean" data. In the real world—especially in safety-critical fields like autonomous driving—models face "noisy" inputs, ranging from common weather corruptions (fog, snow) to malicious adversarial attacks.
Existing "Robust NAS" methods try to fix this by incorporating adversarial training into the search process. However, this creates two new problems:
- Extreme Computational Cost: Training a "supernet" with adversarial examples can take days of GPU time.
- Overfitting to Specific Attacks: A model optimized to resist one specific attack (like PGD) often remains vulnerable to others or to simple image blur.
The authors sought a "zero-cost" way to identify architectures that are inherently capable of learning generalizable, robust features from the very start.
Methods
The authors introduce CRoZe, a proxy that scores a randomly initialized architecture based on how "consistent" it is when comparing clean vs. perturbed inputs.
The process involves three main steps:
- Surrogate Networks: They create two versions of the same un-trained architecture: a "clean" network and a "robust" network. The robust version is created using a single-step "double perturbation" (perturbing both the weights and the input pixels).
- The Consistency Triple-Threat: Instead of just looking at the final output, CRoZe measures consistency across three levels:
- Features: Do the internal representations of a clean image and a noisy image look similar?
- Parameters: If we took one gradient step for both tasks, would the resulting weights be in the same neighborhood?
- Gradients: Are the directions for optimization aligned, or are the clean and robust tasks "fighting" each other?
- Scoring: These three metrics are multiplied to give a final score. A high score suggests the architecture is naturally predisposed to handle diverse perturbations.
Datasets
The researchers validated CRoZe across several standard NAS benchmarks and datasets:
- Search Spaces: NAS-Bench-201 and the DARTS search space.
- Datasets: CIFAR-10, CIFAR-100, and ImageNet16-120.
- Perturbations: Adversarial attacks (FGSM, PGD, AutoAttack, etc.) and 15 types of common corruptions (Blur, Noise, Weather, Digital) from the CIFAR-10-C/CIFAR-100-C benchmarks.
Key Insights and Ideas
- Robustness is Detectable at Birth: The most striking insight is that an architecture's potential for robustness is encoded in its structure at initialization. You don't need to train a model to know if it can be robust.
- Alignment is Key: Architectures that show high gradient alignment between clean and perturbed tasks are easier to optimize for general robustness. If the gradients point in wildly different directions, the model will likely overfit to one type of input.
- Multi-faceted Consistency Prevents Overfitting: By looking at features, parameters, and gradients simultaneously, CRoZe avoids the trap of "robustness overfitting," where a model becomes immune to one specific noise type but remains fragile to others.
Key Results
CRoZe dramatically shifts the Pareto frontier of NAS, offering high robustness at a fraction of the computational cost.
- Speed: On the DARTS search space, CRoZe found robust architectures 14.7 times faster than AdvRush (a leading robust NAS baseline), reducing search time from days to hours.
- Performance: In the DARTS space on CIFAR-10, CRoZe-found architectures outperformed previous robust NAS methods by 5.57% in robust accuracy.
- Generalization: While previous methods often failed when tested on "unseen" perturbations (e.g., a model trained for PGD failing on Gaussian noise), CRoZe-found models maintained high performance across the board.
- Predictive Power: The proxy showed a high Spearman’s correlation ($\rho \approx 0.97$) with the performance of fully trained models, proving it is a reliable "shortcut" for the search process.
Limitations and Future Work
- Single-Step Dependency: CRoZe relies on a single-step update (FGSM-style) to estimate the robust surrogate. While effective, it’s possible that more complex, non-linear robustness traits might require a slightly deeper look.
- Search Space Constraints: Like most NAS research, the findings are tied to the specific search spaces (DARTS, NAS-Bench-201). How well this generalizes to radically different architectures (like Transformers or MLP-Mixers) remains an open question.
- Future Direction: The authors suggest that this consistency-based approach could be extended beyond image classification to other domains like object detection or even non-visual tasks where robustness is critical.
Summary updated