Lune

NeurIPS2022Top-tier venue

Indicators of Attack Failure: Debugging and Improving Optimization of Adversarial Examples

Maura Pintor, Luca Demetrio, Angelo Sotgiu, Ambra Demontis, Nicholas Carlini, Battista Biggio, Fabio Roli

Abstract

Evaluating robustness of machine-learning models to adversarial examples is a challenging problem. Many defenses have been shown to provide a false sense of robustness by causing gradient-based attacks to fail, and they have been broken under more rigorous evaluations. Although guidelines and best practices have been suggested to improve current adversarial robustness evaluations, the lack of automatic testing and debugging tools makes it difficult to apply these recommendations in a systematic manner. In this work, we overcome these limitations by: (i) categorizing attack failures based on how they affect the optimization of gradient-based attacks, while also unveiling two novel failures affecting many popular attack implementations and past evaluations; (ii) proposing six novel indicators of failure, to automatically detect the presence of such failures in the attack optimization process; and (iii) suggesting a systematic protocol to apply the corresponding fixes. Our extensive experimental analysis, involving more than 15 models in 3 distinct application domains, shows that our indicators of failure can be used to debug and improve current adversarial robustness evaluations, thereby providing a first concrete step towards automatizing and systematizing them. Our open-source code is available at: https://github.com/pralab/IndicatorsOfAttackFailure.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Towards Evaluating the Robustness of Neural Networks cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • On the Convergence of an Adaptive Momentum Method for Adversarial Attacks cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial Purification cites Towards Evaluating the Robustness of Neural Networks
  • DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial Purification cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • MagNet: A Two-Pronged Defense against Adversarial Examples cites Towards Evaluating the Robustness of Neural Networks
  • MagNet: A Two-Pronged Defense against Adversarial Examples cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Towards Evaluating the Robustness of Neural Networks
  • AttackBench: Evaluating Gradient-based Attacks for Adversarial Examples cites Towards Evaluating the Robustness of Neural Networks
  • AttackBench: Evaluating Gradient-based Attacks for Adversarial Examples cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • On Adaptive Attacks to Adversarial Example Defenses cites Towards Evaluating the Robustness of Neural Networks
  • On Adaptive Attacks to Adversarial Example Defenses cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • On Adaptive Attacks to Adversarial Example Defenses cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Evaluating the Adversarial Robustness of Adaptive Test-time Defenses cites Towards Evaluating the Robustness of Neural Networks
  • Evaluating the Adversarial Robustness of Adaptive Test-time Defenses cites Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks
  • Evaluating the Adversarial Robustness of Adaptive Test-time Defenses cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Evaluating the Adversarial Robustness of Adaptive Test-time Defenses cites On Adaptive Attacks to Adversarial Example Defenses
  • Increasing Confidence in Adversarial Robustness Evaluations cites Towards Evaluating the Robustness of Neural Networks
  • Increasing Confidence in Adversarial Robustness Evaluations cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Increasing Confidence in Adversarial Robustness Evaluations cites On Adaptive Attacks to Adversarial Example Defenses
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Evaluating the Adversarial Robustness of Adaptive Test-time DefensesFrancesco Croce, Sven Gowal, Thomas Brunner, Evan Shelhamer et al.ICML 2022 · 85 citations
  2. DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial PurificationMintong Kang, Dawn Song, Bo LiNeurIPS 2023 · 66 citations
  3. Increasing Confidence in Adversarial Robustness EvaluationsRoland S. Zimmermann, Wieland Brendel, Florian Tramèr, Nicholas CarliniNeurIPS 2022 · 25 citations
  4. AttackBench: Evaluating Gradient-based Attacks for Adversarial ExamplesAntonio Emanuele Cinà, Jérôme Rony, Maura Pintor, Luca Demetrio et al.AAAI 2025 · 23 citations
  5. On the Convergence of an Adaptive Momentum Method for Adversarial AttacksSheng Long, Wei Tao, Shuohao Li, Jun Lei et al.AAAI 2024 · 15 citations

Builds on14

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
  2. Distillation as a Defense to Adversarial Perturbations Against Deep Neural NetworksNicolas Papernot, Patrick D. McDaniel, Xi Wu, Somesh Jha et al.S&P 2016 · 3,275 citations
  3. Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
  4. MagNet: A Two-Pronged Defense against Adversarial ExamplesDongyu Meng, Hao ChenCCS 2017 · 1,295 citations
  5. On Adaptive Attacks to Adversarial Example DefensesFlorian Tramèr, Nicholas Carlini, Wieland Brendel, Aleksander MadryNeurIPS 2020 · 1,026 citations

Related papers

  1. Attack as defense: characterizing adversarial examples using robustnessZhe Zhao, Guangke Chen, Jingyi Wang, Yiwei Yang et al.ISSTA 2021 · 34 citations
  2. How Many Perturbations Break This Model? Evaluating Robustness Beyond Adversarial AccuracyRaphaël Olivier, Bhiksha RajICML 2023 · 11 citations
  3. On the Vulnerability of Adversarially Trained Models Against Two-faced AttacksShengjie Zhou, Lue Tao, Yuzhou Cao, Tao Xiang et al.ICLR 2024
  4. MultiRobustBench: Benchmarking Robustness Against Multiple AttacksSihui Dai, Saeed Mahloujifar, Chong Xiang, Vikash Sehwag et al.ICML 2023 · 11 citations
  5. The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against LLM Jailbreaks and Prompt InjectionsMilad Nasr, Nicholas Carlini, Chawin Sitawarin, Sander V. Schulhoff et al.USENIX Security 2026 · 134 citations
Dusk over the sea between two cliffs drawn in fine vertical lines