Skip to main content
QUICK REVIEW

[Paper Review] Generalizable Black-Box Adversarial Attack with Meta Learning

Fei Yin, Yong Zhang|arXiv (Cornell University)|Jan 1, 2023
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper proposes a meta-learning framework, Meta Conditional Generator (MCG), for generalizable black-box adversarial attacks that leverages example-level and model-level adversarial transferability to reduce query cost. By meta-training a generator on a white-box surrogate model and fine-tuning it with feedback from new target examples, the method significantly improves attack efficiency across diverse models and real-world APIs, achieving median query counts as low as 1.

ABSTRACT

In the scenario of black-box adversarial attack, the target model's parameters are unknown, and the attacker aims to find a successful adversarial perturbation based on query feedback under a query budget. Due to the limited feedback information, existing query-based black-box attack methods often require many queries for attacking each benign example. To reduce query cost, we propose to utilize the feedback information across historical attacks, dubbed example-level adversarial transferability. Specifically, by treating the attack on each benign example as one task, we develop a meta-learning framework by training a meta-generator to produce perturbations conditioned on benign examples. When attacking a new benign example, the meta generator can be quickly fine-tuned based on the feedback information of the new task as well as a few historical attacks to produce effective perturbations. Moreover, since the meta-train procedure consumes many queries to learn a generalizable generator, we utilize model-level adversarial transferability to train the meta-generator on a white-box surrogate model, then transfer it to help the attack against the target model. The proposed framework with the two types of adversarial transferability can be naturally combined with any off-the-shelf query-based attack methods to boost their performance, which is verified by extensive experiments.

Motivation & Objective

  • To reduce the high query cost of existing query-based black-box adversarial attacks by leveraging historical attack feedback.
  • To improve attack generalization by modeling example-level adversarial transferability—shared patterns in perturbations across different benign inputs.
  • To enhance performance through meta-learning, where the meta generator is trained to adapt quickly to new examples using limited feedback.
  • To enable effective transfer from a white-box surrogate model to a black-box target model via model-level adversarial transferability.
  • To design a three-stage attack pipeline that combines surrogate fine-tuning, meta-generator adaptation, and initialization for off-the-shelf attack methods.

Proposed method

  • Formulate black-box attack as a meta-learning problem, treating each benign example as a distinct task.
  • Design a Meta Conditional Generator (MCG) that produces perturbations conditioned on input images, trained via meta-learning to generalize across examples.
  • Use model-level adversarial transferability by meta-training the MCG on a white-box surrogate model to capture general attack patterns.
  • Implement a three-stage attack pipeline: (1) fine-tune the surrogate model using feedback from the target model, (2) fine-tune the MCG with the updated surrogate, and (3) use the adapted MCG to initialize off-the-shelf query-based attacks.
  • Leverage both example-level and model-level transferability to improve the quality of initial perturbations, reducing the number of queries needed for success.
  • Integrate the MCG framework with existing methods like Square Attack, enabling plug-and-play performance gains without modifying the base attack algorithm.

Experimental results

Research questions

  • RQ1Can meta-learning be effectively applied to black-box adversarial attacks to improve query efficiency by exploiting feedback from previous attacks?
  • RQ2To what extent can example-level adversarial transferability—shared perturbation patterns across different inputs—enhance attack generalization and reduce query cost?
  • RQ3How does model-level adversarial transferability from a surrogate model improve the performance of meta-trained generators in black-box settings?
  • RQ4Can the proposed meta-learning framework be effectively combined with existing query-based attack methods to boost their success rate and reduce query consumption?
  • RQ5How well does the framework generalize to real-world black-box APIs with unknown architectures and data distributions?

Key findings

  • The proposed MCG framework reduces the median query count to 1 for all tested attack methods when attacking ResNet-18 and VGG-16 on ImageNet.
  • On the ImageNet dataset, the framework improves the first attack success rate (FASR) to 60.1% for ResNet-18 and 71.3% for VGG-16, significantly outperforming baseline methods.
  • In real-world API attacks on the Imagga Tagging API, the median query count dropped to 1 across all methods, demonstrating strong generalization to unseen, production-grade models.
  • Abllation studies confirm that both meta-training and fine-tuning stages are essential: MCG with fine-tuned surrogate outperforms fixed surrogate and baseline Flow methods in FASR and query efficiency.
  • The framework achieves consistent performance gains across closed-set and open-set scenarios, including attacks on models from different architectures and datasets.
  • The integration of MCG with Square Attack reduces mean query counts by up to 40% compared to baseline methods, validating its effectiveness as a plug-in enhancement.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.