Introduction
Adversarial training (AT) remains the most effective defense against adversarial examples—carefully crafted perturbations that can cause deep learning models to fail. However, the computational cost of AT is a major barrier. Generating high-quality adversarial examples typically requires an iterative optimization process (like PGD-k) in every training epoch, making AT roughly 10 to 100 times slower than standard training. For large-scale datasets like ImageNet, this overhead is often prohibitive.
The ATTA Framework: Recycling Perturbations
The core innovation of Adversarial Training with Transferable Adversarial Examples (ATTA) is the realization that models change slowly between adjacent training epochs. Instead of discarding adversarial perturbations and starting from scratch every epoch, ATTA "recycles" them.
Accumulative PGD
In standard PGD training, the attack starts from a clean image at every epoch. In contrast, ATTA starts from the adversarial perturbation generated in the previous epoch. By taking just one or a few attack steps (ATTA-1) and saving the result, the attack strength effectively accumulates over the course of training. This allows a single-step attack to eventually reach the same potency as a computationally expensive multi-step attack.
The Connection Function
Reusing perturbations across epochs is complicated by Data Augmentation. If an image is cropped or flipped in Epoch 2 differently than it was in Epoch 1, the old perturbation will no longer align with the pixels. ATTA solves this using a "Connection Function" ($C$) that performs inverse data augmentation, mapping the perturbation back to the original image's coordinate space to ensure it remains relevant across epochs.
Key Insights: Efficiency vs. Strength
Traditionally, researchers faced a trade-off: use fewer attack steps for speed (weak defense) or more steps for robustness (slow training). ATTA breaks this trade-off. Because the perturbations are refined over multiple epochs, the "loss" (a proxy for attack strength) increases over time. As shown in the experimental data, an ATTA-1 attack eventually matches the loss values of a PGD-40 attack without the per-epoch cost.
Experimental Results
The researchers demonstrated that ATTA provides significant improvements in both speed and robustness across multiple benchmarks:
- Massive Speedups: ATTA achieved a 12.2x speedup on MNIST and a 14.1x speedup on CIFAR-10 compared to traditional PGD-40 training.
- Improved Accuracy: On CIFAR-10, ATTA improved adversarial accuracy by up to 7.2% over the standard Madry (MAT) baseline. This suggests that training on a variety of accumulated perturbations helps the model generalize better.
- Scalability to ImageNet: The efficiency of ATTA allowed the authors to adversarially train an ImageNet model in just 97 hours on a single GPU, a task that previously required massive compute clusters.
Conclusion
ATTA demonstrates that the entire training process can be viewed as one continuous optimization of adversarial examples. By leveraging temporal transferability and the Connection Function, ATTA slashes the cost of adversarial training while maintaining—and often exceeding—the robustness of much slower traditional methods. This makes robust deep learning far more accessible for real-world applications.
Summary updated