Uncovering the Limits of Adversarial Training against Norm-Bounded Adversarial Examples

Sven Gowal, Chongli Qin, Jonathan Uesato, Timothy A. Mann, Pushmeet KohliarXiv 2020

Abstract

DeepMind researchers conducted a massive systematic study to find the true performance ceiling of adversarial training. By combining larger models, smooth activation functions, and model weight averaging, they shattered previous benchmarks, achieving a record 65.88% robust accuracy on CIFAR-10 and proving that we haven't yet reached the "limits" of current defense paradigms.

Introduction

Deep neural networks are notoriously fragile; a tiny, imperceptible change to an image (an "adversarial perturbation") can trick a world-class model into misclassifying an object with high confidence. Adversarial Training (AT)—the process of training on these "hard" examples—is the most effective defense we have, but progress in the field had seemingly plateaued.

The authors set out to determine if we were hitting a fundamental mathematical limit of robustness or if we simply hadn't found the right combination of "tricks" and scale. They systematically dissected the training pipeline to see how much performance was left on the table.

Methodology

The researchers didn't invent a radically new algorithm; instead, they optimized the existing AT framework to its logical extreme. Key components included:

  • Scaling Up: They moved beyond standard architectures to massive Wide ResNets (up to WRN-70-16 with 267M parameters).
  • Smooth Activations: They replaced the standard ReLU activation function with "smooth" alternatives like Swish/SiLU, which help the model find better gradients during the adversarial search.
  • Model Weight Averaging (WA): They used an exponential moving average of the model's weights during training. This technique helps the model reach flatter, more robust regions of the loss landscape.
  • Better Losses: They compared standard AT loss against TRADES, which explicitly balances the trade-off between standard accuracy and robustness.
  • Unlabeled Data: They leveraged a pseudo-labeling approach to incorporate additional unlabeled images from the 80 Million Tiny Images dataset, effectively increasing the "density" of the data manifold.
Performance comparison of various adversarial training setups across different loss functions and data configurations.

Key Insights

  • Capacity is King: Robustness requires significantly more model capacity than standard accuracy. Larger models don't just memorize better; they generalize their robustness more effectively.
  • The "Free Lunch" of Weight Averaging: WA consistently provided a boost in robustness (up to +1.4%) without requiring extra adversarial examples during training. It also makes the model less sensitive to the exact moment you stop training.
  • Activation Functions Matter: While ReLU is the industry standard, "smooth" functions like Swish allow the inner optimization (the "attack" during training) to find harder examples, leading to a stronger final defense.
  • Data Density: Adding unlabeled data is one of the strongest levers for robustness. However, there is a "sweet spot"—adding too much irrelevant data can eventually degrade performance.

Results

The paper established a new state-of-the-art (SOTA) across multiple benchmarks using the rigorous AutoAttack evaluation suite. On CIFAR-10 ($\ell_\infty$ at 8/255), the researchers achieved 65.88% robust accuracy with unlabeled data (a +6.35% improvement over prior art) and 57.20% without additional data (+3.46% improvement).

Robust accuracy on CIFAR-10 over time, showing the significant jump achieved by this work compared to previous benchmarks.

Crucially, they showed that these improvements were real and not due to "gradient masking," a common flaw where models appear robust only because the attack algorithm fails to find the right direction.

Limitations and Future Work

Despite these impressive gains, the authors acknowledge that we are still far from human-level robustness. Training these massive models with adversarial examples is extremely expensive, requiring significant TPU/GPU resources. Furthermore, as models get larger and data gets more plentiful, the gains in robustness start to slow down. The authors suggest that while we can push AT further with scale, reaching the next level of robustness might require fundamentally new approaches to how neural networks represent features, rather than just better optimization of current architectures.

Summary updated

BibTeX
@misc{gowal2020uncovering,
  author = {Sven Gowal and Chongli Qin and Jonathan Uesato and Timothy A. Mann and Pushmeet Kohli},
  title = {{Uncovering the Limits of Adversarial Training against Norm-Bounded Adversarial Examples}},
  year = {2020},
  eprint = {2010.03593},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.03593},
}
Figure