Structured Adversarial Attack: Towards General Implementation and Better Interpretability

Kaidi Xu, Sijia Liu, Pu Zhao, Pin-Yu Chen, Huan Zhang, Quanfu Fan, Deniz Erdogmus, Yanzhi Wang, Xue Lin

TL;DR

This paper introduces StrAttack, a novel adversarial attack that uses group sparsity to perturb specific spatial structures in an image rather than individual pixels. By leveraging an efficient ADMM-based optimization framework, the authors create adversarial examples that are not only highly effective at fooling models but also provide significantly better interpretability by aligning perturbations with actual object features.

What Problem Does This Paper Address?

Most adversarial attacks—the "optical illusions" for AI—focus on minimizing the $\ell_p$ norm of a perturbation. In plain English, they try to change every pixel just a tiny bit so the change is invisible to humans but confusing to a neural network.

However, these "noise-like" perturbations often fail to capture the underlying structural information of an image. They look like random static. The authors argue that this lacks interpretability: we can see that a model was fooled, but the noise doesn't tell us why or how the model's internal logic was subverted. Furthermore, standard optimization tools often struggle to balance the "stealthiness" of an attack with the specific structural constraints needed to make the attack meaningful.

Methods

The core innovation is the Structured Attack (StrAttack). Instead of treating every pixel as an independent variable, the authors group pixels together using a sliding mask.

  1. Group Sparsity: By applying a "group Lasso" penalty, the attack encourages entire regions (groups) of the image to remain unperturbed. This forces the optimization to pick only the most "influential" spatial structures to change.
  2. ADMM Framework: To solve this complex optimization problem—which involves non-smooth regularizers and "hard" constraints (like ensuring pixel values stay between 0 and 1)—the authors use the Alternating Direction Method of Multipliers (ADMM). This mathematical "divide and conquer" strategy splits the main problem into a sequence of smaller sub-problems that can be solved analytically and in parallel.
  3. Refinement: Once the attack identifies the most critical sparse regions, the authors provide a "refined" version that optimizes the perturbation specifically within those fixed regions to maximize the attack's success.

Key Insights and Ideas

  • Semantic Perturbations: Unlike the scattered "salt and pepper" noise of the famous C&W attack, StrAttack's perturbations often resemble the features of the target class. For example, when trying to make a model see a "unicycle" in an image of an "ostrich," the perturbation actually takes the shape of a unicycle's frame.
Comparison of C&W and Structured Attack on an ostrich image
  • The Efficiency of ADMM: The paper demonstrates that ADMM is a powerful alternative to standard optimizers like Adam for adversarial research, especially when dealing with complex structural constraints that are mathematically "messy."
  • Better Transferability: Because StrAttack focuses on meaningful spatial structures rather than model-specific pixel noise, the resulting adversarial examples are more likely to fool other models they weren't originally designed for.
  • Bridging the Gap: StrAttack sits in the "Goldilocks zone" between attacks that change every pixel (C&W) and attacks that change only one pixel but very drastically. It achieves sparsity without sacrificing image quality or attack success rates.

Datasets and Key Results

The authors evaluated StrAttack across three standard computer vision benchmarks: MNIST (handwritten digits), CIFAR-10 (small object images), and ImageNet (large-scale, high-resolution images).

Examples of StrAttack across MNIST, CIFAR-10, and ImageNet datasets
  • Sparsity: On ImageNet, StrAttack achieved a 100% success rate while perturbing significantly fewer pixels than the C&W attack. In some cases, it achieved the same result by modifying only a fraction of the "groups" used by other methods.
  • Interpretability Score: Using Adversarial Saliency Maps (ASM), the authors showed that StrAttack's perturbations align much more closely with the regions the model actually uses to make decisions.
  • Breaking Defenses: StrAttack successfully bypassed common defense mechanisms, including Defensive Distillation and Adversarial Training, maintaining a 100% attack success rate on MNIST even against "robust" models.
  • Transferability: In tests across six different ImageNet architectures (like ResNet, Inception, and DenseNet), StrAttack consistently outperformed standard attacks in its ability to fool "black-box" models.

Limitations and Future Work

  • Storage Overhead: The authors note that when using "overlapping" groups (where the sliding mask moves pixel-by-pixel), the ADMM framework requires significantly more memory to store auxiliary variables.
  • Hyperparameter Tuning: Like many ADMM-based approaches, the performance depends on tuning penalty parameters ($\rho, \gamma, \tau$), which might require different setups for different datasets.
  • Fixed Mask Shapes: The current work uses square sliding masks. Future research could explore more flexible, "organic" shapes for groups that might better follow the contours of natural objects.

Summary updated

BibTeX
@inproceedings{xu2019structured,
  author = {Kaidi Xu and Sijia Liu and Pu Zhao and Pin-Yu Chen and Huan Zhang and Quanfu Fan and Deniz Erdogmus and Yanzhi Wang and Xue Lin},
  title = {{Structured Adversarial Attack: Towards General Implementation and Better Interpretability}},
  booktitle = {International Conference on Learning Representations},
  year = {2019},
  url = {https://openreview.net/forum?id=8WzW24I9BK},
}
Figure