Searching for neural network architectures that resist adversarial attacks is expensive. Adversarial attacks are tiny, deliberately chosen input changes that flip a model's prediction. Standard adversarial training, which trains on such attacked inputs, multiplies training cost several times over. Robust architecture search runs that training for every candidate, nests an iterative attack inside it, and repeats this across thousands of candidates. The cheap shortcuts that exist score untrained networks at random initialization, and their rankings are only moderately reliable. This proposal tests a middle-cost signal. Take a candidate trained the ordinary way, freeze it, and adversarially train only a tiny set of parameters for a few hundred steps. The robustness that this small add-on recovers, measured with an exact but accelerated attack, is the candidate's score. Our bet is that this "defensibility" ranks architectures by their true adversarially trained robustness much better than scores computed at initialization. It should do so at a cost far below full adversarial training. The same procedure also yields a deployable model whose clean accuracy is largely protected, because the backbone is never changed.
The idea joins two lines of work that have not met. The first shows that robustness can be restored cheaply on a frozen model: Robustness Tokens trains 10 prepended tokens for 200 steps on a frozen vision transformer. The second treats robustness as a property of the architecture itself: When NAS Meets Robustness and NAS-RobBench-201. The question is whether "how much robustness a frozen architecture lets a small add-on recover" is a faithful and affordable stand-in for "how robust this architecture becomes under full adversarial training."
Core Claim
Define the defensibility of an architecture $a$ as
$$D(a) = \mathrm{RobAcc}\big(f_{\theta_a, \phi^*}\big), \quad \phi^* = \arg\min_{\phi} \; \mathcal{L}_{\text{adv}}(\theta_a, \phi) + \lambda\, \mathcal{L}_{\text{inv}}(\theta_a, \phi).$$
Here $\theta_a$ are the clean-trained, frozen weights of architecture $a$ and $\phi$ is a small adapter. $\mathcal{L}_{\text{adv}}$ is the cross-entropy on attacked inputs. $\mathcal{L}_{\text{inv}}$ keeps clean outputs equal to those of the unadapted model, mirroring the two-part loss of Robustness Tokens. $\lambda$ weights the two terms. $\mathrm{RobAcc}$ is accuracy under a multi-step attack in which the attacker also knows $\phi$. The optimization runs for a fixed budget of a few hundred steps.
The claim is twofold. First, $D(a)$ correlates with post-adversarial-training robust accuracy substantially better than initialization-time proxies. Second, it beats a full low-fidelity adversarial training run of the same wall-clock cost.
The reason to expect this is that $D(a)$ probes a trained network's actual feature geometry. Initialization proxies such as the neural tangent kernel scores of Zero-cost Proxy and NAS-RobBench-201 rest on "lazy training" assumptions, in which features barely move during training. Such proxies are blind to whatever adversarial training does to learned features. The reason to doubt it is equally clear: freezing the backbone may hide exactly the feature learning that full adversarial training exploits. The experiments are designed so that either outcome is informative.
Research Program
The adapter must work for both convolutional cells and transformers. For the convolutional search space of NAS-Bench-201, the adapter is every normalization layer's scale and shift, a small residual 1×1 convolution after each cell, and the classifier head. This is well under 5% of parameters. For vision transformers it is the token adapter of Robustness Tokens.
Inside the adapter loop, attacks use fixed-step projected gradient descent (PGD), an iterative attack that repeatedly steps along the loss gradient and projects back into the allowed perturbation ball. Evaluation of $D(a)$ uses the cycle-detecting variant from Stop Walking in Circles!. That paper shows deterministic PGD gets trapped in 2- or 4-step loops on the boundary of the allowed perturbation region. Stopping when a loop or a successful attack is detected gives identical robust accuracy with up to 96% fewer iterations on CIFAR-10. This is what makes a many-step evaluation of every candidate affordable. It also gives a graded by-product, the number of iterations needed to break each image, which we test as a secondary signal.
The program has three stages. First, a correlation study on NAS-RobBench-201. That benchmark already contains PGD-7 adversarially trained results for all 6,466 distinct architectures on CIFAR-10, CIFAR-100 and ImageNet-16-120, at a reported cost of about 107,000 GPU hours, or roughly 16.5 GPU hours per architecture across the three datasets. This ground truth is the main reason the question is testable now. We clean-train a stratified sample of about 600 architectures with the NAS-Bench-201 protocol, compute $D(a)$, and measure rank agreement.
Second, an amortized search. We train one clean weight-sharing supernet, a single overparameterized network whose subnetworks share weights so that candidates need not be trained separately. Candidates inherit its weights and are scored by $D(a)$. This mirrors RobNet's one-shot pipeline but replaces its adversarially trained supernet with a clean one, removing the multi-step attack from the most expensive phase.
Third, a deployment comparison. Each searched architecture is shipped in two forms: fully adversarially trained, and clean-trained plus adapter. Both forms are evaluated on clean accuracy, robust accuracy, and the Harmonic Robustness Score of On Adversarial Robustness: A Neural Architecture Search perspective, the harmonic mean of clean and adversarial accuracy.
Positioning Against Prior Work
The closest work is RobNet (When NAS Meets Robustness). It adversarially trains a whole supernet with PGD-7, then briefly fine-tunes 1,000 inherited subnetworks to rank them. Our proposal never adversarially trains the backbone or supernet; only the small adapter sees attacks. That changes both the cost structure and what is being measured.
Training-free proxies are a second group. Zero-cost Proxy, CRoZe, and the "twice-perturbed" neural tangent kernel score of NAS-RobBench-201 score untrained networks. Our signal costs more than theirs. We do not use their techniques; they motivate the work. The first reports only 0.33 Kendall correlation on Tiny-RobustBench and a documented bias against skip connections. CRoZe relies on a single-step attack surrogate.
Multi-fidelity methods are a third group. Bi-fidelity Evolutionary Search and multi-fidelity robust search cut cost by shortening full adversarial training. We change what is trained, not for how long, and we test that difference directly.
Robustness Tokens supplies the adapter method and the clean-preservation loss. We differ in two ways. We use adapted robustness as a property for comparing architectures, not as a defense for one fixed backbone. We also evaluate against attackers who know the adapter, closing the token-secrecy gap that paper leaves open.
Finally, TRADES and Pixel Reweighted Adversarial Training document that full adversarial training costs clean accuracy. They motivate the deployment arm: a frozen backbone may sidestep that loss, though possibly at the price of lower robustness.
Baselines
The naive reference points are random ranking and ranking by clean accuracy of the clean-trained model. Clean accuracy is free once clean training is done, and in a cell-based space it may already track robust accuracy closely. Any proposed signal must beat it, and we also report the partial correlation of $D(a)$ with robust accuracy after controlling for clean accuracy. If $D(a)$ adds nothing beyond clean accuracy, the idea fails.
The strongest existing low-cost methods are the three initialization proxies: $R$ from Zero-cost Proxy, CRoZe, and the twice-perturbed kernel score of NAS-RobBench-201. All three are run by us on the identical architecture sample and datasets, with their published hyperparameters and a small equal tuning budget for batch size and seeds. The reported numbers are 0.33 Kendall's tau for $R$ on Tiny-RobustBench and about 0.97 Spearman for CRoZe across its multi-dataset evaluation. We found no reported result on Lacuna for any proxy's correlation over the full NAS-RobBench-201 table, so we measure it. Beating these baselines means a higher Kendall's tau against NAS-RobBench-201 PGD robust accuracy on all three datasets, and lower regret among the top 10 architectures.
The strongest competitor at matched cost is low-fidelity full adversarial training. Every weight is trained with PGD for as many epochs as fit into the total wall-clock time our method spends on clean training plus adapter training. This is the bi-fidelity idea at its most favorable setting. It gets the same attack implementation, including cycle detection, so the accelerated attack advantages neither side. Beating it means strictly higher rank correlation at every matched budget on a cost-versus-correlation curve.
For the end-to-end search, the reference is RobNet's adversarial supernet. Its reported CIFAR-10 PGD-100 white-box accuracy is 52.57% for RobNet-free, against 46.90% for WideResNet-28-10 and 45.35% for ResNet-50. The searched model from Zero-cost Proxy reports 49.97% AutoAttack accuracy on CIFAR-10. Our searched architecture, after full adversarial training, must match these within one point. The search must also cost substantially fewer GPU hours, counting supernet training.
Two ablations isolate the key ingredient. The first drops adaptation entirely and scores the clean model by the attack effort needed to break it, measured as iterations-to-break under cycle-detecting PGD. If this matches $D(a)$, the adapter is unnecessary. The second removes the invariance term ($\lambda = 0$), to show whether clean preservation matters for ranking or only for deployment.
Why not just…?
Why not just run a short full adversarial training per candidate? This is the most serious threat. Training all weights briefly might capture feature learning that a frozen backbone cannot. Our proposal has an advantage only if adapter training reaches a stable ranking within 200 steps while short full training is still noisy. The matched-compute curve settles this directly. If low-fidelity full training wins at every budget, we report defensibility as a negative result and do not argue around it.
Why not just use a zero-cost proxy like CRoZe, which already reports Spearman around 0.97? That figure comes from CRoZe's own evaluation set. The proxy uses a single-step attack surrogate. The related proxy $R$ reaches only 0.33 Kendall on Tiny-RobustBench and has a known skip-connection bias. Initialization proxies cost seconds, so if they hold up across all of NAS-RobBench-201 they should be preferred. Running them on the identical sample is the fair test. We additionally check whether they agree with $D(a)$ on architectures with many skip connections.
Why not just rank by clean accuracy? In a small cell space, robust and clean accuracy may move together, making any robustness-specific signal redundant. The partial-correlation analysis in the Baselines section is the test. A positive result requires $D(a)$ to explain variance in robust accuracy that clean accuracy does not.
Why not just adversarially train a strong hand-crafted backbone? The RobNet numbers above show a searched 5.49M-parameter cell outperforming a 23.52M-parameter ResNet-50 under PGD-100. Architecture therefore matters enough to justify search, provided search becomes cheaper, which is what this proposal targets.
Decisive Checks
The first check concerns rank fidelity, using all 6,466 benchmark entries as ground truth. On the 600-architecture sample, $D(a)$ must achieve higher Kendall's tau with NAS-RobBench-201 robust accuracy than every initialization proxy and than matched-compute short adversarial training, on CIFAR-10, CIFAR-100 and ImageNet-16-120. It must also keep a positive partial correlation after controlling for clean accuracy.
The second check concerns attack strength. Ranks must be stable when the evaluation attack is switched from cycle-detecting PGD to AutoAttack via RobustBench on a 100-architecture subset. Instability would mean the signal overfits to one fast evaluator.
The third check concerns deployment. The clean-trained-plus-adapter model is evaluated with the adapter visible to the attacker. If it keeps clean accuracy within one point of the clean model while its Harmonic Robustness Score approaches that of full adversarial training, the frozen-backbone route has addressed clean degradation. If its robustness collapses once the adapter is known, defensibility survives only as a search signal, not as a defense.
A final transfer check repeats the ranking test on frozen vision transformer backbones on ImageNet-1k using token adapters, comparing against the 63.1% white-box accuracy that Robustness Tokens reports for DINOv2-G. This checks whether the signal extends beyond convolutional cells.
References
- Robustness Tokens: Towards Adversarial Robustness of Transformers
- When NAS Meets Robustness: In Search of Robust Architectures Against Adversarial Attacks
- Robust NAS under adversarial training: benchmark, theory, and beyond
- Zero-cost Proxy for Adversarial Robustness Evaluation
- Stop Walking in Circles! Bailing Out Early in Projected Gradient Descent
- NAS-Bench-201: Extending the Scope of Reproducible Neural Architecture Search
- On Adversarial Robustness: A Neural Architecture Search perspective
- Generalizable Lightweight Proxy for Robust NAS against Diverse Perturbations
- Bi-fidelity evolutionary multiobjective search for adversarially robust deep neural architectures
- Efficient search of comprehensively robust neural architectures via multi-fidelity evaluation
- Theoretically Principled Trade-off between Robustness and Accuracy
- Improving Accuracy-robustness Trade-off via Pixel Reweighted Adversarial Training
- RobustBench: a standardized adversarial robustness benchmark