[Paper Review] Query-Efficient Black-Box Attack by Active Learning
This paper proposes a query-efficient black-box attack method using active learning and diversity-aware sampling to reduce the number of queries needed to train an accurate substitute model. By leveraging advanced white-box attacks like C&W and DeepFool, and applying active learning with a diversity criterion, the approach reduces queries by over 90% while maintaining high attack success rates and achieving over 85% similarity to the target model.
Deep neural network (DNN) as a popular machine learning model is found to be vulnerable to adversarial attack. This attack constructs adversarial examples by adding small perturbations to the raw input, while appearing unmodified to human eyes but will be misclassified by a well-trained classifier. In this paper, we focus on the black-box attack setting where attackers have almost no access to the underlying models. To conduct black-box attack, a popular approach aims to train a substitute model based on the information queried from the target DNN. The substitute model can then be attacked using existing white-box attack approaches, and the generated adversarial examples will be used to attack the target DNN. Despite its encouraging results, this approach suffers from poor query efficiency, i.e., attackers usually needs to query a huge amount of times to collect enough information for training an accurate substitute model. To this end, we first utilize state-of-the-art white-box attack methods to generate samples for querying, and then introduce an active learning strategy to significantly reduce the number of queries needed. Besides, we also propose a diversity criterion to avoid the sampling bias. Our extensive experimental results on MNIST and CIFAR-10 show that the proposed method can reduce more than $90\%$ of queries while preserve attacking success rates and obtain an accurate substitute model which is more than $85\%$ similar with the target oracle.
Motivation & Objective
- To address the high query cost in transfer-based black-box attacks, where attackers need thousands of queries to train a substitute model.
- To improve query efficiency by replacing random or heuristic sampling with active learning strategies that prioritize informative samples.
- To mitigate sampling bias in active learning by introducing a diversity criterion that ensures representative coverage of the decision boundary.
- To evaluate the effectiveness of combining state-of-the-art white-box attack methods (C&W and DeepFool) with active learning for black-box transfer attacks.
- To demonstrate that the proposed method achieves comparable or better attack success rates with significantly fewer queries than baseline approaches.
Proposed method
- The method uses C&W and DeepFool attacks to generate high-quality adversarial examples for query data collection, replacing less effective methods like JSMA.
- It applies an active learning strategy—specifically, the Max Entropy and Margin-based uncertainty sampling—to select the most informative samples for querying the target model.
- A diversity criterion is introduced to ensure that selected queries are not only informative but also spread across different regions of the decision boundary, reducing bias.
- The substitute model is trained using the actively selected and diversified query data, which improves its ability to mimic the target model's decision boundary.
- The query process starts with a small set of initial queries and iteratively selects new samples based on uncertainty and diversity, with query count growing linearly after an initial phase.
- The approach is evaluated on MNIST and CIFAR-10, comparing performance against the baseline Raw method that uses random sampling and reservoir sampling.
Experimental results
Research questions
- RQ1Can advanced white-box attack methods like C&W and DeepFool improve the quality of training data for substitute models in black-box attacks compared to simpler methods like JSMA?
- RQ2How much can active learning reduce the number of queries required to train an accurate substitute model in a black-box attack setting?
- RQ3Does incorporating a diversity criterion into active learning improve the generalization and similarity of the substitute model to the target model?
- RQ4Can the combination of active learning and diversity sampling maintain or improve attack success rates while drastically reducing query counts?
- RQ5How does the proposed method compare to the baseline Raw method in terms of query efficiency, attack success rate, and substitute model accuracy?
Key findings
- The proposed method reduces query counts by over 90% compared to the baseline Raw method, achieving similar or better attack success rates.
- For a 10% attack success rate on CIFAR-10, the original Max Entropy method required over 5,000 queries, while the improved method reduced this to under 400 queries.
- The improved method achieved 85% similarity to the target model with only 200 queries, compared to 600 queries for the original active learning method.
- The diversity-aware strategy significantly accelerated the convergence of the substitute model’s decision boundary to match that of the target oracle.
- On CIFAR-10, the improved method reduced the number of queries needed to achieve less than 10% target model accuracy from over 10,000 (baseline) to under 1,000.
- The combination of C&W/DeepFool-based data generation and active learning with diversity outperformed all baselines in both query efficiency and model similarity.
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.