An Alternative Surrogate Loss for PGD-based Adversarial Testing

Sven Gowal, Jonathan Uesato, Chongli Qin, Po-Sen Huang, Timothy Mann +1 more
10/21/2019
96 citations
cs.LGstat.ML

Official code: MadryLab/mnist_challenge (759 stars, Python, MIT, last commit 2022-05-03). 2 more implementations below.

Abstract

Adversarial testing methods based on Projected Gradient Descent (PGD) are widely used for searching norm-bounded perturbations that cause the inputs of neural networks to be misclassified. This paper takes a deeper look at these methods and explains the effect of different hyperparameters (i.e., optimizer, step size and surrogate loss).

Show full abstract

We introduce the concept of MultiTargeted testing, which makes clever use of alternative surrogate losses, and explain when and how MultiTargeted is guaranteed to find optimal perturbations. Finally, we demonstrate that MultiTargeted outperforms more sophisticated methods and often requires less iterative steps than other variants of PGD found in the literature. Notably, MultiTargeted ranks first on MadryLab's white-box MNIST and CIFAR-10 leaderboards, reducing the accuracy of their MNIST model to 88.36% (with $\ell_\infty$ perturbations of $ε= 0.3$) and the accuracy of their CIFAR-10 model to 44.03% (at $ε= 8/255$). MultiTargeted also ranks first on the TRADES leaderboard reducing the accuracy of their CIFAR-10 model to 53.07% (with $\ell_\infty$ perturbations of $ε= 0.031$).

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
MadryLab/mnist_challengeOfficial759PythonMIT2022-05-03
yaodongyu/TRADESOfficial563PythonMIT2023-03-30
MadryLab/cifar10_challengeOfficial510PythonMIT2021-08-30
MIT

A challenge to explore adversarial robustness of neural networks on MNIST.

759180PythonJun 28, 20174 years agoMIT
yaodongyu/TRADESOfficial100%
MIT

TRADES (TRadeoff-inspired Adversarial DEfense via Surrogate-loss minimization)

563123PythonJan 21, 20193 years agoMIT
MIT

A challenge to explore adversarial robustness of neural networks on CIFAR10.

510129PythonJul 12, 20175 years agoMIT

Similar Papers

Cite this paper

@article{gowal2019alternative,
  title  = {An Alternative Surrogate Loss for PGD-based Adversarial Testing},
  author = {Sven Gowal and Jonathan Uesato and Chongli Qin and Po-Sen Huang and Timothy Mann and Pushmeet Kohli},
  year   = {2019},
  eprint = {1910.09338},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.09338}
}

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

Discussion