Going Further: Flatness at the Rescue of Early Stopping for Adversarial Example Transferability

Martin Gubri, Maxime Cordy, Yves Le Traon
4/5/2023
3 citations
cs.LGcs.CVstat.ML

Official code: Framartin/rfn-flatness-transferability (0 stars, GPL-3.0, last commit 2023-04-05).

Abstract

Transferability is the property of adversarial examples to be misclassified by other models than the surrogate model for which they were crafted. Previous research has shown that early stopping the training of the surrogate model substantially increases transferability.

Show full abstract

A common hypothesis to explain this is that deep neural networks (DNNs) first learn robust features, which are more generic, thus a better surrogate. Then, at later epochs, DNNs learn non-robust features, which are more brittle, hence worst surrogate. First, we tend to refute this hypothesis, using transferability as a proxy for representation similarity. We then establish links between transferability and the exploration of the loss landscape in parameter space, focusing on sharpness, which is affected by early stopping. This leads us to evaluate surrogate models trained with seven minimizers that minimize both loss value and loss sharpness. Among them, SAM consistently outperforms early stopping by up to 28.8 percentage points. We discover that the strong SAM regularization from large flat neighborhoods tightly links to transferability. Finally, the best sharpness-aware minimizers prove competitive with other training methods and complement existing transferability techniques.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Source of the paper "Going Further: Flatness at the Rescue of Early Stopping for Adversarial Example Transferability"

00Apr 5, 20233 years agoGPL-3.0

Similar Papers

Cite this paper

@article{gubri2023going,
  title  = {Going Further: Flatness at the Rescue of Early Stopping for Adversarial Example Transferability},
  author = {Martin Gubri and Maxime Cordy and Yves Le Traon},
  year   = {2023},
  eprint = {2304.02688},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.02688v2}
}

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

Discussion