Attacking deep networks with surrogate-based adversarial black-box methods is easy

Nicholas A. Lord, Romain Mueller, Luca Bertinetto
3/16/2022
cs.LGcs.CRcs.CV

Official code: fiveai/GFCS (10 stars, Python, last commit 2025-10-16).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

fiveai/GFCSOfficial100%

Code for the ICLR 2022 paper "Attacking deep networks with surrogate-based adversarial black-box methods is easy"

101PythonMar 11, 20221 years agoNOASSERTION
adversarial-attacksblack-box-attacksdeep-learningmachine-learning

Similar Papers

Cite this paper

@article{lord2022attacking,
  title  = {Attacking deep networks with surrogate-based adversarial black-box methods is easy},
  author = {Nicholas A. Lord and Romain Mueller and Luca Bertinetto},
  year   = {2022},
  eprint = {2203.08725},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.08725}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.08725.svg)](https://codeofpaper.com/paper/2203.08725)

Discussion