Query-Efficient Hard-label Black-box Attack:An Optimization-based Approach

Minhao Cheng, Thong Le, Pin-Yu Chen, Jinfeng Yi, Huan Zhang +1 more
7/12/2018
cs.LGcs.AIstat.ML

Official code: cmhcbb/attackbox (67 stars, Jupyter Notebook, MIT, last commit 2022-01-06).

Abstract

We study the problem of attacking a machine learning model in the hard-label black-box setting, where no model information is revealed except that the attacker can make queries to probe the corresponding hard-label decisions. This is a very challenging problem since the direct extension of state-of-the-art white-box attacks (e.g., CW or PGD) to the hard-label black-box setting will require minimizing a non-continuous step function, which is combinatorial and cannot be solved by a gradient-based optimizer.

Show full abstract

The only current approach is based on random walk on the boundary, which requires lots of queries and lacks convergence guarantees. We propose a novel way to formulate the hard-label black-box attack as a real-valued optimization problem which is usually continuous and can be solved by any zeroth order optimization algorithm. For example, using the Randomized Gradient-Free method, we are able to bound the number of iterations needed for our algorithm to achieve stationary points. We demonstrate that our proposed method outperforms the previous random walk approach to attacking convolutional neural networks on MNIST, CIFAR, and ImageNet datasets. More interestingly, we show that the proposed algorithm can also be used to attack other discrete and non-continuous machine learning models, such as Gradient Boosting Decision Trees (GBDT).

View on arXivView PDF

Code Implementations(1)

cmhcbb/attackboxOfficial100%
MIT
6726Jupyter Notebook, PythonJun 7, 20184 years agoMIT

Similar Papers

Cite this paper

@article{cheng2018queryefficient,
  title  = {Query-Efficient Hard-label Black-box Attack:An Optimization-based Approach},
  author = {Minhao Cheng and Thong Le and Pin-Yu Chen and Jinfeng Yi and Huan Zhang and Cho-Jui Hsieh},
  year   = {2018},
  eprint = {1807.04457},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.04457}
}

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

Discussion