$σ$-zero: Gradient-based Optimization of $\ell_0$-norm Adversarial Examples
Antonio Emanuele Cinà, Francesco Villani, Maura Pintor, Lea Schönherr, Battista Biggio, Marcello Pelillo
TL;DR
The paper tackles robustness evaluation under sparse adversarial perturbations by proposing σ-zero, a gradient-based attack that minimizes the ℓ0-norm of perturbations through a differentiable surrogate and an adaptive sparsity projection. The method optimizes a loss term plus a surrogate ℓ0-norm, with an adaptive projection Πτ to enforce sparsity while keeping the perturbed input within valid bounds. Empirical results on MNIST, CIFAR-10, and ImageNet across numerous models show σ-zero yields smaller perturbations and higher attack success rates than state-of-the-art sparse attacks, with competitive runtime and robustness to hyperparameter choices. The work provides a strong, scalable tool for robustness evaluation against sparse perturbations and offers insights to guide the development of more resilient models against such attacks.
Abstract
Evaluating the adversarial robustness of deep networks to gradient-based attacks is challenging. While most attacks consider $\ell_2$- and $\ell_\infty$-norm constraints to craft input perturbations, only a few investigate sparse $\ell_1$- and $\ell_0$-norm attacks. In particular, $\ell_0$-norm attacks remain the least studied due to the inherent complexity of optimizing over a non-convex and non-differentiable constraint. However, evaluating adversarial robustness under these attacks could reveal weaknesses otherwise left untested with more conventional $\ell_2$- and $\ell_\infty$-norm attacks. In this work, we propose a novel $\ell_0$-norm attack, called $σ$-zero, which leverages a differentiable approximation of the $\ell_0$ norm to facilitate gradient-based optimization, and an adaptive projection operator to dynamically adjust the trade-off between loss minimization and perturbation sparsity. Extensive evaluations using MNIST, CIFAR10, and ImageNet datasets, involving robust and non-robust models, show that $σ$\texttt{-zero} finds minimum $\ell_0$-norm adversarial examples without requiring any time-consuming hyperparameter tuning, and that it outperforms all competing sparse attacks in terms of success rate, perturbation size, and efficiency.
