Stronger and Faster Wasserstein Adversarial Attacks

Kaiwen Wu, Allen Houze Wang, Yaoliang Yu
8/6/2020
cs.LGstat.ML

Official code: watml/fast-wasserstein-adversarial (24 stars, Python, last commit 2021-01-02).

Abstract

Deep models, while being extremely flexible and accurate, are surprisingly vulnerable to "small, imperceptible" perturbations known as adversarial attacks. While the majority of existing attacks focus on measuring perturbations under the $\ell_p$ metric, Wasserstein distance, which takes geometry in pixel space into account, has long been known to be a suitable metric for measuring image quality and has recently risen as a compelling alternative to the $\ell_p$ metric in adversarial attacks.

Show full abstract

However, constructing an effective attack under the Wasserstein metric is computationally much more challenging and calls for better optimization algorithms. We address this gap in two ways: (a) we develop an exact yet efficient projection operator to enable a stronger projected gradient attack; (b) we show that the Frank-Wolfe method equipped with a suitable linear minimization oracle works extremely fast under Wasserstein constraints. Our algorithms not only converge faster but also generate much stronger attacks. For instance, we decrease the accuracy of a residual network on CIFAR-10 to $3.4\%$ within a Wasserstein perturbation ball of radius $0.005$, in contrast to $65.6\%$ using the previous Wasserstein attack based on an \emph{approximate} projection operator. Furthermore, employing our stronger attacks in adversarial training significantly improves the robustness of adversarially trained models.

View on arXivView PDF

Code Implementations(1)

Implementation of Wasserstein adversarial attacks.

248Python, ShellMar 10, 20205 years ago

Similar Papers

Cite this paper

@article{wu2020stronger,
  title  = {Stronger and Faster Wasserstein Adversarial Attacks},
  author = {Kaiwen Wu and Allen Houze Wang and Yaoliang Yu},
  year   = {2020},
  eprint = {2008.02883},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.02883}
}

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

Discussion