Skip to main content
QUICK REVIEW

[Paper Review] Attacking deep networks with surrogate-based adversarial black-box methods is easy

Nicholas A. Lord, Romain Mueller|arXiv (Cornell University)|Mar 16, 2022
Adversarial Robustness in Machine LearningComputer Science10 citations
TL;DR

This paper introduces GFCS, a simple yet highly effective black-box adversarial attack that leverages gradient transfer from a surrogate model to the victim network. By using the surrogate's gradient directions for optimization and falling back to coimage sampling when needed, GFCS achieves a 99.9% success rate on ImageNet with a median query count of just 6 for VGG-16 using a ResNet-152 surrogate.

ABSTRACT

A recent line of work on black-box adversarial attacks has revived the use of transfer from surrogate models by integrating it into query-based search. However, we find that existing approaches of this type underperform their potential, and can be overly complicated besides. Here, we provide a short and simple algorithm which achieves state-of-the-art results through a search which uses the surrogate network's class-score gradients, with no need for other priors or heuristics. The guiding assumption of the algorithm is that the studied networks are in a fundamental sense learning similar functions, and that a transfer attack from one to the other should thus be fairly "easy". This assumption is validated by the extremely low query counts and failure rates achieved: e.g. an untargeted attack on a VGG-16 ImageNet network using a ResNet-152 as the surrogate yields a median query count of 6 at a success rate of 99.9%. Code is available at https://github.com/fiveai/GFCS.

Motivation & Objective

  • To address the inefficiency and complexity of existing surrogate-based black-box attack methods.
  • To investigate whether gradient transfer from a surrogate model can be the primary driver of successful black-box attacks with minimal query usage.
  • To develop a minimal yet highly effective algorithm that outperforms state-of-the-art methods under the same evaluation conditions.
  • To validate the hypothesis that deep networks learn similar feature representations, enabling high-fidelity gradient transfer across architectures.

Proposed method

  • The method uses the surrogate model's gradient directions as the primary search direction in a gradient-based optimization process.
  • It employs a simple line search with a fixed step size ε to perturb the input image iteratively.
  • When gradient transfer fails, it falls back to coimage sampling—a method that generates alternative search directions by sampling from the surrogate’s feature space.
  • The algorithm alternates between using the surrogate’s gradient (q_sur) and coimage-generated directions (q_co) to maintain robustness and avoid local minima.
  • The attack is score-based, requiring access to the victim model’s class scores, enabling numerical gradient estimation without full model access.
  • The method is designed to be minimal: it uses only one tunable hyperparameter (step size ε), and no additional priors, heuristics, or complex optimization schemes.

Experimental results

Research questions

  • RQ1Can a simple gradient transfer from a surrogate model achieve state-of-the-art performance in black-box adversarial attacks with minimal queries?
  • RQ2How effective is direct gradient transfer compared to more complex query-based optimization strategies in real-world settings?
  • RQ3To what extent do different deep networks share similar feature representations that enable high-fidelity gradient transfer?
  • RQ4Can coimage sampling serve as an effective fallback mechanism to maintain success rates when gradient transfer fails?
  • RQ5Is the combination of simple gradient transfer and minimal heuristics sufficient to outperform more complex, multi-stage attack frameworks?

Key findings

  • GFCS achieves a 99.9% success rate on ImageNet for untargeted attacks on VGG-16 using a ResNet-152 surrogate, with a median query count of only 6.
  • The method outperforms all competing state-of-the-art methods under identical experimental conditions, including SimBA and other query-based attacks.
  • The success of the attack is primarily driven by direct gradient transfer from the surrogate, with coimage sampling playing a secondary but critical role in avoiding failure.
  • The algorithm’s performance is robust across different surrogate-target combinations, indicating that deep networks often learn similar feature representations.
  • The method’s simplicity—requiring only one hyperparameter (step size) and no complex priors—demonstrates that high performance does not require algorithmic complexity.
  • Even when using default hyperparameters from other methods, GFCS significantly outperforms them, especially when hyperparameters are tuned (e.g., ε = 2.0 for SimBA-ODS)

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.