[Paper Review] Exploring Sparsity and Smoothness of Arbitrary $\ell_p$ Norms in Adversarial Attacks
The paper analyzes how varying the ℓ_p norm parameter p in [1,2] affects sparsity and smoothness of adversarial perturbations, showing that intermediate p values often yield better trade-offs than p=1 or p=2, and that optimal p depends on model architecture and dataset.
Adversarial attacks against deep neural networks are commonly constructed under $\ell_p$ norm constraints, most often using $p=1$, $p=2$ or $p=\infty$, and potentially regularized for specific demands such as sparsity or smoothness. These choices are typically made without a systematic investigation of how the norm parameter \( p \) influences the structural and perceptual properties of adversarial perturbations. In this work, we study how the choice of \( p \) affects sparsity and smoothness of adversarial attacks generated under \( \ell_p \) norm constraints for values of $p \in [1,2]$. To enable a quantitative analysis, we adopt two established sparsity measures from the literature and introduce three smoothness measures. In particular, we propose a general framework for deriving smoothness measures based on smoothing operations and additionally introduce a smoothness measure based on first-order Taylor approximations. Using these measures, we conduct a comprehensive empirical evaluation across multiple real-world image datasets and a diverse set of model architectures, including both convolutional and transformer-based networks. We show that the choice of $\ell_1$ or $\ell_2$ is suboptimal in most cases and the optimal $p$ value is dependent on the specific task. In our experiments, using $\ell_p$ norms with $p\in [1.3, 1.5]$ yields the best trade-off between sparse and smooth attacks. These findings highlight the importance of principled norm selection when designing and evaluating adversarial attacks.
Motivation & Objective
- Motivate a principled examination of how the norm parameter p influences adversarial perturbations' structure.
- Introduce sparsity and smoothness measures to quantify perturbations under ℓ_p constraints.
- Empirically evaluate sparsity and smoothness across datasets and architectures under p in [1,2].
- Identify how optimal p depends on model type and data distribution.
- Show that adversarial training alters sparsity/smoothness behavior and robustness.
Proposed method
- Adopt two established sparsity measures (Gini Index and Hoyer measure) to quantify perturbation sparsity.
- Introduce three smoothness measures, including a smoothing-operator based framework and a Taylor-approximation based measure.
- Use Auto-Projected Gradient Descent (AFW variant) to generate adversarial perturbations under arbitrary ℓ_p norms for p in [1,2].
- Employ a general optimization framing that respects image-domain constraints while solving the adversarial problem for arbitrary p.
- Analyze sparsity and smoothness across multiple model architectures and datasets with controlled attack strength ε per model/dataset.
Experimental results
Research questions
- RQ1How does the ℓ_p norm parameter p within [1,2] influence sparsity of adversarial perturbations?
- RQ2How does p affect the smoothness of adversarial perturbations under ℓ_p constraints?
- RQ3Do standard choices p=1 or p=2 yield optimal sparsity/smoothness compared to intermediate p values?
- RQ4Does the optimal p depend on model architecture (CNNs vs transformers) and dataset?
- RQ5How does adversarial training impact sparsity and smoothness of perturbations?
Key findings
- Sparsity tends to peak around p near 1.3, while smoothness increases with p and plateaus around mid-range values.
- Optimal p values differ by model architecture, with convolutional models clustering near p around 1.3 and transformers showing more variability and higher typical p values.
- Adversarial training generally reduces sparsity, requiring perturbations to affect larger portions of the input to remain effective.
- Neither p=1 nor p=2 is universally optimal for sparsity/smoothness when considering multiple measures.
- A sweet spot for p in the range of approximately 1.3 to 1.5 yields favorable sparsity-smoothness trade-offs across several settings.
- Adversarial training increases robustness more against sparse perturbations, as observed in how sparsity changes after training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.