Relating Adversarially Robust Generalization to Flat Minima

By David Stutz, Matthias Hein, Bernt Schiele. 2021

80 citations recorded by the source corpus.

Adversarial training (AT) has become the de-facto standard to obtain models robust against adversarial examples. However, AT exhibits severe robust overfitting: cross-entropy loss on adversarial examples, so-called robust loss, decreases continuously on training examples, while eventually increasing on test examples. In practice, this leads to poor robust generalization, i.e., adversarial robustness does not generalize well to new examples. In this paper, we study the relationship between robust generalization and flatness of the robust loss landscape in weight space, i.e., whether robust loss changes significantly when perturbing weights. To this end, we propose average- and worst-case metrics to measure flatness in the robust loss landscape and show a correlation between good robust generalization and flatness. For example, throughout training, flatness reduces significantly during overfitting such that early stopping effectively finds flatter minima in the robust loss landscape. Similarly, AT variants achieving higher adversarial robustness also correspond to flatter minima. This holds for many popular choices, e.g., AT-AWP, TRADES, MART, AT with self-supervision or additional unlabeled examples, as well as simple regularization techniques, e.g., AutoAugment, weight decay or label noise. For fair comparison across these approaches, our flatness measures are specifically designed to be scale-invariant and we conduct extensive experiments to validate our findings.

Subfields: Artificial Intelligence, Electrical and Electronic Engineering

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Matthias Hein
  2. Francesco Croce
  3. Maksym Andriushchenko
  4. Prateek Mittal
  5. Vikash Sehwag
  6. Edoardo Debenedetti
  7. Mung Chiang
  8. Bernt Schiele

In Electrical and Electronic Engineering

  1. Maksym Andriushchenko
  2. Matthias Hein
  3. Francesco Croce
  4. Prateek Mittal
  5. Mung Chiang
  6. Edoardo Debenedetti
  7. Vikash Sehwag
  8. Tianyu Pang

Citations in the corpus