[Paper Review] Decision-based Black-box Attack Against Vision Transformers via Patch-wise Adversarial Removal
This paper proposes Patch-wise Adversarial Removal (PAR), a decision-based black-box attack that improves noise compression efficiency against Vision Transformers (ViTs) by adaptively removing adversarial noise patch by patch based on region-specific noise sensitivity. PAR achieves significantly lower perturbation magnitudes than baseline methods with fewer queries, and can be used to initialize other attacks for further efficiency gains on both ViTs and CNNs.
Vision transformers (ViTs) have demonstrated impressive performance and stronger adversarial robustness compared to Convolutional Neural Networks (CNNs). On the one hand, ViTs' focus on global interaction between individual patches reduces the local noise sensitivity of images. On the other hand, the neglect of noise sensitivity differences between image regions by existing decision-based attacks further compromises the efficiency of noise compression, especially for ViTs. Therefore, validating the black-box adversarial robustness of ViTs when the target model can only be queried still remains a challenging problem. In this paper, we theoretically analyze the limitations of existing decision-based attacks from the perspective of noise sensitivity difference between regions of the image, and propose a new decision-based black-box attack against ViTs, termed Patch-wise Adversarial Removal (PAR). PAR divides images into patches through a coarse-to-fine search process and compresses the noise on each patch separately. PAR records the noise magnitude and noise sensitivity of each patch and selects the patch with the highest query value for noise compression. In addition, PAR can be used as a noise initialization method for other decision-based attacks to improve the noise compression efficiency on both ViTs and CNNs without introducing additional calculations. Extensive experiments on three datasets demonstrate that PAR achieves a much lower noise magnitude with the same number of queries.
Motivation & Objective
- To address the inefficiency of existing decision-based black-box attacks against Vision Transformers (ViTs), which treat all image regions uniformly despite varying noise sensitivity.
- To analyze the limitations of current attacks like Boundary Attack in compressing noise on ViTs due to their patch-wise architecture and low global noise sensitivity.
- To design a new decision-based attack, Patch-wise Adversarial Removal (PAR), that dynamically selects and compresses noise in the most sensitive image patches to improve compression efficiency.
- To demonstrate that PAR can serve as an effective noise initialization method for other decision-based attacks, enhancing their performance on both ViTs and CNNs without additional computation.
Proposed method
- PAR divides the input image into non-overlapping patches and performs a coarse-to-fine search, progressively reducing patch size to refine noise sensitivity estimation.
- It maintains two masks: one for tracking the noise magnitude per patch and another for estimating the noise sensitivity of each patch based on query feedback.
- At each step, PAR selects the patch with the highest query value (indicating high sensitivity) for noise compression, prioritizing regions where noise removal is most likely to succeed.
- Noise compression is performed iteratively on selected patches using a decision-based optimization strategy, with the process continuing until a minimum patch size is reached or the attack succeeds.
- The method leverages the structural property of ViTs—where noise in individual patches has less impact on final classification—to focus on high-sensitivity regions and avoid redundant queries on low-sensitivity areas.
- PAR can be used as a noise initialization technique for other decision-based attacks, improving their starting point and overall compression efficiency.
Experimental results
Research questions
- RQ1Why do existing decision-based black-box attacks perform poorly on Vision Transformers despite their strong adversarial robustness?
- RQ2How does the noise sensitivity of ViTs vary across different image regions, and how can this variation be exploited to improve attack efficiency?
- RQ3Can a patch-wise, sensitivity-aware noise removal strategy outperform uniform noise compression in decision-based attacks against ViTs?
- RQ4To what extent can PAR improve the performance of other decision-based attacks when used as a noise initialization method?
- RQ5What is the optimal minimum patch size for PAR to balance compression efficiency and query cost?
Key findings
- PAR reduces the median adversarial perturbation magnitude by up to 78% compared to Boundary Attack on ImageNet-2012, achieving 2.218 L2 norm with only 60 queries.
- When used as an initialization method, PAR reduces the average noise magnitude of Boundary Attack from 8.134 to 4.335 on ImageNet-2012, and from 15.687 to 8.55 on ImageNet-21k.
- PAR achieves a noise compression efficiency of 0.673 noise units per query, significantly outperforming Evo (0.035) and Boundary (0.040) in the same query budget.
- Using PAR as initialization improves the performance of Sign-OPT, SurFree, and CAB attacks, reducing their average noise magnitude by up to 75% on ImageNet-2012.
- The method maintains high efficiency even when the minimum patch size is set to 1, though query cost increases significantly, indicating a trade-off between resolution and efficiency.
- Time cost analysis shows PAR is highly efficient per query (0.037s per query), and when used to initialize other attacks, it boosts their overall compression efficiency despite minimal additional computation.
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.