通过注意力梯度侵蚀实现视觉Transformer隐蔽后门攻击
Backdoor Attack Against Vision Transformers via Attention Gradient-Based Image Erosion
- 基于注意力梯度选择性擦除关键像素,嵌入隐蔽触发器
- 攻击成功率高,干净数据准确率无损失,保持模型性能
- 适合研究模型安全、对抗攻击的学者与工程师参考
视觉变换器(ViTs)在多种计算机视觉任务中已超越传统卷积神经网络(CNN)。然而,与CNN类似,ViTs也易受后门攻击:攻击者在目标模型中植入后门,使包含特定触发器的测试样本产生错误预测。现有针对ViTs的后门攻击难以在攻击隐蔽性与有效性之间取得平衡。本文提出一种面向ViTs的注意力梯度侵蚀后门攻击(AGEB),利用ViT的注意力机制,选择性地擦除注意力梯度最大的区域像素,嵌入隐蔽触发器。相比以往方法,AGEB实现了隐蔽性与有效性的最优平衡,确保触发器对人眼不可见,同时保持模型在干净样本上的准确率。在多种ViT架构和数据集上的实验验证了其有效性,攻击成功率高,且干净数据准确率(CDA)无下降。此外,该方法的隐蔽性经严格验证,清洁图像与触发图像间视觉差异极小。
原文摘要 · Abstract (English)
Vision Transformers (ViTs) have outperformed traditional Convolutional Neural Networks (CNN) across various computer vision tasks. However, akin to CNN, ViTs are vulnerable to backdoor attacks, where the adversary embeds the backdoor into the victim model, causing it to make wrong predictions about testing samples containing a specific trigger. Existing backdoor attacks against ViTs have the limitation of failing to strike an optimal balance between attack stealthiness and attack effectiveness. In this work, we propose an Attention Gradient-based Erosion Backdoor (AGEB) targeted at ViTs. Considering the attention mechanism of ViTs, AGEB selectively erodes pixels in areas of maximal attention gradient, embedding a covert backdoor trigger. Unlike previous backdoor attacks against ViTs, AGEB achieves an optimal balance between attack stealthiness and attack effectiveness, ensuring the trigger remains invisible to human detection while preserving the model's accuracy on clean samples. Extensive experimental evaluations across various ViT architectures and datasets confirm the effectiveness of AGEB, achieving a remarkable Attack Success Rate (ASR) without diminishing Clean Data Accuracy (CDA). Furthermore, the stealthiness of AGEB is rigorously validated, demonstrating minimal visual discrepancies between the clean and the triggered images.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。