Lp-norm distortion-efficient adversarial attack

Chao Zhou, Yuan-Gen Wang, Zi-Jia Wang, Xiangui Kang

TL;DR

This paper introduces a novel adversarial attack method that aims to create more realistic adversarial examples. By simultaneously optimizing for low $L_2$-norm distortion (imperceptibility) and low $L_0$-norm distortion (sparsity), their method generates attacks that are both visually subtle and affect fewer pixels, outperforming existing state-of-the-art attacks on benchmark datasets.

What Problem Does This Paper Address?

Deep learning models, particularly Convolutional Neural Networks (CNNs), are highly susceptible to adversarial examples. These are subtly modified inputs designed to fool the model into misclassifying them. Current adversarial attack methods often focus on minimizing one type of distortion:

  • $L_0$-norm: Aims to minimize the number of pixels changed. While sparse, it can lead to noticeable changes in individual pixels, making them visually detectable.
  • $L_2$-norm and $L_\infty$-norm: Aim to minimize the overall magnitude of changes across all pixels. These methods often result in perturbations spread across many pixels, making them less robust to adversarial defenses that might smooth out small changes.

The problem is that a truly effective adversarial attack should be both imperceptible (low $L_2$/$L_\infty$-norm) and sparse (low $L_0$-norm), meaning it modifies only a few pixels significantly, rather than many pixels slightly. Existing methods struggle to achieve both simultaneously.

Methods

The proposed method, an "Lp-norm distortion-efficient adversarial attack," tackles this by introducing a novel optimization scheme with three key components:

  1. Initial Perturbation Generation: They start by generating an initial adversarial perturbation using a decision-based attack method called Sign-OPT. This initial perturbation is optimized for $L_2$-norm (or $L_\infty$-norm) distortion.
  2. Dimension Unimportance Matrix Calculation: This is a core novelty. They design an algorithm to calculate a "dimension unimportance matrix." This matrix quantifies how "unimportant" each dimension (pixel) of the initial perturbation is for fooling the classifier. Essentially, it identifies which pixel modifications contribute least to the adversarial effect.
  3. Perturbation Dimension Optimization: Using the dimension unimportance matrix, they introduce a concept of an "adversarial threshold." Pixels whose unimportance score exceeds this threshold are then set to zero. This effectively sparsifies the perturbation, significantly reducing the $L_0$-norm distortion while aiming to preserve the adversarial effect. This is achieved through a binary search to find the optimal threshold.

The overall attack framework is summarized in Algorithm 3, which orchestrates these steps.

Datasets

The authors evaluated their method on three standard benchmark datasets:

  • MNIST: A dataset of handwritten digits.
  • CIFAR10: A dataset of small color images in 10 classes.
  • ImageNet: A large-scale dataset of diverse images.

Key Insights and Ideas

  • The Trade-off Between Sparsity and Imperceptibility: The paper highlights that traditional attacks often force a choice between making a few pixels very different ($L_0$-norm) or many pixels slightly different ($L_2$/$L_\infty$-norm). Their work demonstrates that it's possible to achieve a good balance.
  • "Dimension Unimportance" as a Key Metric: Identifying which pixels are "unimportant" for the adversarial effect is crucial. This allows for targeted removal of perturbations without sacrificing the attack's effectiveness.
  • Adversarial Thresholding for Sparsity: The concept of an adversarial threshold, derived from the unimportance matrix, provides a principled way to prune less important perturbations, leading to sparser and more visually imperceptible attacks.
  • Synergy Between $L_2$ and $L_0$ Optimization: By first optimizing for $L_2$ (imperceptibility) and then using that to inform $L_0$ (sparsity) reduction, they leverage the strengths of both.

Key Results

The experimental results on MNIST, CIFAR10, and ImageNet demonstrate the effectiveness of their proposed method:

  • Reduced $L_2$-norm Distortion: On the MNIST dataset, their attack reduced $L_2$-norm distortion by 8.1% while remaining 47% pixels unattacked.
  • Lower $L_0$-norm Distortion: Compared to state-of-the-art methods, their attack achieved lower $L_0$-norm distortion (fewer attacked pixels) under similar query budgets.
  • Improved Visual Imperceptibility: Visual comparisons (Figure 4) show that their adversarial examples are visually similar to the original images, with fewer noticeable changes compared to the Sign-OPT attack.
  • Competitive Success Rates: While focusing on distortion reduction, their method maintained competitive success rates (SR) across various datasets and attack settings. For instance, in Table 1, their method achieved high SR values (e.g., 90.8% on MNIST with 14000 queries) while also reducing attacked pixels.
  • Robustness Against Defenses: The paper suggests that by being sparse and imperceptible, their attacks are likely more robust against certain adversarial defenses.

Limitations and Future Work

  • Query Budget: While the method aims to be query-efficient, the performance can still be influenced by the query budget, especially when estimating gradients becomes less accurate.
  • Dataset and Model Specificity: The performance might vary across different datasets and model architectures.
  • Future Work: The authors suggest that this work poses a new challenge to the robustness of hard-label black-box classifiers and sheds light on defense strategies. Further research could explore more sophisticated ways to calculate dimension unimportance or adapt the thresholding mechanism for different attack scenarios.

Summary updated

BibTeX
@article{zhou2025lp,
  author = {Chao Zhou and Yuan-Gen Wang and Zi-Jia Wang and Xiangui Kang},
  title = {{Lp-norm distortion-efficient adversarial attack}},
  journal = {Signal Process. Image Commun.},
  year = {2025},
  doi = {10.1016/j.image.2024.117241},
}
Figure