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

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Gubri, Martin, Cordy, Maxime, Traon, Yves Le
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866929248928792576
author Gubri, Martin
Cordy, Maxime
Traon, Yves Le
author_facet Gubri, Martin
Cordy, Maxime
Traon, Yves Le
contents 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. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2304_02688
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Going Further: Flatness at the Rescue of Early Stopping for Adversarial Example Transferability
Gubri, Martin
Cordy, Maxime
Traon, Yves Le
Machine Learning
Computer Vision and Pattern Recognition
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. 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.
title Going Further: Flatness at the Rescue of Early Stopping for Adversarial Example Transferability
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2304.02688