[Paper Review] Generative Dynamic Patch Attack
This paper proposes Generative Dynamic Patch Attack (GDPA), an end-to-end differentiable framework that jointly optimizes adversarial patch patterns and dynamic, image-specific locations for maximum attack success. GDPA achieves state-of-the-art attack success rates across multiple benchmarks and enables highly robust adversarial training, significantly improving defense against diverse patch attacks while being 40–50x faster than optimization-based baselines.
Adversarial patch attack is a family of attack algorithms that perturb a part of image to fool a deep neural network model. Existing patch attacks mostly consider injecting adversarial patches at input-agnostic locations: either a predefined location or a random location. This attack setup may be sufficient for attack but has considerable limitations when using it for adversarial training. Thus, robust models trained with existing patch attacks cannot effectively defend other adversarial attacks. In this paper, we first propose an end-to-end patch attack algorithm, Generative Dynamic Patch Attack (GDPA), which generates both patch pattern and patch location adversarially for each input image. We show that GDPA is a generic attack framework that can produce dynamic/static and visible/invisible patches with a few configuration changes. Secondly, GDPA can be readily integrated for adversarial training to improve model robustness to various adversarial attacks. Extensive experiments on VGGFace, Traffic Sign and ImageNet show that GDPA achieves higher attack success rates than state-of-the-art patch attacks, while adversarially trained model with GDPA demonstrates superior robustness to adversarial patch attacks than competing methods. Our source code can be found at https://github.com/lxuniverse/gdpa.
Motivation & Objective
- To address the limitation of existing patch attacks that use fixed or random locations, which hinders effective adversarial training.
- To develop a generic, end-to-end differentiable framework that jointly learns patch patterns and optimal image-dependent locations.
- To improve model robustness against real-world patch attacks by integrating the attack into adversarial training.
- To achieve high attack success rates while maintaining significantly faster inference speed than optimization-based methods like PGD and ROA.
Proposed method
- GDPA formulates the patch attack as an end-to-end differentiable optimization problem, jointly learning the patch pattern and its spatial location for each input image.
- The method uses a learnable patch generator that outputs both the patch content and its spatial coordinates via a single forward pass.
- It employs a differentiable rendering process to insert the adversarial patch into the input image at the predicted location.
- The attack objective maximizes the cross-entropy loss of the target model on the patched input, enabling backpropagation through both the patch and location parameters.
- The framework supports dynamic (image-specific) and static (universal) patches, as well as visible and invisible variants, through configurable hyperparameters.
- GDPA enables efficient adversarial training by integrating the attack into the training loop, producing models robust to diverse patch attacks.
Experimental results
Research questions
- RQ1Can an end-to-end differentiable framework jointly optimize patch pattern and location to improve attack success over fixed or random location methods?
- RQ2How does GDPA’s dynamic patch generation compare to state-of-the-art patch attacks in terms of attack success rate across diverse datasets and models?
- RQ3To what extent does adversarial training using GDPA improve robustness against high-profile physical patch attacks compared to existing defense methods?
- RQ4How does GDPA’s inference speed compare to optimization-based attacks like PGD and ROA in practical deployment scenarios?
Key findings
- GDPA achieves state-of-the-art attack success rates, reaching 99.5% on VGGFace with dynamic patches and 99.8% on ImageNet, surpassing existing methods.
- The model trained with GDPA-AT achieves 98.5% accuracy under the sticker attack on Traffic Sign and 96.2% under the LAVAN attack on ImageNet, outperforming PGD-AT, DOA-Grad, and DOA-Exh.
- GDPA-AT demonstrates superior robustness, maintaining 94.9% accuracy under the eyeglasses attack on VGGFace even with 300 iterations, compared to 81.9% for DOA-Grad.
- GDPA is 40x faster than PGD and 47x faster than ROA, requiring only one forward pass per attack, making it highly efficient for real-time applications.
- The ablation study confirms that dynamic patch location selection significantly improves attack success, with ASR increasing from 46.3% (random) to 99.5% (dynamic) on VGGFace.
- The framework successfully generates both visible and invisible patches, showing versatility across different attack configurations without architectural changes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.