[Paper Review] Query Efficient Decision Based Sparse Attacks Against Black-Box Deep Learning Models
This paper proposes SparseEvo, an evolution-based, query-efficient decision-based sparse attack for black-box deep learning models. It achieves state-of-the-art attack success rates with significantly fewer queries than prior methods, matching white-box PGD₀ performance on ImageNet with only 5,000 queries in untargeted settings and 20,000 in targeted settings, while demonstrating robustness against both convolutional networks and vision transformers.
Despite our best efforts, deep learning models remain highly vulnerable to even tiny adversarial perturbations applied to the inputs. The ability to extract information from solely the output of a machine learning model to craft adversarial perturbations to black-box models is a practical threat against real-world systems, such as autonomous cars or machine learning models exposed as a service (MLaaS). Of particular interest are sparse attacks. The realization of sparse attacks in black-box models demonstrates that machine learning models are more vulnerable than we believe. Because these attacks aim to minimize the number of perturbed pixels measured by l_0 norm-required to mislead a model by solely observing the decision (the predicted label) returned to a model query; the so-called decision-based attack setting. But, such an attack leads to an NP-hard optimization problem. We develop an evolution-based algorithm-SparseEvo-for the problem and evaluate against both convolutional deep neural networks and vision transformers. Notably, vision transformers are yet to be investigated under a decision-based attack setting. SparseEvo requires significantly fewer model queries than the state-of-the-art sparse attack Pointwise for both untargeted and targeted attacks. The attack algorithm, although conceptually simple, is also competitive with only a limited query budget against the state-of-the-art gradient-based whitebox attacks in standard computer vision tasks such as ImageNet. Importantly, the query efficient SparseEvo, along with decision-based attacks, in general, raise new questions regarding the safety of deployed systems and poses new directions to study and understand the robustness of machine learning models.
Motivation & Objective
- To address the critical gap in query-efficient, decision-based sparse attacks against black-box deep learning models, particularly under limited output access.
- To evaluate the robustness of vision transformers (ViT) and convolutional neural networks (ResNet50) under $l_0$-norm constrained sparse attacks.
- To develop a method that achieves high attack success rate with minimal model queries, enabling scalable and stealthy adversarial attacks in real-world systems.
- To investigate whether vision transformers are more or less vulnerable than convolutional networks to sparse adversarial perturbations under decision-based settings.
Proposed method
- SparseEvo employs an evolutionary algorithm to iteratively optimize sparse perturbations by selecting and mutating pixel sets based on model decision feedback (predicted label).
- The algorithm uses a population-based search strategy where each individual represents a candidate perturbation pattern, with fitness determined by misclassification success.
- Perturbations are generated by modifying a small number of pixels (low $l_0$ norm), and the search is guided by the model’s top-1 predicted label after each query.
- The method maintains query efficiency by focusing on high-impact pixel changes and using adaptive mutation strategies to explore the search space effectively.
- It operates under a decision-based setting, requiring only the predicted class label per input, not score or gradient information.
- The algorithm is evaluated on ImageNet using both ResNet50 and Vision Transformer (ViT) models, with ablation on query budgets and sparsity thresholds.
Experimental results
Research questions
- RQ1Can a decision-based sparse attack achieve high success rates with significantly fewer queries than existing methods like Pointwise?
- RQ2How does the robustness of vision transformers compare to convolutional neural networks under $l_0$-norm sparse attacks in a black-box setting?
- RQ3To what extent can a query-efficient black-box attack match the performance of a white-box PGD₀ attack in terms of attack success rate and sparsity?
- RQ4Does the evolutionary search strategy in SparseEvo enable faster convergence to low-sparsity adversarial examples compared to gradient-based or random search methods?
Key findings
- SparseEvo achieves a higher attack success rate than Pointwise with only 1,000 queries in the untargeted setting, outperforming Pointwise at 5,000 queries.
- With 10,000 queries, SparseEvo outperforms Pointwise at 20,000 queries in the targeted setting, demonstrating superior query efficiency.
- In the untargeted setting, SparseEvo with 5,000 queries achieves the same attack success rate as the ideal white-box PGD₀ attack on ImageNet.
- In the targeted setting, SparseEvo with 20,000 queries achieves comparable performance to PGD₀ when the sparsity threshold exceeds 0.01.
- SparseEvo achieves a median sparsity of 78 perturbed pixels (out of 50,176) on ImageNet with only 3,000 queries in the untargeted setting, significantly lower than Pointwise.
- Vision Transformers (ViT) show higher robustness than ResNet50 under sparse attacks: at 2,000 queries, SparseEvo degrades ResNet50 as much as PGD₀, but requires 5,000 queries to degrade ViT to the same level.
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.