[Paper Review] PatchAttack: A Black-box Texture-based Attack with Reinforcement Learning
PatchAttack is a query-efficient black-box adversarial attack that uses reinforcement learning to optimize textured patches for both targeted and non-targeted misclassification of deep neural networks. By learning a class-specific texture dictionary from VGG feature maps and strategically placing these patches, it achieves over 99% success on ImageNet with only 3% of the image modified for non-targeted attacks and under 10% on average for targeted attacks.
Patch-based attacks introduce a perceptible but localized change to the input that induces misclassification. A limitation of current patch-based black-box attacks is that they perform poorly for targeted attacks, and even for the less challenging non-targeted scenarios, they require a large number of queries. Our proposed PatchAttack is query efficient and can break models for both targeted and non-targeted attacks. PatchAttack induces misclassifications by superimposing small textured patches on the input image. We parametrize the appearance of these patches by a dictionary of class-specific textures. This texture dictionary is learned by clustering Gram matrices of feature activations from a VGG backbone. PatchAttack optimizes the position and texture parameters of each patch using reinforcement learning. Our experiments show that PatchAttack achieves > 99% success rate on ImageNet for a wide range of architectures, while only manipulating 3% of the image for non-targeted attacks and 10% on average for targeted attacks. Furthermore, we show that PatchAttack circumvents state-of-the-art adversarial defense methods successfully.
Motivation & Objective
- To develop a query-efficient black-box patch attack that performs well on both targeted and non-targeted misclassification.
- To overcome the limitations of monochrome patch attacks, which fail in targeted settings due to lack of informative content.
- To design a texture-based patch attack that can bypass state-of-the-art defenses, including feature denoising and shape-biased networks.
- To demonstrate that deep networks remain vulnerable to localized, perceptible texture-based perturbations even when trained to be shape-sensitive.
Proposed method
- Formulates the patch placement and texture selection as a reinforcement learning (RL) decision-making process, where the agent interacts with the target model to maximize misclassification reward.
- Learns a class-specific texture dictionary by clustering Gram matrices of feature activations from a pre-trained VGG backbone, enabling efficient search over realistic textures.
- Uses the texture dictionary to parameterize patch appearance, allowing the RL agent to explore diverse, semantically meaningful textures rather than random or monochrome patches.
- Optimizes patch position and texture using a policy gradient method, where the reward is the model’s misclassification rate on the target class.
- Superimposes selected texture patches at optimized positions on the input image to generate adversarial examples.
- Employs a simulation loop: select patch position and texture → apply to image → query model → receive reward → update policy.
Experimental results
Research questions
- RQ1Can a reinforcement learning-based approach significantly improve query efficiency in black-box patch attacks compared to random search or gradient-free optimization?
- RQ2Does introducing class-specific texture patches enhance attack success in targeted settings, where monochrome patches fail?
- RQ3Can a texture-based patch attack successfully bypass state-of-the-art defenses such as feature denoising and shape-biased networks?
- RQ4How much of the input image needs to be modified to achieve high attack success, and does this vary between targeted and non-targeted settings?
Key findings
- PatchAttack achieves over 99% success rate on ImageNet for both targeted and non-targeted attacks, significantly outperforming prior work.
- For non-targeted attacks, only 3% of the image is modified on average, and the attack requires fewer than 1,000 queries on average.
- For targeted attacks, the average image area modified is under 10%, with a success rate of 99.3% when 10% of the image is corrupted.
- PatchAttack successfully bypasses the feature denoising defense, which is effective against perturbation-based attacks, demonstrating its robustness.
- Even when applied to shape-biased networks trained on Stylized-ImageNet, PatchAttack reduces accuracy from 77.7% to 0.5% in non-targeted settings and increases targeted accuracy to 100% with minimal patch area.
- The attack remains highly efficient, requiring only 3,822 queries on average in the targeted setting when using a 10% patch area, and 9,229 queries for a 10.31% occlusion area.
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.