atlas

Research map / Adversarial robustness and security / Certified and empirical robustness

Vision Transformers Beat WideResNets on Small Scale Datasets Adversarial Robustness

AAAI 2025 · Adversarial robustness and security › Certified and empirical robustness · approach: Adversarial training recipes · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that Vision Transformers (ViT-B/2, ViT-L/2) trained with TRADES adversarial training on EDM-generated synthetic data outperform WideResNet (WRN-70-16) on CIFAR-10 and CIFAR-100 AutoAttack robust accuracy.

Problem

Whether Vision Transformers can match or surpass WideResNets in adversarial robustness on small-scale datasets like CIFAR-10 and CIFAR-100, where WRN has dominated RobustBench leaderboards.

Approach

Combine ViT architectures with diffusion-generated synthetic data (EDM, 50M samples from Wang et al.) in TRADES adversarial training, using Lion optimizer, label smoothing 0.4, and no early stopping, to show ViTs beat WRNs in robust accuracy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train ViT-L/2 with the proposed synthetic-data adversarial-training approach rather than the strongest WRN baselineCIFAR-10 (ℓ∞, ϵ = 8/255) · CIFAR-10 (ℓ∞, ϵ = 8/255)AA accuracy: 71.07 -> 74.94Helped
Train ViT-L/2 with the proposed synthetic-data adversarial-training approach rather than the strongest WRN baselineCIFAR-10 (ℓ2, ϵ = 0.5) · CIFAR-10 (ℓ2, ϵ = 0.5)AA accuracy: 84.86 -> 86.06Helped
Train ViT-L/2 with the proposed synthetic-data adversarial-training approach rather than the strongest WRN baselineCIFAR-100 (ℓ∞, ϵ = 8/255) · CIFAR-100 (ℓ∞, ϵ = 8/255)AA accuracy: 42.67 -> 44.07Helped
Increase label smoothing from 0.0 to 0.1 (ablation)ViT-B/2 · CIFAR-10 (ℓ∞, ϵ = 8/255)AA accuracy: 70.52 -> 71.07Helped
Vary label smoothing across 0.1, 0.2, 0.3, and 0.4 (ablation)ViT-B/2 · CIFAR-10 (ℓ∞, ϵ = 8/255)AA accuracy: 71.07; 70.88; 71.01; 70.98No clear effect
Set TRADES β to 3 rather than 5 (ablation)ViT-B/2 · CIFAR-10 (ℓ∞, ϵ = 8/255)AA accuracy: 70.98 -> 71.31Helped
Vary TRADES β among 2, 4, and 6 rather than using β = 3 (ablation)ViT-B/2 · CIFAR-10 (ℓ∞, ϵ = 8/255)AA accuracy: 71.31 -> 71.22; 71.06; 70.69Hurt
Increase the generated-data mix ratio from 0.0 to 0.9 (ablation)ViT-B/2 · CIFAR-10 (ℓ∞, ϵ = 8/255), PGD-40AA accuracy: 0.5685 -> 0.7377Helped
Increase the generated-data mix ratio from 0.9 to 1.0 (ablation)ViT-B/2 · CIFAR-10 (ℓ∞, ϵ = 8/255), PGD-40AA accuracy: 0.7377 -> 0.7356Hurt
Increase ViT-B/2 training from 2000 to 6000 epochs (ablation)ViT-B/2 · CIFAR-10 (ℓ∞, ϵ = 8/255)AA accuracy: 71.31 -> 72.52Helped
Scale the model from ViT-B/2 to ViT-L/2 at 2000 epochs (ablation)ViT · CIFAR-10 (ℓ∞, ϵ = 8/255)AA accuracy: 71.31 -> 72.17Helped
Replace Lion with SGD (ablation)ViT-B/2 · CIFAR-10 (ℓ∞, ϵ = 8/255)AA accuracy: 71.31 -> ✗Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 EDM-generated synthetic data (50M, Wang et al. 2023)

Benchmarks: CIFAR-10 CIFAR-100 RobustBench

Metrics: clean accuracy AutoAttack robust accuracy PGD-40 robust accuracy FLOPs

Baselines: WRN-70-16 (Wang et al. 2023) RaWRN-70-16 (Peng et al. 2023) WRN-28-10 (Gowal et al. 2021) WRN-28-10 (Pang et al. 2022) WRN-70-16 (Rebuffi et al. 2021) WRN-94-16 (Bartoldson et al. 2024)

Builds on: TRADES EDM Wang et al. 2023 diffusion adversarial training Lion optimizer AutoAttack

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy