Curriculum Adversarial Training

Qi-Zhi Cai, Chang Liu, Dawn Song

Abstract

Deep neural networks are notoriously vulnerable to adversarial examples—subtly modified inputs designed to deceive models. While adversarial training (AT) is effective for simple datasets, it struggles with complex benchmarks like CIFAR-10. We present Curriculum Adversarial Training (CAT), which addresses the twin issues of catastrophic forgetting and poor generalization. By gradually increasing attack strength and utilizing batch mixing to preserve knowledge of weaker attacks, CAT achieves a 25–35% improvement in worst-case accuracy over previous state-of-the-art methods.

The Challenge of Adversarial Robustness

The current gold standard for defense, established by Madry et al., posits that models should be trained against the strongest possible attacks. However, this approach has significant drawbacks on complex datasets. Training exclusively on high-intensity perturbations causes models to overfit to specific attack strengths, leading to two primary issues:

  1. Catastrophic Forgetting: The model loses its ability to defend against simpler, weaker attacks it previously mastered.
  2. Poor Generalization: The model fails to resist attacks even slightly stronger than those encountered during training.
Accuracy against k=6 and k=7 attacks during training, illustrating the catastrophic forgetting phenomenon as the curriculum progresses.

Methodology: Curriculum Adversarial Training (CAT)

To overcome these limitations, CAT introduces three core innovations:

1. The Curriculum Lesson Plan

Instead of immediate exposure to the strongest attacks, the model follows a progressive "lesson plan." Training begins with clean data and incrementally increases the attack strength (measured by PGD iterations, $k$) as the model achieves mastery of the current level.

2. Batch Mixing

To solve the forgetting problem, CAT employs "batch mixing." Rather than training only on the current curriculum level, each training batch contains a mixture of adversarial examples from all previous levels. This ensures the model maintains its defense against weak attacks while learning to handle more difficult ones.

3. Quantization as a Regularizer

The authors found that quantizing inputs (e.g., reducing 8-bit pixels to 4-bit) during inference acts as a powerful defense multiplier. By shrinking the search space available to an attacker, quantization helps the model generalize its robustness to unseen, stronger attacks.

Experimental Results

The CAT framework was evaluated on CIFAR-10 and SVHN using ResNet-50 and DenseNet-161 architectures. The improvements in empirical worst-case accuracy are substantial across all configurations.

Comparison of CAT (Ours) against the previous state-of-the-art (Madry et al., 2018) on CIFAR-10 and SVHN benchmarks.

On CIFAR-10, accuracy improved from 46.18% to 69.27% (DenseNet-161). On the SVHN dataset, the gains were even more pronounced, jumping from 40.38% to 75.66%. Notably, CAT is also more computationally efficient than standard AT, as it avoids computing high-iteration attacks in every epoch.

Discussion and Limitations

While CAT provides a massive boost to robustness, it introduces a small "clean accuracy" trade-off, with a 5–6% drop in performance on non-adversarial images. Future work may explore more sophisticated batch-mixing ratios or alternative proxies for attack strength beyond PGD iterations to further bridge the gap between standard and robust performance.

Summary updated

BibTeX
@inproceedings{cai2018curriculum,
  author = {Qi-Zhi Cai and Chang Liu and Dawn Song},
  title = {{Curriculum Adversarial Training}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/520},
}
Figure