SPROUT: Self-Progressive Robust Training
Self-Progressing Robust Training
The authors propose SPROUT, a robust training method that eliminates attack generation, and state that on CIFAR-10 it outperforms PGD adversarial training and TRADES in both PGD robust accuracy and training speed.
Defense paper. The evaluated attacks are l∞-norm white-box PGD untargeted attacks on CIFAR-10 with ε=0.03 (20/100/200 steps, random start, up to 10 restarts), l2-norm C&W attacks, C&W-l∞ attacks, and transfer attacks generating 10,000 PGD-l∞ samples from the natural model; on ImageNet, PGD-l∞ attacks with random target labels.
- Robust training methods such as adversarial training require generating adversarial samples during training, and have three limitations: poor scalability, being most effective only against the attack used in training, and preferring wider networks; the authors hope to train robust models in an attack-generation-free manner.
- Proposes SPROUT: parameterizes label smoothing with a Dirichlet distribution and trains it jointly with model weights (single-step gradient ascent on β), combined with Gaussian data augmentation and Mixup; the whole is uniformly characterized by the vicinal risk minimization (VRM) framework.
- On VGG-16 and Wide ResNet on CIFAR-10, SPROUT has higher robust accuracy than PGD adversarial training and TRADES under PGD-l∞ (ε=0.03) (Table 2), and its 10-epoch training time is about 1/5 of the latter two (Table 6); on ImageNet ResNet-152 it greatly improves robust accuracy relative to the natural model (Table 4).
- The paper has no dedicated limitations section. Experiments cover only image classification on CIFAR-10 and ImageNet; ImageNet was not compared with adversarial training (the authors state that no public pretrained robust model of the same architecture was available); the authors speculate that SPROUT's parameters on ResNet-50 were not fully tuned; no statistical significance tests are reported.
- Evaluated models
- VGG-16Wide ResNetResNet-152ResNet-34ResNet-50
- Benchmarks
- CIFAR-10ImageNet
- Metrics
- Clean AccL inf AccC&W AccInvarianceScalability
The researchers propose a self-advancing robust training framework, SPROUT, which progressively adjusts the label distribution during training through parameterized label smoothing, without generating adversarial examples. The framework is based on a general form of neighborhood risk minimization, and various robust training methods can be regarded as special cases of it. Under l∞ norm-bounded attacks and various invariance tests, SPROUT consistently outperforms PGD-l∞ and TRADES, two state-of-the-art adversarial training methods, and is more scalable to large-scale neural networks.
Paper analysis
What problem does this paper attempt to solve?
Adversarial training depends on attack generation, has poor scalability, and is attack-specific; the authors propose SPROUT, a robust training framework that is free of attack generation.
Core question: how to efficiently train models robust to adversarial perturbations without generating adversarial examples.
- Problem setting: standardly trained DNNs are susceptible to adversarial perturbations (the authors cite Biggio et al. 2013; Szegedy et al. 2014); robust training is a key step toward building trustworthy machine learning systems.
- Shortcomings of existing methods: the authors point out three limitations of adversarial training: (i) poor scalability—a Wide ResNet with a 7-step attack takes about 10 times as long per epoch on CIFAR-10 as standard training; (ii) attack specificity—it is most effective against the attack used in training and may not generalize to other attacks; (iii) preference for wider networks—sufficient network capacity is needed for it to be effective.
- Core idea: use vicinal risk minimization (VRM) to uniformly characterize the robust training objective; SPROUT self-adjusts during training through a learnable parameterized label distribution rather than invoking an attack algorithm.
- Paper contributions: proposes SPROUT (parameterized label smoothing + Gaussian augmentation + Mixup), gives a unified VRM framework, and conducts multi-dimensional comparisons with PGD-l∞ adversarial training and TRADES on CIFAR-10/ImageNet.
- Threat model (evaluation side):
- Attack goal: reduce the model's classification accuracy on adversarially perturbed inputs.
- Attack knowledge: white-box PGD-l∞ untargeted attack (ε=0.03, 20/100/200 steps, random start, up to 10 restarts); l2-norm C&W attack; C&W-l∞ attack.
- Transfer setting: 10,000 PGD-l∞ samples (ε=0.03) generated from a CIFAR-10 natural model to attack the target model; ImageNet uses PGD-l∞ with random target labels.
- Victim systems: VGG-16, Wide ResNet, ResNet-152/50/34 image classifiers.
What related research exists?
Related work divides robust training into attack-specific and attack-agnostic categories, and SPROUT is positioned as an attack-generation-free route with better performance.
Attack-specific robust training
- Madry et al. (2018)—uses a first-order attack algorithm to generate adversarial examples for adversarial training, improving robustness under the same threat model as the attack; one of the main baselines of this paper.
- TRADES (Zhang et al. 2019)—minimizes a theoretical upper bound on the prediction error on adversarial examples; another main baseline of this paper; Liu and Hsieh (2019) combine adversarial training with GANs; Wang and Zhang (2019)'s Bilateral adversarial training perturbs both samples and labels; Zhang and Wang (2019) propose adversarial training based on feature-scattering.
- Carmon et al. (2019), Stanforth et al. (2019), Hendrycks et al. (2019)—use additional unlabeled data or self-supervised learning together with adversarial training to improve robustness; the authors state that these methods could in principle also be used for SPROUT, but are beyond the scope of this paper.
Attack-independent robust training
- Gaussian data augmentation: Zantedeschi, Nicolae, and Rawat (2017) as a common baseline; Liu et al. (2018a,b, 2019) add Gaussian noise to inputs and intermediate layers; Cohen, Rosenfeld, and Kolter (2019) give certified robustness, and Zhai et al. (2020) incorporate it into the training objective.
- Mixup (Zhang et al. 2018) and variants (Verma et al. 2018; Thulasidasan et al. 2019)—train on convex combinations of sample pairs and their labels.
- Label smoothing (Szegedy et al. 2016)—replaces one-hot labels with soft labels with uniform weights; Shafahi et al. (2019a), Goibert and Dohmatob (2019) state that it benefits robustness, but the authors point out that its robustness gain is small relative to adversarial training.
Baselines and benchmarks: comparison baselines are PGD-l∞ adversarial training (Madry et al. 2018) and TRADES (Zhang et al. 2019), plus runtime and ImageNet ResNet-50 comparisons with Free Adv Train (Shafahi et al. 2019b); benchmarks are CIFAR-10 and ImageNet.
Positioning: the authors state that SPROUT is fundamentally different from attack-specific methods—it generates no attacks during training, yet achieves better performance under the attacks used to train the others, and is less sensitive to network width.
How does the paper address this problem?
SPROUT trains Dirichlet-parameterized label smoothing jointly with model weights, adds Gaussian augmentation and Mixup, and is unified overall by the VRM framework.
Overall idea: formulate robust training as generalized cross-entropy optimization under vicinal risk minimization (VRM); SPROUT automatically learns, during training, the label distribution that is "most uncertain to the current model", thereby eliminating the need for attack generation.
VRM unified framework
- Generalized cross-entropy loss H(x̃, ỹ, f) = −∑k=1K [log g(f(x̃)k)] h(ỹk), where g adjusts the predicted probabilities and h adjusts the training label distribution; when x̃=x, ỹ=y and g=h=I, it reduces to ordinary cross-entropy.
- Table 1 writes natural training, GA, LS, adversarial training, TRADES, Mixup, Bilateral Adv Training, etc. as special cases of this framework (with different values of g, h, x̃, ỹ).
Self-advancing parameterized label smoothing
- Instead of a predefined or attack-driven smoothing vector, a Dirichlet distribution is used: ỹ = Dirichlet((1−α)y + αβ), where β is a learnable parameter.
- By solving maxβ L(x̃, ỹ, β; θ) over β, the label distribution most uncertain to the current model θ is found; one-hot and uniform label smoothing are special cases with β=y and β=u, respectively.
- β is trained jointly with the model weights θ: θ by gradient descent, β by single-step stochastic gradient ascent (Algorithm 1); the authors state that exploring more ascent steps gave no performance improvement and was more time-consuming.
Gaussian augmentation and Mixup
- Gaussian augmentation: the neighborhood function is N(x, Δ²), perturbing only the input and not the label; the authors combine it with Dirichlet label smoothing.
- Mixup: convex combination of sample pairs within a minibatch and their labels, with λ drawn from Beta(a, a).
- SPROUT's overall neighborhood function: x̃ is the convex combination of two samples after Gaussian perturbation, and ỹ is a Dirichlet sample parameterized by (1−α)·mixed label + αβ.
Training objective and algorithm
- The objective is min_θ max_β Σ L(ν(x̃,ỹ|x,y,β); θ), which differs from the min-max of adversarial training: the inner maximization acts on the Dirichlet parameter β, requires only a single ascent step, and is attack-independent.
- Implementation details: the gradient of β uses Pytorch's implementation based on Figurnov, Mohamed, and Mnih (2018); both random initialization and pretrained-model starting points are supported.
- Hyperparameters: Beta parameter a=0.2, Gaussian variance Δ=0.1, label smoothing parameter α=0.01; initialized from the natural model by default.
Success criteria and evaluation
- Evaluation dimensions are robust accuracy under white-box PGD-l∞ (multiple steps, multiple random restarts), C&W-l2, C&W-l∞, and transfer attacks, plus rotation/brightness/contrast/grayscale invariance tests and per-epoch runtime (corresponding to the five dimensions of Figure 1).
What experiments did the paper conduct?
Compares SPROUT with adversarial training and TRADES on CIFAR-10 and ImageNet, covering white-box/transfer attacks, invariance, runtime, and ablations.
Experimental setup
- Models tested: VGG-16 and Wide ResNet on CIFAR-10 (Wide ResNet is the pretrained PGD-l∞ robust model provided by adversarial training/TRADES); ResNet-152 on ImageNet, with ResNet-50 and ResNet-34 additionally in the appendix (width experiment).
- Datasets: CIFAR-10 and ImageNet.
- Baselines: Natural train, Adv train (Madry et al. 2018), TRADES (Zhang et al. 2019); runtime comparison also includes Free Adv Train (m=8).
- Attacks and metrics: CIFAR-10 white-box PGD-l∞ (ε=0.03, 20/100/200 steps, random start, plus PGD100 with 10 restarts); C&W-l2 (10 binary searches, 1000 iterations each, ε=0.05); transfer attacks use 10,000 PGD-l∞ samples generated from the natural model; ImageNet uses PGD-l∞ with random target labels (ε=0.005–0.02).
- Invariance tests: rotation by 10 degrees, brightness factor 1.5, contrast factor 2, grayscale (CIFAR-10, Wide ResNet).
- Hardware: Pytorch-1.2, dual Intel E5-2640 v4 CPUs, 512 GB memory, GTX 1080 GPU; the paper does not report the number of repetitions or statistical significance tests.
Main results
Accuracy on CIFAR-10 at ε=0.03 (according to Table 2):
Swipe horizontally to read the table
Method VGG-16 No attack VGG-16 PGD20 VGG-16 PGD200 WRN-20 No attack WRN-20 PGD20 WRN-20 PGD200 Natural train 93.34% 0.6% 0.0% 95.93% 0.0% 0.0% Adv train 80.32% 36.63% 36.01% 87.25% 45.91% 45.02% TRADES 84.85% 38.81% 37.95% 84.92% 56.23% 55.96% SPROUT 89.15% 62.24% 57.9% 90.56% 66.23% 64.30% - The authors state that SPROUT's robust accuracy is 10–20% higher than TRADES and adversarial training on both networks, while Clean Acc is also higher.
- Under C&W-l2 (ε=0.05), SPROUT is 85.21%, Adv train 77.76%, TRADES 82.58%; the authors state that SPROUT improves l∞ robustness without harming l2 robustness.
- Figure 1 five-dimension average score: Natural 0.6718, Adv train 0.6900, TRADES 0.7107, SPROUT 0.8798 (VGG-16, CIFAR-10, each dimension normalized by the best method).
Transfer attacks and ImageNet
- Transfer attacks (Table 3): SPROUT achieves 86.28% on VGG-16 and 89.1% on Wide ResNet, higher than Adv train (79.13%/85.84%) and TRADES (83.53%/83.9%); the authors state this indicates that SPROUT does not cause spurious robustness from obfuscated gradients.
- ImageNet (Table 4, ResNet-152): at ε=0.01, SPROUT 52.86% vs. Natural 9.14%; at ε=0.015, 35.04% vs. 2.12%; Clean Acc 74.23% vs. 78.31%. The authors state that SPROUT's clean accuracy is about 4% lower but robustness is greatly improved.
- Exception: ImageNet was not compared with adversarial training; the authors state this is because no public pretrained robust model of the same architecture was available and training cost is high; on ResNet-50 (Table 10), at ε≥0.01 SPROUT is lower than Free Adv Train (e.g., at ε=0.02: 18.52% vs. 24.45%), and the authors speculate that its ResNet-50 training parameters were not fully tuned.
Invariance, runtime, and loss surface
- Invariance (Table 5): SPROUT is higher than Adv train and TRADES on rotation (85.95%), brightness (88.26%), and contrast (86.98%), and higher than TRADES (79.27%) and Adv train (81.08%) on grayscale (81.64%); however, Natural is highest on all four (e.g., contrast 91.88%), which the authors state suggests a possible trade-off between invariance-test accuracy and l_p adversarial robustness.
- Runtime (Table 6, 10 epochs): on CIFAR-10, Adv train (VGG-16 1327.1 seconds, WRN 14246.1 seconds) and TRADES (1932.5/22438.4 seconds) take about 5 times as long as SPROUT (271.7/2727.8 seconds); Free Adv Train (m=8) is similar to TRADES, but the authors note that it may require fewer epochs to converge.
- Loss surface (Figure 2): the authors state that SPROUT's loss surface is smoother with smaller loss variation; the specific values in this figure are unreadable in the converted text.
Other ablations and analyses
- Module ablation (Table 7, VGG-16, PGD20/PGD100): GA 12.44%/9.46%, Mixup 0.76%/0.08%, Dirichlet 29.64%/9.77%, GA+Dirichlet 55.27%/53.79%, Uniform LS 15.36%/5.12%, SPROUT 62.64%/58.93%; the authors state that Dirichlet contributes the most and the three modules are complementary.
- Gradient diversity (Table 11): Dirichlet LS–Mixup 0.1023, Dirichlet LS–GA 0.0163, Mixup–GA 0.0111 (average cosine similarity over 10,000 samples); the authors state that the input gradient directions of the three modules differ greatly.
- Network width (Figure 3, widened ResNet-34): at width=1, both SPROUT and Adv train are below 47%; as width increases, the authors state that SPROUT is about 15% higher.
- Random restarts (Table 9, WRN, PGD-l∞ ε=0.03, 20 steps): from 1 to 10 restarts, SPROUT drops from 64.58% to 61.00%, Adv train is at least 45.21%, TRADES at least 56.7%; additionally, under 100 steps × 10 restarts, SPROUT is 61.18%.
- More PGD steps (Figure 7): the authors state that beyond 100 steps the accuracy of each method stabilizes, and SPROUT still leads.
- Initialization (Figure 8): the authors state that Natural+SPROUT is best at ε≥0.02, whereas Natural+Adv train and Natural+TRADES cannot improve robust accuracy.
- Hyperparameter sensitivity (Figure 5): with a fixed, too-large α, or with α fixed and a too large, robust accuracy decreases.
What are some points that can be further explored?
The paper does not have a dedicated limitations section; the experiments cover two image datasets and five networks, and ImageNet lacks a same-architecture comparison with adversarial training.
Limitations and future directions noted by the authors
- The paper does not specifically discuss limitations. The following are shortcomings or unfinished items explicitly acknowledged by the authors in the main text:
- On ImageNet, no comparison with adversarial training methods was made; the authors state that at submission time no public pretrained robust model of the same architecture (ResNet-152) was available, and training one themselves would be computationally expensive (Performance Evaluation section).
- On ResNet-50, SPROUT's clean accuracy is about 13% lower than on ResNet-152; the authors speculate that its ResNet-50 training parameters may not have been fully optimized (the default parameters for ResNet-152 were reused), and believe there may be larger gains on deeper ResNets (appendix).
- Methods combining unlabeled data and self-supervised learning with adversarial training "could in principle also be used for SPROUT, but are beyond the scope of this paper" (Related Work section).
- The authors state that there may be a trade-off between invariance-test accuracy and l_p adversarial robustness (Natural has the highest invariance-test accuracy), and do not investigate further (Invariance test section).
Scope of experiments
- Models tested are VGG-16, Wide ResNet (20), ResNet-152, ResNet-50, ResNet-34 (width experiment), all image classification networks.
- Datasets are CIFAR-10 and ImageNet; attacks cover PGD-l∞ (multiple steps, multiple random restarts), C&W-l2, C&W-l∞, and transfer attacks.
- Comparison methods are Natural, Adv train, TRADES; runtime and ImageNet ResNet-50 are additionally compared with Free Adv Train.
- The paper does not report the number of experimental repetitions or statistical significance tests; the specific values in Figures 2, 5, 6, 7, and 8 are unreadable in the converted text.
- Evaluations are all l_p-norm attacks and invariance tests with four input transformations; no other threat models are covered.
Summarize the main content of the paper
SPROUT replaces attack generation with learnable Dirichlet label smoothing, and on CIFAR-10/ImageNet its robust accuracy and training speed both outperform adversarial training baselines.
A robust training method paper: addressing the three limitations of adversarial training—poor scalability, attack specificity, and preference for wide networks—it proposes SPROUT, which is free of attack generation.
- Method: Parameterize label smoothing with a Dirichlet distribution, with parameter β and model weights co-trained in a min-max manner (β requires only a single-step gradient ascent), combined with Gaussian augmentation and Mixup; use the VRM framework to uniformly characterize multiple robust training methods (Table 1).
- CIFAR-10 main results (Table 2, ε=0.03): On VGG-16, PGD20 robust accuracy 62.24% (Adv train 36.63%, TRADES 38.81%); on Wide ResNet 66.23% (45.91%, 56.23%), with higher clean accuracy as well.
- Transfer and ImageNet: Under transfer attack, Wide ResNet 89.1% (Table 3); on ImageNet ResNet-152 at ε=0.01, 52.86% vs Natural 9.14% (Table 4).
- Efficiency (Table 6): On CIFAR-10, 10-epoch training time is about 1/5 of Adv train/TRADES (VGG-16: 271.7 seconds vs 1327.1/1932.5 seconds).
- Ablation (Table 7): Dirichlet label smoothing contributes the most, and the combination of the three modules is best; the authors state it is less sensitive to network width (Figure 3).
- Authors' conclusion: SPROUT is an attack-independent, scalable robust training paradigm; exceptions are that ImageNet was not compared with adversarial training under the same architecture, and on ResNet-50 at ε≥0.01 it is inferior to Free Adv Train, which the authors speculate is due to untuned parameters.