Lune

NeurIPS2022Top-tier venue

Stability Analysis and Generalization Bounds of Adversarial Training

Jiancong Xiao, Yanbo Fan, Ruoyu Sun, Jue Wang, Zhi-Quan Luo

2022Year
49Citations
14Top-tier citations

Abstract

In adversarial machine learning, deep neural networks can fit the adversarial examples on the training dataset but have poor generalization ability on the test set. This phenomenon is called robust overfitting, and it can be observed when adversarially training neural nets on common datasets, including SVHN, CIFAR-10, CIFAR-100, and ImageNet. In this paper, we study the robust overfitting issue of adversarial training by using tools from uniform stability. One major challenge is that the outer function (as a maximization of the inner function) is nonsmooth, so the standard technique (e.g., hardt et al., 2016) cannot be applied. Our approach is to consider η\eta-approximate smoothness: we show that the outer function satisfies this modified smoothness assumption with η\eta being a constant related to the adversarial perturbation ϵ\epsilon. Based on this, we derive stability-based generalization bounds for stochastic gradient descent (SGD) on the general class of η\eta-approximate smooth functions, which covers the adversarial loss. Our results suggest that robust test accuracy decreases in ϵ\epsilon when TT is large, with a speed between Ω(ϵT)\Omega(\epsilon\sqrt{T}) and O(ϵT)\mathcal{O}(\epsilon T). This phenomenon is also observed in practice. Additionally, we show that a few popular techniques for adversarial training (e.g., early stopping, cyclic learning rate, and stochastic weight averaging) are stability-promoting in theory.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 69ade401-4dce-4ab1-a53a-462311f9b0e0

Cited by top-tier papers14

Ask how each one uses it

Builds on15

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines