GenAttack: Practical Black-box Attacks with Gradient-Free Optimization

Moustafa Alzantot, Yash Sharma, Supriyo Chakraborty, Huan Zhang, Cho-Jui Hsieh +1 more
5/28/2018
308 citations
cs.LGcs.AIcs.CR

Official code: nesl/adversarial_genattack (58 stars, Python, MIT, last commit 2023-03-24).

Abstract

Deep neural networks are vulnerable to adversarial examples, even in the black-box setting, where the attacker is restricted solely to query access. Existing black-box approaches to generating adversarial examples typically require a significant number of queries, either for training a substitute network or performing gradient estimation.

Show full abstract

We introduce GenAttack, a gradient-free optimization technique that uses genetic algorithms for synthesizing adversarial examples in the black-box setting. Our experiments on different datasets (MNIST, CIFAR-10, and ImageNet) show that GenAttack can successfully generate visually imperceptible adversarial examples against state-of-the-art image recognition models with orders of magnitude fewer queries than previous approaches. Against MNIST and CIFAR-10 models, GenAttack required roughly 2,126 and 2,568 times fewer queries respectively, than ZOO, the prior state-of-the-art black-box attack. In order to scale up the attack to large-scale high-dimensional ImageNet models, we perform a series of optimizations that further improve the query efficiency of our attack leading to 237 times fewer queries against the Inception-v3 model than ZOO. Furthermore, we show that GenAttack can successfully attack some state-of-the-art ImageNet defenses, including ensemble adversarial training and non-differentiable or randomized input transformations. Our results suggest that evolutionary algorithms open up a promising area of research into effective black-box attacks.

View on arXivView PDF

Code Implementations(1)

MIT
5813PythonMay 28, 20183 years agoMIT

Similar Papers

Cite this paper

@article{alzantot2018genattack,
  title  = {GenAttack: Practical Black-box Attacks with Gradient-Free Optimization},
  author = {Moustafa Alzantot and Yash Sharma and Supriyo Chakraborty and Huan Zhang and Cho-Jui Hsieh and Mani Srivastava},
  year   = {2018},
  eprint = {1805.11090},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.11090}
}

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

Discussion