Understanding and Combating Robust Overfitting via Input Loss Landscape Analysis and Regularization

Lin Li, Michael Spratling
12/9/2022
cs.LG

Official code: TreeLLi/Combating-RO-AdvLC (3 stars, Python, MIT, last commit 2022-12-08).

Abstract

Adversarial training is widely used to improve the robustness of deep neural networks to adversarial attack. However, adversarial training is prone to overfitting, and the cause is far from clear.

Show full abstract

This work sheds light on the mechanisms underlying overfitting through analyzing the loss landscape w.r.t. the input. We find that robust overfitting results from standard training, specifically the minimization of the clean loss, and can be mitigated by regularization of the loss gradients. Moreover, we find that robust overfitting turns severer during adversarial training partially because the gradient regularization effect of adversarial training becomes weaker due to the increase in the loss landscapes curvature. To improve robust generalization, we propose a new regularizer to smooth the loss landscape by penalizing the weighted logits variation along the adversarial direction. Our method significantly mitigates robust overfitting and achieves the highest robustness and efficiency compared to similar previous methods. Code is available at https://github.com/TreeLLi/Combating-RO-AdvLC.

View on arXivView PDF

Code Implementations(1)

MIT

Combating robust overfitting in adversarial training via AdvLC

30PythonOct 22, 20223 years agoMIT
adversarial-trainingdeep-neural-networksrobust-overfitting

Similar Papers

Cite this paper

@article{li2022understanding,
  title  = {Understanding and Combating Robust Overfitting via Input Loss Landscape Analysis and Regularization},
  author = {Lin Li and Michael Spratling},
  year   = {2022},
  eprint = {2212.04985},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.04985}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.04985.svg)](https://codeofpaper.com/paper/2212.04985)

Discussion