Efficient local linearity regularization to overcome catastrophic overfitting

Elias Abad Rocamora, Fanghui Liu, Grigorios G. Chrysos, Pablo M. Olmos, Volkan Cevher
1/21/2024
cs.LGcs.AIcs.CR

Official code: LIONS-EPFL/ELLE (3 stars, MIT, last commit 2024-07-09).

Abstract

Catastrophic overfitting (CO) in single-step adversarial training (AT) results in abrupt drops in the adversarial test accuracy (even down to 0%). For models trained with multi-step AT, it has been observed that the loss function behaves locally linearly with respect to the input, this is however lost in single-step AT. To address CO in single-step AT, several methods have been proposed to enforce local linearity of the loss via regularization. However, these regularization terms considerably slow down training due to Double Backpropagation. Instead, in this work, we introduce a regularization term, called ELLE, to mitigate CO effectively and efficiently in classical AT evaluations, as well as some more difficult regimes, e.g., large adversarial perturbations and long training schedules. Our regularization term can be theoretically linked to curvature of the loss function and is computationally cheaper than previous methods by avoiding Double Backpropagation. Our thorough experimental validation demonstrates that our work does not suffer from CO, even in challenging settings where previous works suffer from it. We also notice that adapting our regularization parameter during training (ELLE-A) greatly improves the performance, specially in large $ε$ setups. Our implementation is available in https://github.com/LIONS-EPFL/ELLE .

View on arXivView PDF

Code Implementations(1)

LIONS-EPFL/ELLEOfficial100%
MIT

Efficient local linearity regularization to overcome catastrophic overfitting - ICLR 2024

30Shell, PythonJan 21, 20242 years agoMIT

Similar Papers

Cite this paper

@article{rocamora2024efficient,
  title  = {Efficient local linearity regularization to overcome catastrophic overfitting},
  author = {Elias Abad Rocamora and Fanghui Liu and Grigorios G. Chrysos and Pablo M. Olmos and Volkan Cevher},
  year   = {2024},
  eprint = {2401.11618},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.11618v2},
  journal = {ICLR 2024 2024}
}

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/2401.11618.svg)](https://codeofpaper.com/paper/2401.11618)

Discussion