Transferable Structural Sparse Adversarial Attack Via Exact Group Sparsity Training

Di Ming, Peng Ren, Yunlong Wang, Xin Feng

Abstract

Deep Neural Networks (DNNs) are highly susceptible to adversarial attacks, where subtle perturbations trigger misclassifications. While sparse attacks—modifying only a few pixels—offer high stealth, they typically suffer from poor transferability across different model architectures. This paper introduces EGS-TSSA (Exact Group Sparsity - Transferable Structural Sparse Attack), a novel generative framework that enhances transferability by focusing perturbations on classification-relevant image regions. By employing a Masked Quantization Network and exact group sparsity training, the method produces structured, robust perturbations that effectively fool a wide range of models, including CNNs and Vision Transformers.

Introduction

Sparse adversarial attacks aim to minimize the number of modified pixels to remain undetectable to human observers. However, a significant challenge in this domain is transferability: an attack optimized for a specific surrogate model often fails when applied to a different target model. Most existing sparse attacks generate scattered, model-specific noise that does not exploit the shared logic between different architectures.

EGS-TSSA addresses this by shifting the focus from pixel-level sparsity to structural sparsity. By targeting "classification-relevant" regions—areas of the image that multiple models rely on for identification—the resulting perturbations become far more effective at transferring across diverse neural network designs.

The EGS-TSSA Framework

The proposed framework utilizes a generative approach to craft adversarial perturbations. Unlike optimization-based methods that iterate on a single image, EGS-TSSA trains a generator to produce structured masks and perturbations efficiently.

The EGS-TSSA architecture, featuring the generator E, dual discriminators, and the Masked Quantization Network (Q) for exact group sparsity.

Core Components:

  1. Group Feature Importance (GFI): The system uses Grad-CAM on the surrogate model to identify critical image regions. It then ranks these regions and constrains the attack to the top-$k$ most important groups, ensuring the perturbation targets the core features of the object.
  2. Exact Group Sparsity Training: To achieve a precise number of modified pixel blocks, the authors implement a group $\ell_{20}$-norm constraint. This is made differentiable through a Masked Quantization Network (Q), allowing the model to learn discrete selection patterns via standard gradient descent.
  3. Multi-Stage Optimization: Training is split into two phases: an initial stage to identify vulnerable positions and a second stage that applies a strict sparsity penalty to prune the perturbation into a clean, structured mask.

Structural Sparsity and Transferability

A key insight of this work is that the location of a perturbation is more critical for transferability than the quantity of modified pixels. By attacking regions rich in semantic features, the perturbation interferes with the fundamental classification logic shared by different models.

Visual comparison of perturbation patterns. EGS-TSSA produces consistent, structured patterns across different surrogate models (Inception-V3 and ResNet50) compared to the scattered noise of previous methods.

As shown in the visual comparisons, traditional sparse attacks produce highly variable patterns depending on the surrogate model. In contrast, EGS-TSSA generates consistent, structured perturbations. This consistency is the primary driver behind its high black-box success rates.

Experimental Results

The researchers evaluated EGS-TSSA across standard benchmarks including ImageNet, VOC2012 (for semantic segmentation), and MS COCO (for object detection).

  • Superior Transferability: On ImageNet, EGS-TSSA achieved a black-box Attack Success Rate (ASR) of 47.95% using Inception-V3 as a surrogate, outperforming the previous state-of-the-art (TSAA) by over 6%.
  • Cross-Architecture Success: The attack demonstrated remarkable robustness when transferring from CNNs to Vision Transformers (ViTs), reaching up to 18.44% ASR, whereas baseline sparse attacks often failed to exceed 1%.
  • Task Versatility: Beyond classification, the method successfully degraded performance in object detection (e.g., dropping Average Precision on Faster R-CNN from 36.95 to 22.95) and significantly impacted semantic segmentation mIoU.
  • Efficiency: Once trained, the generator can produce an adversarial image in approximately 0.01 seconds, making it significantly faster than iterative optimization methods like PGD.

Conclusion and Future Work

EGS-TSSA demonstrates that structural sparsity is a powerful tool for creating transferable and stealthy adversarial attacks. By bridging the gap between discrete sparsity constraints and continuous gradient-based optimization, the framework provides a robust method for evaluating the security of diverse AI systems.

Future research may focus on better aligning these structural perturbations with the patch-based attention mechanisms of Vision Transformers to further improve cross-architecture transferability. Additionally, exploring the balance between different sparsity levels ($k$) and perturbation magnitudes remains an area for further optimization.

Summary updated

BibTeX
@inproceedings{ming2024transferable,
  author = {Di Ming and Peng Ren and Yunlong Wang and Xin Feng},
  title = {{Transferable Structural Sparse Adversarial Attack Via Exact Group Sparsity Training}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.02332},
}
Figure