mlsanityData to 14 Oct 2026

AttackBench: Evaluating Gradient-based Attacks for Adversarial Examples

arXiv 2404.19460 ↗First posted 30 Apr 2024cs.LG cs.CR cs.CVcited by 14

Not on the map. Why?

Abstract (arXiv)

Adversarial examples are typically optimized with gradient-based attacks. While novel attacks are continuously proposed, each is shown to outperform its predecessors using different experimental setups, hyperparameter settings, and number of forward and backward calls to the target models. This provides overly-optimistic and even biased evaluations that may unfairly favor one particular attack over the others. In this work, we aim to overcome these limitations by proposing AttackBench, i.e., the first evaluation framework that enables a fair comparison among different attacks. To this end, we first propose a categorization of gradient-based attacks, identifying their main components and differences. We then introduce our framework, which evaluates their effectiveness and efficiency. We measure these characteristics by (i) defining an optimality metric that quantifies how close an attack is to the optimal solution, and (ii) limiting the number of forward and backward queries to the model, such that all attacks are compared within a given maximum query budget. Our extensive experimental analysis compares more than 100 attack implementations with a total of over 800 different configurations against CIFAR-10 and ImageNet models, highlighting that only very few attacks outperform all the competing approaches. Within this analysis, we shed light on several implementation issues that prevent many attacks from finding better solutions or running at all. We release AttackBench as a publicly-available benchmark, aiming to continuously update it to include and evaluate novel gradient-based attacks for optimizing adversarial examples.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 45 of its 66 references that are in the map. First posted on arXiv 30 Apr 2024.

Builds on

45 of 66 references.

References · 45

  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  2. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  3. 2013Intriguing properties of neural networkscited by 5,155
  4. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  5. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  6. 2016Adversarial examples in the physical worldcited by 1,769
  7. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
  8. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
  9. 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
  10. 2020Fast is better than free: Revisiting adversarial trainingcited by 727
  11. 2017Evasion Attacks against Machine Learning at Test Timecited by 689
  12. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
33 more
  1. 2020On Adaptive Attacks to Adversarial Example Defensescited by 555
  2. 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 462
  3. 2019On Evaluating Adversarial Robustnesscited by 447
  4. 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 414
  5. 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 334
  6. 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 316
  7. 2023Poisoning Web-Scale Training Datasets is Practicalcited by 290
  8. 2018Adversarial Robustness Toolbox v1.0.0cited by 215
  9. 2023Better Diffusion Models Further Improve Adversarial Trainingcited by 208
  10. 2019Towards Stable and Efficient Training of Verifiably Robust Neural Networkscited by 205
  11. 2020Torchattacks: A PyTorch Repository for Adversarial Attackscited by 158
  12. 2017EAD: Elastic-Net Attacks to Deep Neural Networks via Adversarial Examplescited by 155
  13. 2016Technical Report on the CleverHans v2.1.0 Adversarial Examples Librarycited by 124
  14. 2018Decoupling Direction and Norm for Efficient Gradient-Based L2 Adversarial Attacks and Defensescited by 109
  15. 2019Sparse and Imperceivable Adversarial Attackscited by 95
  16. 2018SparseFool: a few pixels make a big differencecited by 94
  17. 2020DeepRobust: A PyTorch Library for Adversarial Attacks and Defensescited by 78
  18. 2022A Light Recipe to Train Robust Vision Transformerscited by 64
  19. 2021Adversarial Example Detection for DNN Models: A Review and Experimental Comparisoncited by 52
  20. 2019Enhancing Adversarial Defense by k-Winners-Take-Allcited by 51
  21. 2021Mind the box: l1-APGD for sparse adversarial attacks on image classifierscited by 51
  22. 2021Fast Minimum-norm Adversarial Attacks through Adaptive Norm Constraintscited by 50
  23. 2019Accurate, reliable and fast robustness evaluationcited by 43
  24. 2021A Comprehensive Evaluation Framework for Deep Model Robustnesscited by 42
  25. 2017Security Evaluation of Pattern Classifiers under Attackcited by 39
  26. 2020Augmented Lagrangian Adversarial Attackscited by 28
  27. 2021Indicators of Attack Failure: Debugging and Improving Optimization of Adversarial Examplescited by 23
  28. 2019Activation Analysis of a Byte-Based Deep Neural Network for Malware Classificationcited by 14
  29. 2018Trust Region Based Adversarial Attack on Neural Networkscited by 11
  30. 2021PDPGD: Primal-Dual Proximal Gradient Descent Adversarial Attackcited by 8
  31. 2024σ-zero: Gradient-based Optimization of ℓ0-norm Adversarial Examplescited by 7
  32. 2019A critique of the DeepSec Platform for Security Analysis of Deep Learning Modelscited by 6
  33. 2020Stochastic sparse adversarial attackscited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 4; 2025: 5; 2026: 5.

14 papers.

Sort:

By area: