AttackBench: Evaluating Gradient-based Attacks for Adversarial Examples
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
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,155
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2016Adversarial examples in the physical worldcited by 1,769
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
- 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
- 2020Fast is better than free: Revisiting adversarial trainingcited by 727
- 2017Evasion Attacks against Machine Learning at Test Timecited by 689
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
33 more
- 2020On Adaptive Attacks to Adversarial Example Defensescited by 555
- 2017Decision-Based Adversarial Attacks: Reliable Attacks Against Black-Box Machine Learning Modelscited by 462
- 2019On Evaluating Adversarial Robustnesscited by 447
- 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 414
- 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 334
- 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 316
- 2023Poisoning Web-Scale Training Datasets is Practicalcited by 290
- 2018Adversarial Robustness Toolbox v1.0.0cited by 215
- 2023Better Diffusion Models Further Improve Adversarial Trainingcited by 208
- 2019Towards Stable and Efficient Training of Verifiably Robust Neural Networkscited by 205
- 2020Torchattacks: A PyTorch Repository for Adversarial Attackscited by 158
- 2017EAD: Elastic-Net Attacks to Deep Neural Networks via Adversarial Examplescited by 155
- 2016Technical Report on the CleverHans v2.1.0 Adversarial Examples Librarycited by 124
- 2018Decoupling Direction and Norm for Efficient Gradient-Based L2 Adversarial Attacks and Defensescited by 109
- 2019Sparse and Imperceivable Adversarial Attackscited by 95
- 2018SparseFool: a few pixels make a big differencecited by 94
- 2020DeepRobust: A PyTorch Library for Adversarial Attacks and Defensescited by 78
- 2022A Light Recipe to Train Robust Vision Transformerscited by 64
- 2021Adversarial Example Detection for DNN Models: A Review and Experimental Comparisoncited by 52
- 2019Enhancing Adversarial Defense by k-Winners-Take-Allcited by 51
- 2021Mind the box: l1-APGD for sparse adversarial attacks on image classifierscited by 51
- 2021Fast Minimum-norm Adversarial Attacks through Adaptive Norm Constraintscited by 50
- 2019Accurate, reliable and fast robustness evaluationcited by 43
- 2021A Comprehensive Evaluation Framework for Deep Model Robustnesscited by 42
- 2017Security Evaluation of Pattern Classifiers under Attackcited by 39
- 2020Augmented Lagrangian Adversarial Attackscited by 28
- 2021Indicators of Attack Failure: Debugging and Improving Optimization of Adversarial Examplescited by 23
- 2019Activation Analysis of a Byte-Based Deep Neural Network for Malware Classificationcited by 14
- 2018Trust Region Based Adversarial Attack on Neural Networkscited by 11
- 2021PDPGD: Primal-Dual Proximal Gradient Descent Adversarial Attackcited by 8
- 2024σ-zero: Gradient-based Optimization of ℓ0-norm Adversarial Examplescited by 7
- 2019A critique of the DeepSec Platform for Security Analysis of Deep Learning Modelscited by 6
- 2020Stochastic sparse adversarial attackscited by 4
Built on by
Citing papers per year: 2024: 4; 2025: 5; 2026: 5.
14 papers.
Sort:
By area:
- 2024Adversarial Pruning: A Survey and Benchmark of Pruning Methods for Adversarial Robustnesscited by 10
- 2025TabAttackBench: A Benchmark for Adversarial Attacks on Tabular Datacited by 4
- 2024Deciphering the Definition of Adversarial Robustness for post-hoc OOD Detectorscited by 2
- 2024Robust image classification with multi-modal large language modelscited by 2
- 2025Evaluating the Evaluators: Trust in Adversarial Robustness Testscited by 2
- 2025Rethinking Robustness in Machine Learning: A Posterior Agreement Approachcited by 1
- 2025SPOOF: Simple Pixel Operations for Out-of-Distribution Foolingcited by 1
- 2024Sonic: Fast and Transferable Data Poisoning on Clustering Algorithmscited by 0
- 2025Robust Fine-Tuning from Non-Robust Pretrained Models: Mitigating Suboptimal Transfer With Epsilon-Schedulingcited by 0
- 2026Adversarial Frontiers: Minimum-Norm Attack Ensembles for Robustness Evaluationcited by 0
- 2026EXE-Bench: Ranking the Tradeoffs of AI-based Windows Malware Detectors for Real-World Usabilitycited by 0
- 2026Margin-Drop Coordinates for Cross-Budget Robustness Evaluationcited by 0
- 2026Trustworthy Data- and ML-Ops for Intelligent Transportation Systems and Logistics1 Oct 2026
- 2026Don't Waste the Noise: Importance-Guided Perturbation Allocation under Joint Global and Local Constraints1 Oct 2026
- 2026Margin-Drop Coordinates for Cross-Budget Robustness Evaluation20 Aug 2026
- 2026EXE-Bench: Ranking the Tradeoffs of AI-based Windows Malware Detectors for Real-World Usability27 Jul 2026
- 2026Adversarial Frontiers: Minimum-Norm Attack Ensembles for Robustness Evaluation22 Jul 2026
- 2025SPOOF: Simple Pixel Operations for Out-of-Distribution Fooling5 Dec 2025
- 2025Robust Fine-Tuning from Non-Robust Pretrained Models: Mitigating Suboptimal Transfer With Epsilon-Scheduling27 Sep 2025
- 2025Evaluating the Evaluators: Trust in Adversarial Robustness Tests4 Jul 2025
- 2025TabAttackBench: A Benchmark for Adversarial Attacks on Tabular Data27 May 2025
- 2025Rethinking Robustness in Machine Learning: A Posterior Agreement Approach20 Mar 2025
- 2024Robust image classification with multi-modal large language models13 Dec 2024
- 2024Adversarial Pruning: A Survey and Benchmark of Pruning Methods for Adversarial Robustness2 Sep 2024
- 2024Adversarial Pruning: A Survey and Benchmark of Pruning Methods for Adversarial Robustnesscited by 10
- 2025TabAttackBench: A Benchmark for Adversarial Attacks on Tabular Datacited by 4
- 2024Deciphering the Definition of Adversarial Robustness for post-hoc OOD Detectorscited by 2
- 2025Evaluating the Evaluators: Trust in Adversarial Robustness Testscited by 2
- 2025Rethinking Robustness in Machine Learning: A Posterior Agreement Approachcited by 1
- 2025SPOOF: Simple Pixel Operations for Out-of-Distribution Foolingcited by 1
- 2024Sonic: Fast and Transferable Data Poisoning on Clustering Algorithmscited by 0
- 2025Robust Fine-Tuning from Non-Robust Pretrained Models: Mitigating Suboptimal Transfer With Epsilon-Schedulingcited by 0
- 2026Adversarial Frontiers: Minimum-Norm Attack Ensembles for Robustness Evaluationcited by 0
- 2026EXE-Bench: Ranking the Tradeoffs of AI-based Windows Malware Detectors for Real-World Usabilitycited by 0
- 2026Margin-Drop Coordinates for Cross-Budget Robustness Evaluationcited by 0
- 2026Don't Waste the Noise: Importance-Guided Perturbation Allocation under Joint Global and Local Constraintscited by 0
12 most cited of 13 All 13 (JSON)
- 2026Trustworthy Data- and ML-Ops for Intelligent Transportation Systems and Logistics1 Oct 2026
- 2026Don't Waste the Noise: Importance-Guided Perturbation Allocation under Joint Global and Local Constraints1 Oct 2026
- 2026Margin-Drop Coordinates for Cross-Budget Robustness Evaluation20 Aug 2026
- 2026EXE-Bench: Ranking the Tradeoffs of AI-based Windows Malware Detectors for Real-World Usability27 Jul 2026
- 2026Adversarial Frontiers: Minimum-Norm Attack Ensembles for Robustness Evaluation22 Jul 2026
- 2025SPOOF: Simple Pixel Operations for Out-of-Distribution Fooling5 Dec 2025
- 2025Robust Fine-Tuning from Non-Robust Pretrained Models: Mitigating Suboptimal Transfer With Epsilon-Scheduling27 Sep 2025
- 2025Evaluating the Evaluators: Trust in Adversarial Robustness Tests4 Jul 2025
- 2025TabAttackBench: A Benchmark for Adversarial Attacks on Tabular Data27 May 2025
- 2025Rethinking Robustness in Machine Learning: A Posterior Agreement Approach20 Mar 2025
- 2024Adversarial Pruning: A Survey and Benchmark of Pruning Methods for Adversarial Robustness2 Sep 2024
- 2024Sonic: Fast and Transferable Data Poisoning on Clustering Algorithms14 Aug 2024
12 newest of 13 All 13 (JSON)