Skip to content
Conference

Entropy-Adaptive Patch Weighting for Improving Gradient-Based Adversarial Attack on Vision Transformer

Aug 2026 · International Conference on Multimedia Analysis and Pattern Recognition · pp. 400-405 · 0 citations · 15 references

Abstract

Adversarial attacks on Vision Transformers (ViTs) commonly rely on selecting a subset of important patches to guide perturbation allocation, with hard top-k strategies being a widely used approach. However, such methods convert continuous attention distributions into binary decisions, potentially discarding useful information when patch importance scores are similar. To address this limitation, we propose a soft attention-based patch selection framework that assigns continuous importance weights to all patches, enabling more flexible and fine-grained perturbation allocation. Building on this idea, we further introduce an entropy-adaptive weighting mechanism that dynamically adjusts the sharpness of the weighting distribution according to the entropy of attention scores. By adapting to both concentrated and dispersed attention patterns, the proposed approach removes the need for manual tuning of the sharpness parameter. We evaluate our method on CIFAR-10 using a ViT-B/16 model under a white-box Projected Gradient Descent (PGD) attack setting. Experimental results show that the proposed entropy-adaptive strategy achieves a high Attack Success Rate (ASR) of 97.3%, substantially outperforming the hard top-25% baseline (89.7%) while maintaining comparable perceptual quality (PSNR ≈ 34 dB). Furthermore, the adaptive mechanism provides strong attack performance without requiring dataset-specific tuning of weighting parameters. These findings suggest that entropy-aware weighting offers a flexible and robust approach for patch-level perturbation allocation in adversarial attacks on Vision Transformers.

View source

Similar papers

Open access Oct 2026

Transferable adversarial attacks on vision transformers via Patches Restructuring

Vision Transformers (ViTs) have achieved strong performance in image recognition, but their vulnerability to transferable adversarial examples remains an important security concern. Existing transfer-based attacks are mostly designed from the perspective of convolutional neural networks or input-level transformations,...

Yu-Hang Zhao, Hui-Peng Zhou, Qing Fan et al. · 0 citations
Preprint Nov 2026

Score-based Black-box Attack via Adversarial Condition Guided Diffusion Model

Generative models enable unrestricted adversarial attacks that aim to fool classifiers while preserving the natural appearance and semantics of the original image. However, existing diffusion-based black-box attacks largely rely on transferability from surrogates, making their effectiveness sensitive to differences bet...

Yu-Han Chen, Chih-Hong Cheng, K. Debattista et al. · 0 citations
Conference Open access 2025

Defending Against Adversarial Examples with Adaptive Quantization Table-Guided Image Compression

Intelligent vehicles rely on deep learning-based image recognition models for accurate environmental perception, which is critical for driving safety. However, recent research has identified the significant threat from adversarial examples, which can mislead models by adding subtle perturbations to input images, thereb...

Zhuang Zhang, Li-Jun Zhang, D. Meng et al. · 0 citations
Open access Oct 2026

SPARTA: Sparse Patch Attack for Revealing Transformer Attention Vulnerabilities

In this paper, we propose SPARTA (Sparse Patch Attack for Revealing Transformer Attention vulnerabilities), an attention-guided white-box adversarial attack framework for investigating attention-based weaknesses in Vision Transformer (ViT)-based medical image classifiers. SPARTA employs attention rollout to identify at...

Trung Dang Thanh, Thi Thanh Thuy Pham, Huong-Giang Doan · 0 citations
Open access Nov 2026

Attack-Dependent Composition Effects and Defense Selection in Adversarial Image Classification

Input-preprocessing defenses are often combined, and studies of such combinations ask whether a composition improves robustness. When the effect of adding a component changes sign across attacks, this leaves open which pipeline should be deployed. We treat the choice among preprocessing pipelines as a decision problem...

Nataliia Kussul, Богдан Романович Омельченко, A. Shelestov · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.