[Paper Review] Query-Efficient Hard-label Black-box Attack:An Optimization-based Approach
Introduces an optimization-based framework for hard-label black-box adversarial attacks that avoids gradient use, provides convergence guarantees, and shows query-efficient success on CNNs and GBDT across MNIST, CIFAR, and ImageNet.
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. 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).
Motivation & Objective
- Motivate the vulnerability of models under hard-label black-box settings where only final decisions are observable.
- Reformulate hard-label attacks as a continuous real-valued optimization problem to enable zeroth-order optimization.
- Provide a theoretically grounded algorithm with convergence guarantees for finding adversarial examples with limited queries.
- Demonstrate effectiveness and query-efficiency on CNNs and Gradient Boosting Decision Trees (GBDT).
Proposed method
- Reformulate the attack as a boundary-based real-valued objective g(θ) that maps search directions to the distance to the nearest adversarial example along that direction.
- Compute g(θ) using hard-label queries via a two-phase process: a fine-grained search and a binary search to locate the decision boundary along θ.
- Apply Randomized Gradient-Free (RGF) optimization to minimize g(θ) with respect to θ, using zeroth-order gradient estimates based on noisy evaluations of g.
- Use multiple random Gaussian perturbations per iteration to stabilize gradient estimates, with a backtracking line search to adapt step sizes.
- Provide a theoretical convergence guarantee: under Lipschitz conditions on ∇g and controlled evaluation error ε, the algorithm achieves near-stationarity in O(d/δ^2) iterations.
- Demonstrate applicability beyond neural networks to discrete models like Gradient Boosting Decision Trees (GBDT).
Experimental results
Research questions
- RQ1Can hard-label black-box adversarial attacks be formulated as a real-valued optimization problem amenable to zeroth-order methods?
- RQ2What are the convergence guarantees and query complexities when using Randomized Gradient-Free optimization in this setting?
- RQ3How does the proposed method perform in terms of distortion and query efficiency compared to existing decision-based black-box attacks?
- RQ4Is the approach applicable to non-differentiable models such as GBDT, and what adversarial examples can be found under tight query budgets?
Key findings
- The boundary-based reformulation g(θ) yields a continuous objective suitable for zeroth-order optimization.
- RGF with approximate function evaluations converges to stationary points under Lipschitz gradient assumptions and controlled error.
- The method achieves lower or comparable distortion with significantly fewer queries than the prior decision-based black-box attack across MNIST, CIFAR-10, and ImageNet in untargeted scenarios.
- In targeted attacks, the method attains competitive distortion with fewer queries on MNIST and CIFAR-10, and remains viable on ImageNet with more queries.
- The approach successfully attacks Gradient Boosting Decision Trees (GBDT) with around 30,000 queries, illustrating applicability to non-differentiable models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.