Towards Query Efficient Black-box Attacks: An Input-free Perspective

Yali Du, Meng Fang, Jinfeng Yi, Jun Cheng, Dacheng Tao
9/9/2018
stat.MLcs.CRcs.CV

Official code: yalidu/input-free-attack (6 stars, Python, last commit 2018-11-02).

Abstract

Recent studies have highlighted that deep neural networks (DNNs) are vulnerable to adversarial attacks, even in a black-box scenario. However, most of the existing black-box attack algorithms need to make a huge amount of queries to perform attacks, which is not practical in the real world.

Show full abstract

We note one of the main reasons for the massive queries is that the adversarial example is required to be visually similar to the original image, but in many cases, how adversarial examples look like does not matter much. It inspires us to introduce a new attack called \emph{input-free} attack, under which an adversary can choose an arbitrary image to start with and is allowed to add perceptible perturbations on it. Following this approach, we propose two techniques to significantly reduce the query complexity. First, we initialize an adversarial example with a gray color image on which every pixel has roughly the same importance for the target model. Then we shrink the dimension of the attack space by perturbing a small region and tiling it to cover the input image. To make our algorithm more effective, we stabilize a projected gradient ascent algorithm with momentum, and also propose a heuristic approach for region size selection. Through extensive experiments, we show that with only 1,701 queries on average, we can perturb a gray image to any target class of ImageNet with a 100\% success rate on InceptionV3. Besides, our algorithm has successfully defeated two real-world systems, the Clarifai food detection API and the Baidu Animal Identification API.

View on arXivView PDF

Code Implementations(1)

Towards Query Efficient Black-box Attacks: An Input-free Perspective

63PythonAug 20, 20188 years ago

Similar Papers

Cite this paper

@article{du2018towards,
  title  = {Towards Query Efficient Black-box Attacks: An Input-free Perspective},
  author = {Yali Du and Meng Fang and Jinfeng Yi and Jun Cheng and Dacheng Tao},
  year   = {2018},
  eprint = {1809.02918},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.02918}
}

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

Discussion