Patch-Wise Attack for Fooling Deep Neural Network

Lianli Gao, Qilong Zhang, Jingkuan Song, Xianglong Liu, Heng Tao Shen

Abstract

Adversarial attacks often suffer from low transferability in black-box settings, where the target model's architecture and parameters are unknown. This paper introduces the Patch-wise Iterative Fast Gradient Sign Method (PI-FGSM) to address this limitation. By incorporating an amplification factor to escape local optima and a project kernel to redistribute clipped noise into neighboring regions, PI-FGSM generates patch-like perturbations. These perturbations better align with the regional features used by diverse Deep Neural Networks (DNNs), significantly improving attack success rates across various architectures and defense mechanisms.

Introduction

Adversarial attacks—adding tiny, human-imperceptible noise to images to fool AI—are well-documented in "white-box" settings where the attacker has full access to the model's gradients. However, in real-world "black-box" scenarios, the target model's architecture and parameters are unknown. The primary challenge in these settings is transferability: an adversarial image crafted to fool one model often fails to fool another.

Existing iterative attacks tend to "overfit" to the specific pixel-level quirks of the source model. While single-step attacks generalize better, they are often too weak to bypass sophisticated defense mechanisms. This research seeks to bridge that gap, creating an iterative attack that maintains high success rates across different, unknown models by focusing on regional features rather than isolated pixels.

Methodology

The proposed PI-FGSM introduces two main innovations to the standard iterative attack pipeline:

  1. Amplification Factor ($\beta$): Instead of using a tiny step size in each iteration, the authors multiply the step size by an amplification factor. This helps the optimization process avoid getting stuck in "poor local optima" of the source model’s loss landscape, which is a common cause of low transferability.
  2. Project Kernel ($W_p$): Standard attacks use a "clipping" operation to ensure the noise stays within a specific range (the $\epsilon$-constraint). If a pixel's noise exceeds this limit, the extra gradient information is typically discarded. PI-FGSM instead takes this "overflowing" noise and redistributes it to the pixel's neighbors using a convolution-like kernel.
Visualization of model attention maps and adversarial noise patterns. PI-FGSM generates structured, patch-wise noise that better targets the discriminative regions used by models like DenseNet-161 and Inception V3.

By "smearing" the excess noise into the surrounding area, the algorithm generates patch-wise noise. This mimics the way DNNs naturally process images, as they focus on regional features (discriminative patches) rather than individual pixels. Because different models often look at similar regions to identify an object, noise that affects a whole patch is much more likely to transfer across different architectures.

Experimental Results

The researchers evaluated PI-FGSM using the ImageNet-compatible dataset from the NIPS 2017 adversarial competition, testing against both normally trained models (e.g., Inception V3, ResNet-152) and advanced defense models (e.g., Ensemble Adversarial Training, Feature Denoising).

  • Defense Models: PI-FGSM improved the attack success rate by an average of 9.2% compared to state-of-the-art attacks.
  • Normally Trained Models: The success rate improved by an average of 3.7%, with specific transfers (e.g., attacking DenseNet-161 using an Inception-ResNet-v2 source) seeing improvements as high as 17.2%.
  • Ensemble Attacks: When combined with ensemble strategies, PI-FGSM achieved success rates near 90% against several robust defense models.

Discussion and Conclusion

The effectiveness of PI-FGSM highlights that DNNs are vulnerable to regional perturbations. The authors argue that the "linear nature" of DNNs allows for larger step sizes, and the amplification factor finds a "sweet spot" between the underfitting of single-step attacks and the overfitting of traditional iterative attacks.

However, the method requires some empirical tuning. The optimal size of the project kernel ($W_p$) varies; normally trained models are most vulnerable to $3 \times 3$ kernels, while defense models are more susceptible to larger kernels (up to $21 \times 21$). Future work suggests that this patch-wise approach could serve as a new baseline for evaluating robustness, potentially leading to the development of "patch-resistant" neural architectures.

Summary updated

BibTeX
@inproceedings{gao2020patch,
  author = {Lianli Gao and Qilong Zhang and Jingkuan Song and Xianglong Liu and Heng Tao Shen},
  title = {{Patch-Wise Attack for Fooling Deep Neural Network}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58604-1\_19},
}
Figure