Overfitting in adversarially robust deep learning
Leslie Rice, Eric Wong, J. Zico Kolter
TL;DR
The paper reveals that robust overfitting is a widespread phenomenon in adversarially trained networks, where longer training after initial learning-rate decays degrades robust test performance. It demonstrates that early stopping, including validation-based stopping, can match or surpass many algorithmic advances like TRADES on robustness across multiple datasets and threat models. Classical regularization and data augmentation offer limited, often context-dependent gains and rarely exceed the benefits of early stopping, though combining semi-supervised augmentation with early stopping can provide notable improvements. The findings advocate for validation-driven model selection and highlight a fundamental distinction between standard and robust generalization, with practical implications for evaluating and deploying adversarial defenses.
Abstract
It is common practice in deep learning to use overparameterized networks and train for as long as possible; there are numerous studies that show, both theoretically and empirically, that such practices surprisingly do not unduly harm the generalization performance of the classifier. In this paper, we empirically study this phenomenon in the setting of adversarially trained deep networks, which are trained to minimize the loss under worst-case adversarial perturbations. We find that overfitting to the training set does in fact harm robust performance to a very large degree in adversarially robust training across multiple datasets (SVHN, CIFAR-10, CIFAR-100, and ImageNet) and perturbation models ($\ell_\infty$ and $\ell_2$). Based upon this observed effect, we show that the performance gains of virtually all recent algorithmic improvements upon adversarial training can be matched by simply using early stopping. We also show that effects such as the double descent curve do still occur in adversarially trained models, yet fail to explain the observed overfitting. Finally, we study several classical and modern deep learning remedies for overfitting, including regularization and data augmentation, and find that no approach in isolation improves significantly upon the gains achieved by early stopping. All code for reproducing the experiments as well as pretrained model weights and training logs can be found at https://github.com/locuslab/robust_overfitting.
