VanillaBench: The Hidden Accuracy Cost of Adversarial Robustness


1 Introduction↩︎

Since the discovery that deep neural networks are vulnerable to adversarial perturbations [1], [2], a large and active research community has developed a wide range of defense strategies. One prominent strain of work is adversarial training [3][7], which hardens models by incorporating adversarial examples directly into the training loop. A complementary strand comprises preprocessing defenses that transform or purify inputs before classification [8], [9], as well as adversarial example detectors that aim to flag suspicious inputs before or alongside the classifier [10][13]. While adversarial training has become the most widely studied and benchmarked family of defenses, the standard evaluation paradigm for a new robust model is largely shared across the literature: it consists of reporting two numbers, the clean accuracy (standard top-1 accuracy on unperturbed test data) and the robust accuracy (accuracy under a standardized adversarial attack such as AutoAttack [14]). These two numbers are then compared, either to each other or to prior robust models, to demonstrate progress.

What is almost always missing from this evaluation is the vanilla baseline. A reader who encounters a paper reporting, say, 93.6% clean accuracy for an adversarially trained WideResNet [15] on CIFAR-10 [16] has no immediate way of knowing what a non-adversarially-trained model of the same architecture achieves, or, more broadly, what the state of the art in standard classification looks like. This omission matters because the entire value proposition of adversarial training research rests on a trade-off: how much standard accuracy does one sacrifice, and how much robustness does one gain? Without referencing the vanilla baseline, the cost side of this trade-off is invisible.

The problem is exacerbated by the fact that robustness papers typically use architectures (e.g., WideResNet-70-16 [17], WideResNet-34-10 [18]) whose vanilla counterparts are not necessarily well-known or easily found. A fair comparison requires either (i) matching the architecture exactly, (ii) matching the temporal context (what was the best vanilla model at the time the robust model was published?), or (iii) comparing against a broad reference distribution of vanilla models.

This information gap has direct business consequences. An organization deciding whether to adopt adversarially training must weigh the robustness benefit against the standard-accuracy cost: lower accuracy means more misclassifications, degraded user experience, potential revenue loss. Yet when a robustness paper reports a clean accuracy of, say, 84% without referencing what a vanilla model achieves on the same task, the decision-maker cannot determine whether the 84% represents a 2-point or a 10-point sacrifice. The difference between these two scenarios leads to qualitatively different business decisions: a 2-point gap may be an acceptable insurance premium against adversarial attacks, while a 10-point gap may render the model unusable for production. By making the gap explicit across the entire robustness literature, VanillaBench provides the missing quantitative basis for such decisions.

We address this gap with VanillaBench: a comprehensive evaluation that takes all 186 adversarially-trained models from RobustBench [19] across four threat models and computes the clean-accuracy gap to multiple vanilla references. Specifically, our contributions are:

  • We assemble vanilla reference statistics (best, median, top-10 median) from Papers with Code [20] for CIFAR-10 [16], CIFAR-100 [16], and ImageNet-1k [21], computed over both all entries and no-extra-data entries.

  • We construct a temporal reference: the best vanilla accuracy achievable as of each robust model’s publication year, enabling a year-matched comparison that controls for the rapid progress of standard classification.

  • We curate an architecture-matched reference: hand-matched standard accuracies for each robust model’s underlying architecture, sourced from the torchvision model zoo [22] for ImageNet, pytorch-cifar project [23] for CIFAR-10, pytorch-cifar100 project [24] for CIFAR-100 and from the original architecture papers for CIFAR-10/100 and ImageNet.

  • We compute \(\Delta_{\mathrm{clean}}\), the gap between the robust model’s clean accuracy and each vanilla reference, for all 186 models, and we show that this gap is universally negative and often large: even top-10 robust models lag the best vanilla model by 6–21 percentage points depending on the track.

2 The VanillaBench Methodology↩︎

2.1 Robust Models↩︎

We use the RobustBench leaderboard [19] as our source of adversarially-trained models. RobustBench provides standardized, reliable robustness evaluations using AutoAttack [14], an ensemble of four attack methods that is widely accepted as a strong, parameter-free evaluation protocol. We consider all four tracks available at the time of this work:

  • CIFAR-10 \(\ell_\infty\) 8/255: 98 robust models, published 2018–2024.

  • CIFAR-10 \(\ell_2\) 0.5: 20 robust models, published 2019–2024.

  • CIFAR-100 \(\ell_\infty\) 8/255: 38 robust models, published 2019–2024.

  • ImageNet \(\ell_\infty\) 4/255: 30 robust models, published 2019–2024.

For each model, RobustBench records the clean accuracy (top-1 on the standard test set), the AutoAttack accuracy (top-1 under the standardized attack), the architecture, the publication venue and year, and whether the model was trained with additional data beyond the standard training set.

2.2 Vanilla References↩︎

We construct multiple vanilla reference points for each dataset, drawing from different sources.

2.2.1 Papers with Code statistics.↩︎

From the Papers with Code (PwC) leaderboards for image classification on CIFAR-10, CIFAR-100, and ImageNet-1k, we extract all entries and compute three statistics:

  • Best: the highest standard accuracy among the entries.

  • Median: the median standard accuracy.

  • Top-10 median: the median of the 10 highest-accuracy entries.

We compute each statistic over two subsets: (i) all entries, including models that leverage external pretraining on massive datasets such as JFT-300M [25] or Instagram billion-scale data [26], and (ii) no-extra-data entries only, which exclude such models and thus provide a fairer comparison to robust models trained on the standard training set alone. This yields six reference points per track. The VanillaBench website additionally reports the mean, top-10 mean, and top-10 minimum for the all-entries subset.

Finally, we compute a temporal best: for each year \(y\), the best accuracy among all entries published in or before \(y\), enabling a year-matched comparison that controls for the rapid progress of standard classification over time.

2.2.2 Architecture-matched baselines.↩︎

Because PwC statistics aggregate over heterogeneous architectures, they do not isolate the effect of adversarial training from architectural differences. To address this, we curate a hand-matched architecture table. For each robust model, we identify the underlying base architecture (e.g., WideResNet-70-16, ResNet-50 [27], ConvNeXt-L [28]) and look up its standard accuracy from:

  • The torchvision model zoo (IMAGENET1K_V1 weights [22]) for ImageNet architectures, using the original published recipe (V1) rather than improved-recipe V2 weights.

  • The pytorch-cifar [23] and pytorch-cifar100 [24] projects for CIFAR-10/100 data.

  • The original architecture papers for CIFAR and ImageNet data (e.g., Zagoruyko & Komodakis [15] for WideResNet variants on CIFAR-10).

Where the robust model uses a modified architecture (e.g., RaWideResNet [29], ConvStem-ViT [5]), we match to the closest canonical base. When no exact vanilla number is published for an architecture, we use a proxy match: a closely related architecture whose vanilla accuracy is known (e.g., WideResNet-70-16 is proxied to WideResNet-40-8 [15]). Architecture matching (including proxy matches) is available for 184 of 186 robust models (98.9%); of these, 90 (48.4%) are direct matches and 94 are proxy matches. We report direct-match-only statistics separately to quantify the impact of proxy matching.

2.3 The Accuracy Gap Metric↩︎

For a robust model \(m\) with clean accuracy \(a_m\) and a vanilla reference value \(r\), we define the accuracy gap: \[\Delta_{\mathrm{clean}}(m, r) = a_m - r.\] A negative \(\Delta_{\mathrm{clean}}\) indicates that the robust model sacrifices standard accuracy relative to the reference. We compute \(\Delta_{\mathrm{clean}}\) for every robust model against every applicable reference. We emphasize that \(\Delta_{\mathrm{clean}}\) captures only the cost side of the robustness-accuracy trade-off. The benefit side (robust accuracy) is reported in parallel but is not folded into a single scalar, since the trade-off is inherently two-dimensional.

3 Results↩︎

3.1 Overview↩︎

Table 1 presents the headline results: for each track, the number of robust models, the mean clean and robust accuracies, the best (all-entries) reference, and the mean \(\Delta_{\mathrm{clean}}\) against five reference types. The gap is negative in every cell of the \(\Delta\) columns. No robust model, on average, matches any vanilla reference.

Table 1: Overview of all four VanillaBench tracks. All references are computed over all entries (including models that use additional training data). “\(\Delta\) best” = mean \(\Delta_{\mathrm{clean}}\) vs.best model; “\(\Delta\) median” = vs.median; “\(\Delta\) t10med” = vs.top-10 median; “\(\Delta\) arch” = vs.architecture-matched baseline (including proxy matches); “\(\Delta\) year” = vs.best model (all entries) as of the robust model’s publication year. All values in percentage points.
Track \(N\) Clean mean Robust mean Best (all) \(\Delta\) best \(\Delta\) median \(\Delta\) t10med \(\Delta\) arch \(\Delta\) year
CIFAR-10 \(\ell_\infty\) 8/255 98 87.49 53.44 99.50 \(-12.01\) \(-11.41\) \(-11.79\) \(-7.59\) \(-11.92\)
CIFAR-10 \(\ell_2\) 0.5 20 91.79 76.36 99.50 \(-7.71\) \(-7.11\) \(-7.50\) \(-3.50\) \(-7.70\)
CIFAR-100 \(\ell_\infty\) 8/255 38 66.61 32.12 96.08 \(-29.47\) \(-24.34\) \(-27.19\) \(-17.47\) \(-29.40\)
ImageNet \(\ell_\infty\) 4/255 30 73.12 46.69 91.00 \(-17.88\) \(-9.48\) \(-16.73\) \(-8.52\) \(-17.76\)

Several patterns emerge:

The best-vs.-median distinction matters.

The gap to the best vanilla model is dramatically larger than the gap to the median vanilla model, especially on ImageNet (\(-17.88\) vs.\(-9.48\)). This reflects the wide spread of the PwC leaderboards, which range from 38.1% (one shot or few shot) to 91.0% on ImageNet. A robustness paper that reports clean accuracy without context can be compared favourably to the bottom of the distribution, making the gap appear smaller than it is.

The temporal comparison is close to the overall best.

On all four tracks, the year-matched gap (\(\Delta\) year) is nearly identical to the all-time best gap (\(\Delta\) best). This is because the best vanilla model was published early (2019–2020 for CIFAR, 2022 for ImageNet) and remained the reference throughout. The median year-matched reference equals the all-time best on every track (99.50/99.50/96.08/91.00%).

The architecture-matched gap is smaller than the PwC gap.

On all four tracks, the architecture-matched gap is smaller than the best-vanilla gap, indicating that part of the apparent gap stems from comparing architecturally weaker robust models to stronger vanilla models. On CIFAR-10 \(\ell_\infty\), the architecture-matched gap (\(-7.59\)) is about two-thirds of the best-vanilla gap (\(-12.01\)). On CIFAR-100 (\(-17.47\)), the architecture-matched gap is smaller than the median gap (\(-24.34\)), because the architecture-matched vanilla references (primarily WideResNet-28-10 at 80.75% on CIFAR-100 and PreActResNet-18 [30] at 72.92%) are below the PwC median (90.95%).

The \(\ell_2\) threat model has the smallest gap.

CIFAR-10 \(\ell_2\) 0.5 shows the smallest accuracy cost (\(-7.71\) vs.best, \(-3.50\) vs.architecture-matched), consistent with the fact that \(\ell_2\)-bounded perturbations at \(\epsilon = 0.5\) are a weaker threat than \(\ell_\infty\) at \(8/255\).

3.2 Per-Reference Detail↩︎

Table 2 provides a more detailed breakdown, reporting mean and median \(\Delta_{\mathrm{clean}}\) for each reference type on each track.

Table 2: Detailed \(\Delta_{\mathrm{clean}}\) statistics (percentage points) for each reference type and track. “\(\Delta\) mean” and “\(\Delta\) median” refer to the distribution of \(\Delta_{\mathrm{clean}}\) across all robust models in the track. “All entries” includes models that use additional training data; “No extra data” excludes them. “\(n\) (arch)” = number of models with architecture-matched baselines available. “Direct only” = architecture-matched restricted to direct matches (excluding proxy-matched architectures). “Year-matched best (all)” = best model (all entries) as of the robust model’s publication year. For the architecture-matched, Direct only, and Year-matched rows, the Ref.value is the median of per-model reference values.
Track Reference Ref.value \(\Delta\) mean \(\Delta\) median \(\Delta\) min \(\Delta\) max
CIFAR-10 \(\ell_\infty\) 8/255 Best (all entries) 99.50 \(-12.01\) \(-12.08\) \(-54.77\) \(-4.27\)
Median (all entries) 98.90 \(-11.41\) \(-11.48\) \(-54.17\) \(-3.67\)
Top-10 median (all entries) 99.28 \(-11.79\) \(-11.86\) \(-54.55\) \(-4.05\)
Best (no extra data) 99.50 \(-12.01\) \(-12.08\) \(-54.77\) \(-4.27\)
Median (no extra data) 98.70 \(-11.21\) \(-11.28\) \(-53.97\) \(-3.47\)
Top-10 median (no extra data) 99.10 \(-11.61\) \(-11.67\) \(-54.37\) \(-3.87\)
Architecture-matched (\(n\!=\!96\)) 96.00 \(-7.59\) \(-7.82\) \(-15.76\) \(-0.11\)
Direct only (\(n\!=\!41\)) 96.00 \(-7.92\) \(-7.75\) \(-15.76\) \(-2.18\)
Year-matched best (all) 99.50 \(-11.92\) \(-12.00\) \(-54.77\) \(-4.27\)
CIFAR-10 \(\ell_2\) 0.5 Best (all entries) 99.50 \(-7.71\) \(-8.49\) \(-11.48\) \(-3.76\)
Median (all entries) 98.90 \(-7.11\) \(-7.90\) \(-10.88\) \(-3.16\)
Top-10 median (all entries) 99.28 \(-7.50\) \(-8.28\) \(-11.27\) \(-3.55\)
Best (no extra data) 99.50 \(-7.71\) \(-8.49\) \(-11.48\) \(-3.76\)
Median (no extra data) 98.70 \(-6.91\) \(-7.70\) \(-10.68\) \(-2.96\)
Top-10 median (no extra data) 99.10 \(-7.31\) \(-8.09\) \(-11.08\) \(-3.36\)
Architecture-matched (\(n\!=\!20\)) 95.34 \(-3.50\) \(-3.51\) \(-7.98\) \(+0.40\)
Direct only (\(n\!=\!9\)) 95.11 \(-4.04\) \(-4.21\) \(-6.95\) \(-0.84\)
Year-matched best (all) 99.50 \(-7.70\) \(-8.48\) \(-11.48\) \(-3.76\)
CIFAR-100 \(\ell_\infty\) 8/255 Best (all entries) 96.08 \(-29.47\) \(-30.57\) \(-42.25\) \(-10.87\)
Median (all entries) 90.95 \(-24.34\) \(-25.45\) \(-37.12\) \(-5.74\)
Top-10 median (all entries) 93.80 \(-27.19\) \(-28.30\) \(-39.97\) \(-8.59\)
Best (no extra data) 96.08 \(-29.47\) \(-30.57\) \(-42.25\) \(-10.87\)
Median (no extra data) 90.00 \(-23.39\) \(-24.49\) \(-36.17\) \(-4.79\)
Top-10 median (no extra data) 92.76 \(-26.15\) \(-27.25\) \(-38.92\) \(-7.55\)
Architecture-matched (\(n\!=\!38\)) 80.75 \(-17.47\) \(-16.89\) \(-34.48\) \(-6.90\)
Direct only (\(n\!=\!10\)) 78.18 \(-13.96\) \(-13.74\) \(-21.52\) \(-6.90\)
Year-matched best (all) 96.08 \(-29.40\) \(-30.57\) \(-42.25\) \(-10.87\)
ImageNet \(\ell_\infty\) 4/255 Best (all entries) 91.00 \(-17.88\) \(-15.72\) \(-38.08\) \(-9.52\)
Median (all entries) 82.60 \(-9.48\) \(-7.32\) \(-29.68\) \(-1.12\)
Top-10 median (all entries) 89.85 \(-16.73\) \(-14.57\) \(-36.93\) \(-8.37\)
Best (no extra data) 91.00 \(-17.88\) \(-15.72\) \(-38.08\) \(-9.52\)
Median (no extra data) 82.50 \(-9.38\) \(-7.22\) \(-29.58\) \(-1.02\)
Top-10 median (no extra data) 89.85 \(-16.73\) \(-14.57\) \(-36.93\) \(-8.37\)
Architecture-matched (\(n\!=\!30\)) 83.12 \(-8.52\) \(-7.67\) \(-20.51\) \(+0.39\)
Direct only (\(n\!=\!30\)) 83.12 \(-8.52\) \(-7.67\) \(-20.51\) \(+0.39\)
Year-matched best (all) 91.00 \(-17.76\) \(-16.34\) \(-37.28\) \(-9.52\)

Several observations stand out:

  • On CIFAR-10 \(\ell_\infty\), the minimum \(\Delta_{\mathrm{clean}}\) against the best vanilla model is \(-54.77\) pp, indicating that some robust models sacrifice more standard accuracy than they retain in robust accuracy. The maximum is \(-4.27\) pp, achieved by Bai et al. [31] (MixedNUTS), which uses a hybrid approach combining a robust and a non-robust classifier.

  • On ImageNet, no robust model exceeds any aggregate vanilla reference. The smallest gap against any PwC reference is \(-1.02\) pp (vs.no-extra-data median), achieved by Singh et al. [5] (ConvNeXt-B + ConvStem).

  • The architecture-matched comparison reveals only two cases where a robust model exceeds its matched vanilla baseline: \(+0.40\) on CIFAR-10 \(\ell_2\) and \(+0.39\) on ImageNet \(\ell_\infty\). Both are small positive margins. The earlier \(+21.08\) outlier (Sehwag et al. [32], ResNet-18) has been resolved by updating the ResNet-18 CIFAR-10 baseline to its correct value (93.02%).

  • The direct-match-only statistics (“Direct only” rows) exclude proxy-matched architectures. On CIFAR-10 \(\ell_\infty\) and \(\ell_2\), the direct-match gaps are similar to or slightly larger than the full gaps, suggesting that proxy matching does not systematically bias the results on these tracks.

3.3 Top-10 Robust Models↩︎

Table 3 focuses on the 10 most robust models (by AutoAttack accuracy) per track, which represent the state of the art in adversarial training. Even among these best-performing models, the accuracy gap remains substantial.

Table 3: Top-10 robust models per track: mean and median \(\Delta_{\mathrm{clean}}\) (pp) against each no-extra-data vanilla reference.
Track Top-10 clean mean \(\Delta\) vs.best \(\Delta\) vs.median \(\Delta\) vs.top-10 median
mean median mean median mean median
CIFAR-10 \(\ell_\infty\) 8/255 93.65 \(-5.85\) \(-6.07\) \(-5.05\) \(-5.27\) \(-5.45\) \(-5.66\)
CIFAR-10 \(\ell_2\) 0.5 93.80 \(-5.70\) \(-5.15\) \(-4.90\) \(-4.35\) \(-5.30\) \(-4.75\)
CIFAR-100 \(\ell_\infty\) 8/255 74.87 \(-21.21\) \(-21.59\) \(-15.13\) \(-15.51\) \(-17.88\) \(-18.27\)
ImageNet \(\ell_\infty\) 4/255 77.94 \(-13.06\) \(-13.03\) \(-4.56\) \(-4.53\) \(-11.91\) \(-11.88\)

Even the best-available robust models sacrifice 4.6–15.1 pp of standard accuracy relative to the median vanilla model. The gap widens to 5.7–21.2 pp relative to the best vanilla model. This confirms that the robustness–accuracy trade-off is not merely a problem for weaker models; it affects the entire frontier.

Figure 1: Clean accuracy vs.robust accuracy (AutoAttack) scatter plots for all \ell_\infty robust models. Each point represents one model; colour indicates publication year (blue = older \approx 2017–2019, red = newer \approx 2023–2024). (a) CIFAR-10 \ell_\infty (\epsilon=8): no robust model exceeds 64% clean accuracy; vanilla top-10 median reference at 99.44%. (b) CIFAR-100 \ell_\infty (\epsilon=8): similar gap, with robust models between 16–54% robust accuracy. (c) ImageNet \ell_\infty (\epsilon=4): robust models cluster between 26–64% robust accuracy, far below the vanilla reference at 93.58%. The vertical gap to the vanilla line is the \Delta_{\mathrm{clean}} metric central to VanillaBench.
Figure 2: Clean accuracy (blue) and AutoAttack robust accuracy (red) bar charts for robust models per track. (a) CIFAR-10 \ell_\infty (\epsilon=8): robust models achieve 27–64% robust accuracy, while clean accuracy ranges from 82–94%. The red dashed line marks 99.44% (top-10 median vanilla reference). (b) CIFAR-100 \ell_\infty (\epsilon=8): robust accuracy 16–54%, clean accuracy 79–95%, reference at 92.12%. (c) ImageNet \ell_\infty (\epsilon=4): robust accuracy 26–64%, clean accuracy 50–84%, reference at 93.58%. (d) CIFAR-10 \ell_2 (\sigma=0.5): the only track where some robust models achieve comparable or superior clean accuracy relative to the vanilla reference (99.44%). The vertical gap between the blue bar and the dashed line is the \Delta_{\mathrm{clean}} that VanillaBench makes explicit, quantifying the clean accuracy sacrifice imposed by adversarial training.
Figure 3: Architecture-matched comparison: per-model bar charts showing clean accuracy (blue), AutoAttack robust accuracy (red), and architecture-matched vanilla accuracy (dark grey). The grey bar represents a vanilla model sharing the same architecture (or proxy architecture) as the robust model, isolating the clean accuracy cost of adversarial training from architectural differences. (a) CIFAR-10 \ell_\infty (\epsilon=8): no robust model exceeds its architecture-matched vanilla baseline; gaps range from 4.8–7.8 pp for directly matched models. (b) ImageNet \ell_\infty (\epsilon=4): larger gaps, with robust models falling 8.5–20 pp below their matched vanilla counterpart (direct match only). These results confirm that even when controlling for architecture, adversarial training incurs a substantial clean accuracy penalty. Proxy-matched models (94 total) use the nearest available vanilla architecture when an exact match is unavailable; direct-match-only analysis is reported in Table 2.

Table 4 breaks down the mean clean accuracy of robust models by publication year, alongside the year-matched best (all entries).

Table 4: Mean clean accuracy of robust models by publication year, compared to the year-matched best (all entries) accuracy.
Year CIFAR-10 \(\ell_\infty\) ImageNet \(\ell_\infty\)
Robust mean Vanilla best Robust mean Vanilla best
2018 87.14 93.57 80.62
2019 86.99 99.37 62.56 87.54
2020 84.56 99.50 60.25 90.20
2021 88.39 99.50 90.20
2022 87.50 99.50 72.64 91.00
2023 93.16 99.50 75.88 91.00
2024 91.42 99.50 77.35 91.00

On CIFAR-10, the vanilla best was already at 99.37% in 2019 (BiT-L [33]), while the best mean robust clean accuracy in any year is 93.16% (2023). On ImageNet, the vanilla best reached 91.0% in 2022 (CoCa [34]), while the best mean robust clean accuracy is 77.35% (2024). The gap has narrowed over time but remains at 6+ pp on CIFAR-10 and 13+ pp on ImageNet even in the most recent year.

3.5 Per-Track Analysis↩︎

3.5.1 CIFAR-10 \(\ell_\infty\) 8/255.↩︎

This is the most populated track with 98 models. The mean \(\Delta_{\mathrm{clean}}\) against the best vanilla model is \(-12.01\) pp, and even the mean gap of the top-10 most robust models is \(-5.85\) pp. The architecture-matched gap is smaller (\(-7.59\) pp, median reference 96.00%), because many robust models use WideResNet-70-16 [17], [29], [31] (vanilla: 95.34%, proxy-matched to WideResNet-40-8) or WideResNet-28-10 [17], [35], [36] (vanilla: 96.0%), architectures whose standard accuracy is high but not at the 99.5% SOTA level. The most robust model, Amini et al. [37] (MeanSparse WideResNet-94-16), achieves 93.6% clean and 75.28% robust accuracy. This is \(-5.90\) pp below the best vanilla model.

3.5.2 CIFAR-10 \(\ell_2\) 0.5.↩︎

This track has the smallest accuracy cost. The mean \(\Delta_{\mathrm{clean}}\) against the best vanilla model is \(-7.71\) pp, and the architecture-matched gap is \(-3.50\) pp (median reference 95.34%). The top model, Amini et al. [37] (MeanSparse WideResNet-70-16), achieves 95.51% clean and 87.28% robust accuracy. This is \(+0.17\) pp above its proxy-matched vanilla baseline (WideResNet-40-8, 95.34%). This is consistent with the weaker perturbation budget of \(\ell_2 = 0.5\).

3.5.3 CIFAR-100 \(\ell_\infty\) 8/255.↩︎

This track exhibits the largest accuracy gap: \(-29.47\) pp mean against the best vanilla model. The architecture-matched gap is \(-17.47\) pp, smaller than the PwC median gap (\(-24.34\) pp), because the architecture-matched vanilla references (primarily WideResNet-28-10 at 80.75% (the median architecture-matched reference) on CIFAR-100 and PreActResNet-18 at 72.92%) are below the PwC median of 90.95%. The top model, Amini et al. [37] (MeanSparse WideResNet-70-16), achieves 75.13% clean and 44.78% robust accuracy. This is \(-20.21\) pp below its proxy-matched vanilla baseline. The CIFAR-100 results underscore that the robustness-accuracy trade-off is dataset-dependent and that progress on the harder 100-class setting has been much slower.

3.5.4 ImageNet \(\ell_\infty\) 4/255.↩︎

On ImageNet, the mean \(\Delta_{\mathrm{clean}}\) is \(-17.88\) pp against the best vanilla model but only \(-9.48\) pp against the median vanilla model (all entries). This wide spread reflects the diversity of the ImageNet leaderboard (105 vanilla entries ranging from 38.1% to 91.0%). The architecture-matched gap (\(-8.52\) pp, median reference 83.12%) is close to the PwC median gap (\(-9.48\) pp), suggesting that on ImageNet, architectural matching does not substantially change the picture. The top model, Amini et al. [37] (MeanSparse Swin-L), achieves 78.80% clean and 62.12% robust accuracy. This is \(-12.20\) pp below the best vanilla model. Notably, 29 of 30 ImageNet robust models use no additional training data, making this the “cleanest” track in terms of training setup.

4 Discussion↩︎

4.1 Why the Vanilla Gap Is Rarely Shown↩︎

The absence of vanilla baselines in robustness papers is not malicious. It reflects several practical and structural factors. First, adversarial training papers are written for the robustness community, where the implicit baseline is prior robust models, not vanilla models. Second, the architectures used for adversarial training (e.g., WideResNet-70-16) are often not the same as those that dominate standard leaderboards (e.g., ViT [38], ConvNeXt), making direct comparison awkward. Third, many robust models use additional data (26.5% on CIFAR-10 \(\ell_\infty\), 23.7% on CIFAR-100), which further complicates the comparison. Should the vanilla reference also use additional data?

VanillaBench addresses these complications by providing multiple references that span different notions of “vanilla.” The best and top-10 median references show the gap to the absolute state of the art. The median reference shows the gap to the “typical” model. Each of these is computed over both all entries and no-extra-data entries, so the reader can assess whether the use of additional training data materially changes the picture. The year-matched reference controls for temporal progress. The architecture-matched reference isolates the adversarial training effect. Together, these provide a much richer picture than any single comparison.

4.2 The Two-Dimensional Trade-Off↩︎

We deliberately do not collapse \(\Delta_{\mathrm{clean}}\) and robust accuracy into a single scalar (e.g., a weighted average). The robustness–accuracy trade-off is fundamentally two-dimensional, and any scalarization hides information. Figure 1 makes the trade-off visible: each point occupies a position in (clean, robust) space, and the vanilla reference line provides the x-axis anchor that is typically missing. Researchers and practitioners can use this visualization to assess whether a given model’s trade-off point is “good” relative to both axes simultaneously.

4.3 Threats to Validity↩︎

Architecture matching imperfections. Our architecture-matched baselines are hand-curated and sometimes based on values from the original architecture papers rather than standardized re-evaluations. Additionally, 94 of 184 architecture-matched entries are proxy matches. The robust model’s exact architecture has no published vanilla number, so a closely related architecture is used instead (e.g., WideResNet-70-16 is proxied to WideResNet-40-8). We report direct-match-only statistics separately to quantify the impact of this proxy matching.

Papers with Code curation. The PwC leaderboards have been curated/trimmed by Hugging Face, so the reference statistics reflect the live curated boards rather than an exhaustive historical list. The number of vanilla entries is relatively small for CIFAR (20–22), which means the statistics are sensitive to the inclusion or exclusion of individual entries.

Additional data flag. Our “no extra data” filter relies on PwC’s uses_additional_data flag, which may not perfectly capture all nuances (e.g., self-supervised pretraining on the same dataset is sometimes considered “additional data” and sometimes not).

AutoAttack as the sole robustness metric. We use the AutoAttack accuracy from RobustBench as the robustness measure. AutoAttack is a strong standardized attack, but robust accuracy under other threat models (e.g., corrupted inputs, distribution shift) may tell a different story.

5 Related Work↩︎

Adversarial robustness benchmarks. RobustBench [19] is the most widely used standardized benchmark for adversarial robustness, providing a curated leaderboard of models evaluated under AutoAttack. However, RobustBench focuses exclusively on robust models and does not provide vanilla baselines. VanillaBench complements RobustBench by adding the missing vanilla reference layer.

The accuracy–robustness trade-off. The fundamental tension between standard and robust accuracy was noted early on [39], [40]. Tsipras et al. [39] provided a theoretical analysis showing that the trade-off is inherent, not merely an artifact of suboptimal training. Zhang et al. [40] decomposed robust and standard error into boundary and interior components. However, these works analyze the trade-off theoretically or on small-scale experiments. They do not systematically quantify the gap across the entire robustness literature against vanilla references.

Robustness without accuracy loss. Several works have argued that the trade-off can be “reconciled” [41] or mitigated through better training procedures [17], [31]. Our results confirm that progress has been made. The most recent models are closer to vanilla accuracy than early ones, but the gap is still substantial, especially on harder datasets like CIFAR-100.

Standard classification benchmarks. Papers with Code [20] provides the standard accuracy leaderboards that we use as vanilla references. The torchvision model zoo [22] provides verified, reproducible standard accuracies for common architectures.

6 Conclusion & Future Work↩︎

We have presented VanillaBench, a systematic evaluation of the accuracy cost of adversarial robustness. By computing the clean-accuracy gap between every RobustBench model and multiple vanilla references, including best, median, top-10 median (all entries and no-extra-data), year-matched, and architecture-matched, we make explicit a trade-off that is typically only implicit in the literature. The gap is universally negative. Across 186 models and four threat models, no robust model matches the best vanilla model, and even top-10 robust models sacrifice 4.6–15.1 pp of standard accuracy relative to the median vanilla model. The architecture-matched comparison, which isolates the adversarial training effect, confirms that the gap is not merely an artifact of comparing different architectures. We recommend that future robustness papers report vanilla-referenced accuracy gaps as a standard component of evaluation, and we provide the VanillaBench tooling1 to facilitate this.

Several directions remain for future work. First, the vanilla reference accuracies used in this work are sourced from published papers and model zoos, which may reflect different evaluation protocols, preprocessing pipelines, or training recipes. Conducting standardized in-house evaluations of both robust and vanilla models under a unified protocol would eliminate this source of variability and yield more directly comparable gap estimates. Second, a number of architectures that appear frequently in adversarial training (e.g., WideResNet-70-16, WideResNet-94-16) lack published vanilla accuracies, forcing us to rely on proxy matches. Training and evaluating vanilla versions of these architectures would remove the need for proxy matching and tighten the architecture-matched comparison. Third, the most recent model in RobustBench dates to 2024, and the benchmark datasets (CIFAR-10, CIFAR-100, ImageNet-1k) have remained unchanged for years. Extending VanillaBench to encompass newer robust models and additional, more modern evaluation datasets would keep the benchmark current and broaden its applicability.

Acknowledgments↩︎

This work was supported by the ATHENE flagship project funded by the German Federal Ministry of Education and Research (BMBF).

References↩︎

[1]
C. Szegedy et al., “Intriguing properties of neural networks,” 2014, [Online]. Available: http://arxiv.org/abs/1312.6199.
[2]
I. J. Goodfellow, J. Shlens, and C. Szegedy, “Explaining and harnessing adversarial examples,” 2015, [Online]. Available: http://arxiv.org/abs/1412.6572.
[3]
A. Madry, A. Makelov, L. Schmidt, D. Tsipras, and A. Vladu, “Towards deep learning models resistant to adversarial attacks,” in 6th international conference on learning representations, ICLR 2018, vancouver, BC, canada, april 30 - may 3, 2018, conference track proceedings, 2018, [Online]. Available: https://openreview.net/forum?id=rJzIBfZAb.
[4]
T. Bai, J. Luo, J. Zhao, B. Wen, and Q. Wang, “Recent advances in adversarial training for adversarial robustness,” in Proceedings of the thirtieth international joint conference on artificial intelligence, IJCAI 2021, virtual event / montreal, canada, 19-27 august 2021, 2021, pp. 4312–4321, doi: 10.24963/IJCAI.2021/591.
[5]
N. D. Singh, F. Croce, and M. Hein, “Revisiting adversarial training for ImageNet: Architectures, training and generalization across threat models,” in Advances in neural information processing systems 36: Annual conference on neural information processing systems 2023, NeurIPS 2023, new orleans, LA, USA, december 10 - 16, 2023, 2023, [Online]. Available: http://papers.nips.cc/paper\_files/paper/2023/hash/2d3b007613940def7a5ec9d6d635937b-Abstract-Conference.html.
[6]
K. Tong, C. Jiang, J. Gui, and Y. Cao, “Taxonomy driven fast adversarial training,” in Thirty-eighth AAAI conference on artificial intelligence, AAAI 2024, thirty-sixth conference on innovative applications of artificial intelligence, IAAI 2024, fourteenth symposium on educational advances in artificial intelligence, EAAI 2024, february 20-27, 2024, vancouver, canada, 2024, pp. 5233–5242, doi: 10.1609/AAAI.V38I6.28330.
[7]
P. C. Chhipa, G. Vashishtha, S. Jithamanyu, R. Saini, M. Shah, and M. Liwicki, “ASTrA: Adversarial self-supervised training with adaptive-attacks,” in The thirteenth international conference on learning representations, ICLR 2025, singapore, april 24-28, 2025, 2025, [Online]. Available: https://openreview.net/forum?id=ZbkqhKbggH.
[8]
C. Guo, M. Rana, M. Cisse, and L. van der Maaten, “Countering adversarial images using input transformations,” in International conference on learning representations, 2018, [Online]. Available: https://openreview.net/forum?id=SyJ7ClWCb.
[9]
W. Xu, D. Evans, and Y. Qi, “Feature squeezing: Detecting adversarial examples in deep neural networks,” Proceedings 2018 Network and Distributed System Security Symposium, 2018, doi: 10.14722/ndss.2018.23198.
[10]
D. Hendrycks and K. Gimpel, “Early methods for detecting adversarial images,” in 5th international conference on learning representations, ICLR 2017, toulon, france, april 24-26, 2017, workshop track proceedings, 2017.
[11]
A. Kherchouche, S. A. Fezza, and W. Hamidouche, “Detect and defense against adversarial examples in deep learning using natural scene statistics and adaptive denoising,” Neural Comput. Appl., vol. 34, no. 24, pp. 21567–21582, 2022, doi: 10.1007/s00521-021-06330-x.
[12]
N. Bunzel, A. Siwakoti, and G. Klause, “Adversarial patch detection and mitigation by detecting high entropy regions,” in 53rd annual IEEE/IFIP international conference on dependable systems and networks, DSN 2023 - workshops, porto, portugal, june 27-30, 2023, 2023, pp. 124–128, doi: 10.1109/DSN-W58399.2023.00040.
[13]
N. Bunzel and D. Böringer, “Multi-class detection for off the shelf transfer-based black box attacks,” in Proceedings of the 2023 secure and trustworthy deep learning systems workshop, 2023, pp. 1–6.
[14]
F. Croce and M. Hein, “Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks,” in Proceedings of the 37th international conference on machine learning, ICML 2020, 13-18 july 2020, virtual event, 2020, vol. 119, pp. 2206–2216, [Online]. Available: http://proceedings.mlr.press/v119/croce20b.html.
[15]
S. Zagoruyko and N. Komodakis, “Wide residual networks,” in Proceedings of the british machine vision conference 2016, BMVC 2016, york, UK, september 19-22, 2016, 2016, [Online]. Available: https://bmva-archive.org.uk/bmvc/2016/papers/paper087/index.html.
[16]
A. Krizhevsky, “Learning multiple layers of features from tiny images,” University of Toronto, 2009.
[17]
Z. Wang, T. Pang, C. Du, M. Lin, W. Liu, and S. Yan, “Better diffusion models further improve adversarial training,” in International conference on machine learning, ICML 2023, 23-29 july 2023, honolulu, hawaii, USA, 2023, vol. 202, pp. 36246–36263, [Online]. Available: https://proceedings.mlr.press/v202/wang23ad.html.
[18]
V. Sehwag et al., “Robust learning meets generative models: Can proxy distributions improve adversarial robustness?” in The tenth international conference on learning representations, ICLR 2022, virtual event, april 25-29, 2022, 2022, [Online]. Available: https://openreview.net/forum?id=WVX0NNVBBkV.
[19]
F. Croce et al., “RobustBench: A standardized adversarial robustness benchmark,” in Proceedings of the neural information processing systems track on datasets and benchmarks 1, NeurIPS datasets and benchmarks 2021, december 2021, virtual, 2021, [Online]. Available: https://datasets-benchmarks-proceedings.neurips.cc/paper/2021/hash/a3c65c2974270fd093ee8a9bf8ae7d0b-Abstract-round2.html.
[20]
“Papers with code: Image classification.” https://paperswithcode.co/task/image-classification, 2024.
[21]
O. Russakovsky et al., “ImageNet large scale visual recognition challenge,” Int. J. Comput. Vis., vol. 115, no. 3, pp. 211–252, 2015, doi: 10.1007/S11263-015-0816-Y.
[22]
“Torchvision: Classification model weights.” https://docs.pytorch.org/vision/stable/models.html, 2024.
[23]
K. Liu, Accessed: 2026-07-13“Pytorch-cifar: Training CIFAR10 with PyTorch.” https://github.com/kuangliu/pytorch-cifar, 2017.
[24]
weiaicunzai, Accessed: 2026-07-13“Pytorch-cifar100: Practice on cifar100 with various CNN architectures in PyTorch.” https://github.com/weiaicunzai/pytorch-cifar100, 2019.
[25]
C. Sun, A. Shrivastava, S. Singh, and A. Gupta, “Revisiting unreasonable effectiveness of data in deep learning era,” in IEEE international conference on computer vision, ICCV 2017, venice, italy, october 22-29, 2017, 2017, pp. 843–852, doi: 10.1109/ICCV.2017.97.
[26]
D. Mahajan et al., “Exploring the limits of weakly supervised pretraining,” in Computer vision - ECCV 2018 - 15th european conference, munich, germany, september 8-14, 2018, proceedings, part II, 2018, vol. 11206, pp. 185–201, doi: 10.1007/978-3-030-01216-8\_12.
[27]
K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in 2016 IEEE conference on computer vision and pattern recognition, CVPR 2016, las vegas, NV, USA, june 27-30, 2016, 2016, pp. 770–778, doi: 10.1109/CVPR.2016.90.
[28]
Z. Liu, H. Mao, C.-Y. Wu, C. Feichtenhofer, T. Darrell, and S. Xie, “A convnet for the 2020s,” in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2022, pp. 11976–11986.
[29]
S. Peng et al., “Robust principles: Architectural design principles for adversarially robust CNNs,” in 34th british machine vision conference 2023, BMVC 2023, aberdeen, UK, november 20-24, 2023, 2023, pp. 739–740, [Online]. Available: http://proceedings.bmvc2023.org/739/.
[30]
K. He, X. Zhang, S. Ren, and J. Sun, “Identity mappings in deep residual networks,” in European conference on computer vision, 2016, pp. 630–645.
[31]
Y. Bai, M. Zhou, V. M. Patel, and S. Sojoudi, “MixedNUTS: Training-free accuracy-robustness balance via nonlinearly mixed classifiers,” Trans. Mach. Learn. Res., vol. 2024, 2024, [Online]. Available: https://openreview.net/forum?id=pyD6cujUmL.
[32]
V. Sehwag et al., “Robust learning meets generative models: Can proxy distributions improve adversarial robustness?” in The tenth international conference on learning representations, ICLR 2022, virtual event, april 25-29, 2022, 2022, [Online]. Available: https://openreview.net/forum?id=WVX0NNVBBkV.
[33]
A. Kolesnikov et al., “Big transfer (BiT): General visual representation learning,” vol. 12350, pp. 491–507, 2020, doi: 10.1007/978-3-030-58558-7\_29.
[34]
J. Yu, Z. Wang, V. Vasudevan, L. Yeung, M. Seyedhosseini, and Y. Wu, “CoCa: Contrastive captioners are image-text foundation models,” Trans. Mach. Learn. Res., vol. 2022, 2022, [Online]. Available: https://openreview.net/forum?id=Ee277P3AYC.
[35]
Y. Xu, Y. Sun, M. Goldblum, T. Goldstein, and F. Huang, “Exploring and exploiting decision boundary dynamics for adversarial robustness,” in The eleventh international conference on learning representations, ICLR 2023, kigali, rwanda, may 1-5, 2023, 2023, [Online]. Available: https://openreview.net/forum?id=aRTKuscKByJ.
[36]
J. Cui, Z. Tian, Z. Zhong, X. Qi, B. Yu, and H. Zhang, “Decoupled kullback-leibler divergence loss,” in Advances in neural information processing systems 37: Annual conference on neural information processing systems 2024, NeurIPS 2024, vancouver, BC, canada, december 10 - 15, 2024, 2024, [Online]. Available: http://papers.nips.cc/paper\_files/paper/2024/hash/87ee1bbac4635e7c948f3eea83c1f262-Abstract-Conference.html.
[37]
S. Amini, M. Teymoorianfard, S. Ma, and A. Houmansadr, “MeanSparse: Post-training robustness enhancement through mean-centered feature sparsification,” arXiv preprint arXiv:2406.05927, 2024.
[38]
A. Dosovitskiy et al., “An image is worth 16x16 words: Transformers for image recognition at scale,” 2021, [Online]. Available: https://openreview.net/forum?id=YicbFdNTTy.
[39]
D. Tsipras, S. Santurkar, L. Engstrom, A. Turner, and A. Madry, “Robustness may be at odds with accuracy,” 2019, [Online]. Available: https://openreview.net/forum?id=SyxAb30cY7.
[40]
H. Zhang, Y. Yu, J. Jiao, E. P. Xing, L. E. Ghaoui, and M. I. Jordan, “Theoretically principled trade-off between robustness and accuracy,” vol. 97, pp. 7472–7482, 2019, [Online]. Available: http://proceedings.mlr.press/v97/zhang19p.html.
[41]
T. Pang, M. Lin, X. Yang, J. Zhu, and S. Yan, “Robustness and accuracy could be reconcilable by (proper) definition,” in International conference on machine learning, ICML 2022, 17-23 july 2022, baltimore, maryland, USA, 2022, vol. 162, pp. 17258–17277, [Online]. Available: https://proceedings.mlr.press/v162/pang22a.html.

  1. https://bunni90.github.io/robust-vs-vanilla.html↩︎