Skip to main navigation Skip to search Skip to main content

Imbalanced gradients: a subtle cause of overestimated adversarial robustness

  • Xingjun Ma
  • , Linxi Jiang
  • , Hanxun Huang
  • , Zejia Weng
  • , James Bailey
  • , Yu-Gang Jiang

Research output: Contribution to journal › Article › Research › peer-review

Abstract

Evaluating the robustness of a defense model is a challenging task in adversarial robustness research. Obfuscated gradients have previously been found to exist in many defense methods and cause a false signal of robustness. In this paper, we identify a more subtle situation called Imbalanced Gradients that can also cause overestimated adversarial robustness. The phenomenon of imbalanced gradients occurs when the gradient of one term of the margin loss dominates and pushes the attack towards to a suboptimal direction. To exploit imbalanced gradients, we formulate a margin decomposition (MD) attack that decomposes a margin loss into individual terms and then explores the attackability of these terms separately via a two-stage process. We also propose a multi-targeted and ensemble version of our MD attack. By investigating 24 defense models proposed since 2018, we find that 11 models are susceptible to a certain degree of imbalanced gradients and our MD attack can decrease their robustness evaluated by the best standalone baseline attack by more than 1%. We also provide an in-depth investigation on the likely causes of imbalanced gradients and effective countermeasures.

Original languageEnglish
Pages (from-to)2301-2326
Number of pages26
JournalMachine Learning
Volume113
Issue number5
DOIs
Publication statusPublished - May 2024
Externally publishedYes

Keywords

  • Adversarial attack
  • Deep neural networks
  • Robustness evaluation

Cite this