Skip to main content
QUICK REVIEW

[Paper Review] Attacking Adversarial Attacks as A Defense

Boxi Wú, Heng Pan|arXiv (Cornell University)|Jun 9, 2021
Adversarial Robustness in Machine LearningComputer Science61 references13 citations
TL;DR

This paper proposes Hedge Defense, a novel defense that exploits the vulnerability of adversarial attacks to small perturbations by crafting targeted defensive noise that simultaneously attacks all classes. By leveraging the smaller local Lipschitzness of the true class in adversarially trained models, it flips misclassified adversarial examples back to correct predictions, improving robust accuracy by up to 12.5% on CIFAR-10 and 5.36% on ImageNet under strong attacks.

ABSTRACT

It is well known that adversarial attacks can fool deep neural networks with imperceptible perturbations. Although adversarial training significantly improves model robustness, failure cases of defense still broadly exist. In this work, we find that the adversarial attacks can also be vulnerable to small perturbations. Namely, on adversarially-trained models, perturbing adversarial examples with a small random noise may invalidate their misled predictions. After carefully examining state-of-the-art attacks of various kinds, we find that all these attacks have this deficiency to different extents. Enlightened by this finding, we propose to counter attacks by crafting more effective defensive perturbations. Our defensive perturbations leverage the advantage that adversarial training endows the ground-truth class with smaller local Lipschitzness. By simultaneously attacking all the classes, the misled predictions with larger Lipschitzness can be flipped into correct ones. We verify our defensive perturbation with both empirical experiments and theoretical analyses on a linear model. On CIFAR10, it boosts the state-of-the-art model from 66.16% to 72.66% against the four attacks of AutoAttack, including 71.76% to 83.30% against the Square attack. On ImageNet, the top-1 robust accuracy of FastAT is improved from 33.18% to 38.54% under the 100-step PGD attack.

Motivation & Objective

  • To address the persistent gap between natural and robust accuracy in adversarially trained models.
  • To investigate whether adversarial attacks are themselves vulnerable to small input perturbations.
  • To develop a defense mechanism that outperforms random noise by exploiting structural properties of adversarially trained models.
  • To improve robustness against strong attacks like AutoAttack and Square Attack without modifying the underlying model.

Proposed method

  • Hedge Defense generates defensive perturbations that simultaneously target all classes, exploiting the fact that the ground-truth class has smaller local Lipschitzness in adversarially trained models.
  • It uses the loss landscape to identify that false predictions have steeper loss surfaces, making them more susceptible to perturbations.
  • The method applies a gradient-based attack across all classes in parallel, aiming to push the model’s prediction away from misclassified classes and back toward the true class.
  • Defensive perturbations are tailored to each example, ensuring higher effectiveness than indiscriminate random noise.
  • The approach is validated empirically on CIFAR-10 and ImageNet, and theoretically on a linear model to demonstrate stability and robustness.

Experimental results

Research questions

  • RQ1Are adversarial attacks themselves vulnerable to small input perturbations when applied to adversarially trained models?
  • RQ2Can defensive perturbations be designed to exploit the smaller local Lipschitzness of the true class in adversarially trained models?
  • RQ3Does a class-agnostic, multi-class attack strategy improve robustness compared to random noise or single-class attacks?
  • RQ4Can Hedge Defense significantly improve robust accuracy against strong, ensemble attacks like AutoAttack and Square Attack?

Key findings

  • On CIFAR-10, Hedge Defense improves the state-of-the-art model’s robust accuracy from 66.16% to 72.66% against AutoAttack, an ensemble of four powerful attacks.
  • Against the Square attack, a leading black-box attack, robust accuracy improves from 71.76% to 83.30%.
  • On ImageNet, Hedge Defense increases the top-1 robust accuracy of FastAT from 33.18% to 38.54% under a 100-step PGD attack.
  • Empirical results show that adversarial attacks are not uniformly robust—attacks like DeepFool and Square degrade significantly under small random perturbations, while PGD and C&W are more resilient.
  • Theoretical analysis on a linear model confirms that the ground-truth class has a flatter loss surface, justifying the method’s design.
  • Hedge Defense withstands rigorous attacks, including EOT and BPDA, indicating it is not vulnerable to obfuscated gradient issues.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.