[Paper Review] Query-limited Black-box Attacks to Classifiers
This paper proposes a Bayesian optimization (BO)-based black-box attack strategy to generate adversarial examples with minimal query cost, targeting machine learning classifiers where each query is expensive. By modeling the attack as a constrained optimization problem and using BO to intelligently select query points, the method reduces query counts by up to 90% compared to random search, especially effective under low feature modification budgets.
We study black-box attacks on machine learning classifiers where each query to the model incurs some cost or risk of detection to the adversary. We focus explicitly on minimizing the number of queries as a major objective. Specifically, we consider the problem of attacking machine learning classifiers subject to a budget of feature modification cost while minimizing the number of queries, where each query returns only a class and confidence score. We describe an approach that uses Bayesian optimization to minimize the number of queries, and find that the number of queries can be reduced to approximately one tenth of the number needed through a random strategy for scenarios where the feature modification cost budget is low.
Motivation & Objective
- Address the challenge of minimizing query interactions in black-box adversarial attacks where each model query incurs cost or detection risk.
- Formulate the attack generation as a constrained optimization problem minimizing queries subject to feature modification cost limits.
- Develop a general-purpose attack strategy applicable to arbitrary continuous classifiers, including neural networks and SVMs.
- Demonstrate significant improvement in query efficiency over random search, especially under tight cost budgets.
- Enable practical adversarial attacks in real-world settings such as spam filtering, where sending queries is costly or detectable.
Proposed method
- Model the adversarial attack generation as a constrained optimization problem: minimize query count Q(x) subject to f(x) ≠ f(xA) and ||x − xA||₁ ≤ C.
- Apply Bayesian optimization (BO) to efficiently search for adversarial examples by iteratively selecting promising query points using an acquisition function.
- Use a Gaussian process prior to model the unknown classifier function and update beliefs after each query.
- Define an acquisition function that balances exploration (high uncertainty) and exploitation (low predicted confidence in original class).
- Terminate the search when a successful adversarial example is found or when a query limit is reached.
- Support both untargeted and targeted attacks by modifying the objective function to maximize the probability of predicting the target class.
Experimental results
Research questions
- RQ1Can Bayesian optimization significantly reduce the number of queries required to generate adversarial examples in a black-box setting?
- RQ2How does the proposed BO-based attack perform under low feature modification cost budgets compared to random search?
- RQ3To what extent is the query efficiency of the BO-based method preserved across different types of classifiers (e.g., linear SVM, RBF SVM, ANN)?
- RQ4How does the method scale in terms of query efficiency when the feature modification budget is varied?
- RQ5Can the approach be generalized to other black-box attack scenarios beyond text-based spam detection?
Key findings
- The BO-based attack reduces the average number of queries by up to 90% compared to random search, particularly effective when the feature modification cost budget is low.
- For the ANN classifier with a cost budget of C = 10, the BO method required only 16 queries on average to find the first successful adversarial example, compared to over 400 queries with random search.
- The performance gain of BO is most pronounced in low-budget regimes, where random search struggles to find adversarial examples within the query limit.
- The method achieves consistent query reduction across all tested classifiers: linear SVM, RBF SVM, and ANN, demonstrating generalizability.
- The conservative estimation of BO query counts (capping at 50 queries) suggests that the actual performance gain is even greater than reported, as the method often converges well before the limit.
- The approach is effective for both untargeted and targeted attacks, with the objective function easily adapted to target specific classes.
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.