[Paper Review] Query-efficient Meta Attack to Deep Neural Networks
This paper proposes a query-efficient meta-attack method for black-box adversarial attacks on deep neural networks by leveraging meta learning to distill generalizable prior knowledge from previous attack patterns. By fine-tuning a meta attacker on few queries using coordinate-wise gradient estimation, the method achieves high attack success rates with significantly fewer queries than state-of-the-art baselines across MNIST, CIFAR10, and tiny-ImageNet.
Black-box attack methods aim to infer suitable attack patterns to targeted DNN models by only using output feedback of the models and the corresponding input queries. However, due to lack of prior and inefficiency in leveraging the query and feedback information, existing methods are mostly query-intensive for obtaining effective attack patterns. In this work, we propose a meta attack approach that is capable of attacking a targeted model with much fewer queries. Its high queryefficiency stems from effective utilization of meta learning approaches in learning generalizable prior abstraction from the previously observed attack patterns and exploiting such prior to help infer attack patterns from only a few queries and outputs. Extensive experiments on MNIST, CIFAR10 and tiny-Imagenet demonstrate that our meta-attack method can remarkably reduce the number of model queries without sacrificing the attack performance. Besides, the obtained meta attacker is not restricted to a particular model but can be used easily with a fast adaptive ability to attack a variety of models.The code of our work is available at https://github.com/dydjw9/MetaAttack_ICLR2020/.
Motivation & Objective
- Address the high query cost of existing black-box attack methods that inefficiently utilize limited output feedback.
- Develop a meta-learning-based approach to extract and leverage generalizable prior knowledge from prior attack patterns.
- Enable fast adaptation of the meta attacker to new target models with minimal queries through few-shot fine-tuning.
- Achieve high attack success rates with reduced query counts and lower adversarial perturbation magnitudes.
- Ensure the meta attacker generalizes across diverse models and datasets without requiring retraining from scratch.
Proposed method
- Train a meta attacker using meta-learning (MAML-style) on a set of pre-trained models to learn a prior over gradient patterns across different architectures.
- Use coordinate-wise gradient estimation to approximate gradients from only top-k class probabilities returned by the black-box model.
- Fine-tune the meta attacker on the target model using only a few queries to adapt its internal parameters to the target model's gradient distribution.
- Update adversarial noise using the estimated gradient from the fine-tuned meta attacker, enabling efficient and targeted perturbation search.
- Leverage the meta-trained model’s prior knowledge to guide optimization, reducing the number of queries needed to find effective adversarial examples.
- Balance query efficiency and attack quality by tuning hyperparameters q (top-k scores) and β (learning rate scaling) during meta training.
Experimental results
Research questions
- RQ1Can meta learning be effectively used to build a prior over gradient patterns from previous attacks to improve query efficiency in black-box settings?
- RQ2To what extent can a meta-trained attacker generalize across different datasets and model architectures without retraining?
- RQ3How does the meta-attack method compare to state-of-the-art query-efficient black-box attacks in terms of query count, success rate, and perturbation magnitude?
- RQ4Does few-shot fine-tuning of the meta attacker on a new target model significantly reduce the number of queries required for successful attack?
- RQ5What hyperparameter settings (e.g., q, β) yield the best trade-off between query efficiency, attack success, and perturbation size?
Key findings
- The proposed meta-attack method achieves a success rate of 0.93 on CIFAR10 with VGG19, using only 3,667 queries—significantly fewer than Zoo (119,648), AutoZoom (53,778), and Opt-attack (252,009).
- On tiny-ImageNet with ResNet34, the method achieves a success rate of 0.54 with 12,897 queries, outperforming Opt-attack (214,015 queries) and Zoo (88,966 queries).
- The meta-trained attacker reduces query count by 30% and L2 distortion by 16% compared to a randomly initialized attacker, demonstrating the benefit of meta training.
- The meta attacker trained on CIFAR10 generalizes well to tiny-ImageNet, achieving 0.55 success rate on VGG19 with 12,275 queries, showing strong transferability.
- Fine-tuning the meta attacker on new models enables fast adaptation, with the model achieving high performance after only a few queries.
- The ablation study confirms that q=500 and β=4e-3 yield the best balance between success rate, query efficiency, and perturbation size.
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.