跳到正文
arXiv cs.AI· Giulia Marchiori Pietrosanti, Giulio Rossolini, Giorgio Buttazzo·· 1 天前AI 评分26

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

Adversarial Decoys: Misdirecting Attention-Based Defenses in ViT

AI 导读

研究者提出“对抗诱饵”方法,通过优化独立图像块将注意力从真实对抗区域引向选定目标 token,从而绕过 ViT 的注意力排序防御。该方法将误分类与防御规避解耦,可集成到任意现有对抗补丁攻击中。在 ImageNet 上跨多种 ViT 架构与对抗补丁攻击的实验显示,诱饵能持续转移高注意力分数并保留大部分攻击效果,揭示仅用注意力作为对抗相关性指标的局限。

正文 · 原文

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