Visually imperceptible adversarial patch attacks

Yaguan Qian, Jiamin Wang, Haijiang Wang, Zhaoquan Gu, Bin Wang, Shaoning Zeng, Wassim Swaileh

TL;DR

This paper introduces a novel method for crafting adversarial attacks on deep neural networks (DNNs) by focusing on "Contributing Feature Regions" (CFRs) identified through network explanations. This approach leads to more imperceptible and effective adversarial patches compared to existing methods, demonstrating that DNNs exhibit attention-like mechanisms.

What Problem Does This Paper Address?

Deep neural networks (DNNs), particularly Convolutional Neural Networks (CNNs), have achieved remarkable success in image classification. However, they are also highly vulnerable to adversarial examples – subtly modified inputs that cause misclassification, often imperceptible to humans. While many adversarial attack methods exist, they often perturb entire images or large regions without considering the semantic importance of different image parts. This leads to redundant perturbations that can be visually detected and are less efficient. The paper aims to address this by developing an adversarial attack that is both visually imperceptible and highly effective by strategically targeting semantically important regions within an image.

Methods

The core of the proposed method lies in identifying and exploiting "Contributing Feature Regions" (CFRs). This is achieved by:

  • Leveraging Network Explanations: The authors use gradient-based methods (specifically, gradients of the class logit with respect to the final convolutional layer's feature maps) to identify which regions of an image are most influential for a given class prediction. This is inspired by human attention mechanisms, where not all parts of an image contribute equally to recognition.
  • Soft Mask Matrix: Instead of a hard binary mask, a soft mask matrix is designed. This matrix assigns weights to pixels within the identified CFR based on their contribution to the class prediction, allowing for a more nuanced representation of the region.
  • Optimized Perturbation Generation: A new loss function is formulated that combines a cross-entropy loss (to maximize misclassification) with an L2 regularization term to control the magnitude of the perturbation. An "inverse temperature" parameter is introduced to prevent the loss from becoming too small, ensuring that perturbations continue to have an impact during optimization.
  • Hill Climbing Algorithm: A hill climbing algorithm is employed to iteratively refine the adversarial perturbation within the CFR, aiming to maximize the modified loss function while keeping the perturbations within a constrained range.

Datasets

  • CIFAR-10: A standard dataset for image classification, consisting of 60,000 images (32x32 pixels) across 10 classes. 50,000 images are used for training and 10,000 for testing.
  • ILSVRC2012: A larger dataset for image classification, containing 1,000 categories. 1,200 images are used for training and 50,000 for testing.

Key Insights and Ideas

  • DNNs Exhibit Attention-like Behavior: The success of targeting specific "Contributing Feature Regions" suggests that DNNs, like humans, focus on particular parts of an image for classification. This provides a crucial insight into their internal workings.
  • Semantic Targeting is More Effective: Perturbing semantically important regions (CFRs) is significantly more effective at fooling classifiers with fewer and less noticeable perturbations compared to random or global perturbations.
  • Imperceptibility Achieved: The proposed method achieves a high degree of visual imperceptibility, as evidenced by high Structural Similarity Index (SSIM) scores, meaning the adversarial images are very similar to the original clean images.
  • Transferability of CFRs: The paper suggests that different classifiers often share similar CFRs for the same object, which contributes to the high transferability of their adversarial attacks across different models.

Key Results

  • High Attack Success Rate (ASR): The method achieves very high ASRs, often exceeding 99% on both CIFAR-10 and ILSVRC2012, outperforming state-of-the-art global and local attacks.
  • Superior Imperceptibility: The adversarial patches generated are visually imperceptible, with SSIM scores consistently close to 1, indicating minimal visual distortion compared to original images.
  • Reduced Perturbation Magnitude: The L1 and L2 norms of the perturbations are among the smallest compared to other methods, especially for global attacks.
  • Effective on Protected Models: The attack demonstrates significant effectiveness even against models protected by adversarial training, achieving higher ASRs than other compared attacks.
  • High Transferability: The adversarial examples generated show strong transferability across different models, making them effective in black-box attack scenarios.

Limitations and Future Work

  • Limitations:
    • The method relies on white-box access to the target model for generating the initial perturbations. However, the authors note that these white-box attacks can be adapted for black-box scenarios.
  • The computational cost of finding the CFR and generating perturbations, while optimized, can still be significant.
  • Future Work:
    • The authors plan to extend this imperceptible patch attack methodology to other domains, such as medical image classification and segmentation, where tiny perturbations can have significant implications.
  • They also aim to develop new countermeasures against CFR patches, potentially by smoothing CFRs to filter adversarial perturbations.
  • Further investigation into the hyper-parameters (iterations N and inverse temperature T) is suggested to fine-tune the attack's performance.

Summary updated

BibTeX
@inproceedings{qian2022visually,
  author = {Yaguan Qian and Jiamin Wang and Haijiang Wang and Zhaoquan Gu and Bin Wang and Shaoning Zeng and Wassim Swaileh},
  title = {{Visually imperceptible adversarial patch attacks}},
  booktitle = {Comput. Secur},
  year = {2022},
  url = {https://openreview.net/forum?id=2_eTX_NdECM},
}
Figure