跳到正文
arXiv cs.AI· Giulia Marchiori Pietrosanti, Giulio Rossolini, Giorgio Buttazzo·· 3 小时前AI 评分32

对抗诱饵:误导 ViT 基于注意力的防御机制

Adversarial Decoys: Misdirecting Attention-Based Defenses in ViT

AI 导读

研究者提出对抗诱饵方法,通过优化图像 patch 将注意力重定向到选定目标 token,从而误导 ViT 基于注意力排序的对抗防御。该方法将误分类与防御规避解耦:原对抗区域诱导错误预测,独立诱饵操纵防御所依赖的注意力排名,可兼容任意现有对抗 patch 攻击。ImageNet 上多架构实验显示诱饵能持续转移高注意力并保留攻击效果,揭示仅凭注意力判断对抗性的根本局限。

正文 · 原文

View PDF HTML (experimental)

Abstract:Vision Transformers (ViTs) remain vulnerable to localized adversarial attacks, e.g., adversarial patches, while recent test-time defenses mitigate them by suppressing image tokens with abnormally high attention scores. These defenses exploit a strong coupling between attention and adversarial effectiveness: adversarial tokens often need to attract substantial attention to influence the prediction. We introduce adversarial decoys, image patches optimized to redirect attention, and therefore related defenses, towards selected target tokens. Rather than jointly optimizing misclassifications and defense evasion, our approach decouples the two objectives: the original adversarial region induces the incorrect prediction, while a separate decoy manipulates the attention ranking used by the defense. A layer-wise objective increases target-token attention and promotes these tokens above competing non-target ones. Since the decoy optimization is not tied to a specific attack formulation, the method can be easily integrated with any existing adversarial patch attack. Experiments on ImageNet across multiple ViT architectures and adversarial patch attacks show that decoys consistently redirect high attention scores away from the true adversarial region while preserving much of the attack effectiveness against attention-ranking defenses. These results reveal a fundamental limitation of using attention alone as an indicator of adversarial relevance.
Subjects: Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI)
Cite as: arXiv:2607.07922 [cs.CV]
  (or arXiv:2607.07922v2 [cs.CV] for this version)
  https://doi.org/10.48550/arXiv.2607.07922

arXiv-issued DOI via DataCite

Submission history

From: Giulia Marchiori Pietrosanti [view email]
[v1] Wed, 8 Jul 2026 21:08:57 UTC (13,230 KB)
[v2] Wed, 11 Nov 2026 10:54:01 UTC (9,495 KB)

来源:arXiv cs.AI · arxiv.org