SDM: A Powerful Tool for Evaluating Model Robustness

Xinlei Liu, Tao Hu, Jichao Xie, Peng Yi, Hailong Ma +1 more
5/19/2026
cs.CVcs.AIcs.LG

Official code: X-L-Liu/ICML-SDM (0 stars, last commit 2026-05-19).

Abstract

Gradient-based attacks are important methods for evaluating model robustness. However, since the proposal of APGD, it has been difficult for such methods to achieve significant breakthroughs. To achieve such an effect, we first analyze the issue of "high-loss non-adversarial examples" that degrades attack performance in previous methods, and prove that this issue arises from inappropriate objectives for adversarial example generation. Subsequently, we reconstruct the objective as "maximizing the difference between the non-ground-truth label probability upper bound and the ground-truth label probability", and proposes a novel and powerful gradient-based attack method named Sequential Difference Maximization (SDM). SDM establishes a three-layer optimization framework of "cycle-stage-step". It adopts the negative probability loss function and the Directional Probability Difference Ratio (DPDR) loss function in the initial and subsequent optimization stages, respectively, and approaches the ideal objective of adversarial example generation via stage-wise sequential optimization. Experiments demonstrate that compared with previous state-of-the-art methods, SDM not only achieves stronger attack performance but also exhibits superior cost-effectiveness. The code is available at https://github.com/X-L-Liu/ICML-SDM.

View on arXivView PDF

Code Implementations(1)

X-L-Liu/ICML-SDMOfficial100%

SDM: A Powerful Tool for Evaluating Model Robustness

00May 19, 20265 months ago

Cite this paper

@article{liu2026sdm,
  title  = {SDM: A Powerful Tool for Evaluating Model Robustness},
  author = {Xinlei Liu and Tao Hu and Jichao Xie and Peng Yi and Hailong Ma and Baolin Li},
  year   = {2026},
  eprint = {2605.20308},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.20308v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.20308.svg)](https://codeofpaper.com/paper/2605.20308)

Discussion