arXiv Analytics

Sign in

arXiv:2402.01879 [cs.LG]AbstractReferencesReviewsResources

$σ$-zero: Gradient-based Optimization of $\ell_0$-norm Adversarial Examples

Antonio Emanuele Cinà, Francesco Villani, Maura Pintor, Lea Schönherr, Battista Biggio, Marcello Pelillo

Published 2024-02-02, updated 2024-10-02Version 2

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 $\sigma$-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 $\sigma$-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.

Comments: Code available at https://github.com/Cinofix/sigma-zero-adversarial-attack
Categories: cs.LG, cs.CR, cs.CV
Related articles: Most relevant | Search more
arXiv:1909.09501 [cs.LG] (Published 2019-09-20)
Trivializations for Gradient-Based Optimization on Manifolds
arXiv:2405.06312 [cs.LG] (Published 2024-05-10)
FedGCS: A Generative Framework for Efficient Client Selection in Federated Learning via Gradient-based Optimization
Zhiyuan Ning et al.
arXiv:2004.08763 [cs.LG] (Published 2020-04-19)
Model-Predictive Control via Cross-Entropy and Gradient-Based Optimization