Skip to main navigation Skip to search Skip to main content

AttackBench: Evaluating Gradient-based Attacks for Adversarial Examples

  • Antonio Emanuele Cinà
  • , Jérôme Rony
  • , Maura Pintor
  • , Luca Demetrio
  • , Ambra Demontis
  • , Battista Biggio
  • , Ismail Ben Ayed
  • , Fabio Roli
  • University of Genoa
  • École de technologie supérieure
  • University of Cagliari

Research output: Contribution to journal › Conference article › peer-review

28 Citations (Scopus)

Abstract

While novel gradient-based attacks are continuously proposed to improve the optimization of adversarial examples, each is shown to outperform its predecessors using different experimental setups, implementations, and computational budgets, leading to biased and unfair comparisons. In this work, we overcome this issue by proposing AttackBench, i.e., an attack evaluation framework that evaluates the effectiveness of each attack (along with its different library implementations) under the same maximum available computational budget. To this end, we (i) define a novel optimality metric that quantifies how close each attack is to the optimal solution (empirically estimated by ensembling all attacks), and (ii) limit the maximum number of forward and backward queries that each attack can execute on the target model. Our extensive experimental analysis compares more than 100 attack implementations over 800 different configurations, considering both CIFAR-10 and ImageNet models, and shows that only few attack implementations outperform all the remaining approaches. These findings suggest that novel defenses should be evaluated against different attacks than those normally used in the literature to avoid overly-optimistic robustness evaluations. We release AttackBench as a publicly-available benchmark that will be continuously updated with new attack implementations to maintain an up-to-date ranking of the best gradient-based attacks.

Original languageEnglish
Pages (from-to)2600-2608
Number of pages9
JournalProceedings of the AAAI Conference on Artificial Intelligence
Volume39
Issue number3
DOIs
Publication statusPublished - 11 Apr 2025
Event39th Annual AAAI Conference on Artificial Intelligence, AAAI 2025 - Philadelphia, United States
Duration: 25 Feb 2025 → 4 Mar 2025

Fingerprint

Dive into the research topics of 'AttackBench: Evaluating Gradient-based Attacks for Adversarial Examples'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this