Skip to main content
QUICK REVIEW

[Paper Review] Meta-Learning the Search Distribution of Black-Box Random Search Based Adversarial Attacks

Maksym Yatsura, Jan Hendrik Metzen|arXiv (Cornell University)|Nov 2, 2021
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper proposes Meta Square Attack (MSA), a meta-learning framework that automatically optimizes search distribution parameters—such as update size and color sampling—for black-box random search adversarial attacks. By training a gradient-based controller on a white-box model, MSA improves query efficiency and robustness estimates by up to 20% across diverse models, datasets (CIFAR10, CIFAR100, ImageNet), and attack settings, including targeted attacks.

ABSTRACT

Adversarial attacks based on randomized search schemes have obtained state-of-the-art results in black-box robustness evaluation recently. However, as we demonstrate in this work, their efficiency in different query budget regimes depends on manual design and heuristic tuning of the underlying proposal distributions. We study how this issue can be addressed by adapting the proposal distribution online based on the information obtained during the attack. We consider Square Attack, which is a state-of-the-art score-based black-box attack, and demonstrate how its performance can be improved by a learned controller that adjusts the parameters of the proposal distribution online during the attack. We train the controller using gradient-based end-to-end training on a CIFAR10 model with white box access. We demonstrate that plugging the learned controller into the attack consistently improves its black-box robustness estimate in different query regimes by up to 20% for a wide range of different models with black-box access. We further show that the learned adaptation principle transfers well to the other data distributions such as CIFAR100 or ImageNet and to the targeted attack setting.

Motivation & Objective

  • Address the challenge of manual tuning and heuristic design in proposal distributions for black-box random search adversarial attacks.
  • Improve query efficiency and robustness estimation in black-box settings by learning adaptive search strategies.
  • Enable transferability of learned controllers across different models, datasets (e.g., CIFAR100, ImageNet), and attack types (including targeted attacks).
  • Develop a method that remains effective in fully black-box settings without gradient access after meta-training.
  • Demonstrate that learned controllers outperform hand-designed schedules in Square Attack across multiple query budgets and threat models (ℓ∞, ℓ2).

Proposed method

  • Frame the optimization of search distribution parameters (e.g., update size, color sampling) as a meta-learning problem to adaptively improve attack performance.
  • Train a controller using gradient-based end-to-end optimization on a white-box CIFAR10 model with adversarially trained ResNet18.
  • Use a learned controller to dynamically adjust the proposal distribution during the attack, replacing fixed schedules from prior work.
  • Decouple the meta-training phase (with white-box access) from the inference phase (fully black-box), ensuring no gradient obfuscation issues.
  • Apply the meta-trained controller to various models in the RobustBench zoo as black-box adversaries without retraining.
  • Introduce two controllers: one for update size (MSA_s) and one for color sampling (MSA_c), both trained to maximize attack success rate.

Experimental results

Research questions

  • RQ1Can meta-learning be used to automatically optimize the search distribution in black-box random search adversarial attacks, reducing reliance on manual design?
  • RQ2How does the performance of the learned controller compare to hand-designed schedules (e.g., Square Attack, AutoAttack) across different query budgets?
  • RQ3To what extent does the meta-learned controller generalize to new models, datasets (e.g., CIFAR100, ImageNet), and targeted attack settings?
  • RQ4Does the learned adaptation strategy improve robustness evaluation accuracy and query efficiency in black-box settings?
  • RQ5Can the controller be trained in a white-box setting and then deployed effectively in a fully black-box attack scenario?

Key findings

  • Meta Square Attack (MSA) improves black-box robustness estimation by up to 20% compared to state-of-the-art baselines (Square Attack, AutoAttack) across various query budgets and models.
  • The MSA_s controller for update size improves attack success rates by up to 5.6% on CIFAR10 models with black-box access, especially in low-budget regimes.
  • The MSA_c controller for color sampling learns to favor black and white pixels (p ≈ 0.18) over uniform sampling (p = 0.125), reflecting model-specific vulnerabilities.
  • The combination of MSA_s and MSA_c yields consistent improvements over baseline schedules, with gains observed across 500 to 5000 query budgets.
  • MSA generalizes effectively to CIFAR100 and ImageNet, achieving up to 20% better robust accuracy than the state-of-the-art baseline in targeted attack settings.
  • Ablation studies confirm that both MSA_s and MSA_c contribute independently to performance gains, with MSA_c showing particular benefit in early attack stages.

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.