arXiv:2506.21046cs.CVcs.CR2025-06ICCV被引 4

用自监督ViT特征提升对抗样本跨模型迁移能力

Boosting Generative Adversarial Transferability with Self-supervised Vision Transformer Features

  • 利用对比学习与掩码图像建模双特征增强攻击
  • 在多种模型上实现超越现有最佳的黑盒迁移效果
  • 适合研究对抗攻击与自监督视觉模型的学者

深度神经网络的能力源于从数据中提取和解析特征。通过利用DNN中间特征而非依赖硬标签,可生成更具泛化能力的对抗扰动,从而提升黑盒迁移性。以往工作中的特征多来自有监督学习。受自监督学习与Transformer架构卓越协同性的启发,本文探究是否能通过自监督视觉Transformer(ViT)表示提升对抗迁移性。提出dSVA——一种生成式双自监督ViT特征攻击方法,同时利用对比学习(CL)提取全局结构特征和掩码图像建模(MIM)获取局部纹理特征,二者构成ViT的自监督学习范式组合。设计新型生成训练框架,引入生成器创建黑盒对抗样本,并通过联合特征与注意力机制指导生成器训练。实验表明,CL与MIM使ViT关注不同特征倾向,协同利用时展现出极强的对抗泛化能力。通过干扰自监督ViT提炼的双重深层特征,获得显著优于当前最优水平的黑盒迁移性能。代码已开源。

原文摘要 · Abstract (English)

The ability of deep neural networks (DNNs) come from extracting and interpreting features from the data provided. By exploiting intermediate features in DNNs instead of relying on hard labels, we craft adversarial perturbation that generalize more effectively, boosting black-box transferability. These features ubiquitously come from supervised learning in previous work. Inspired by the exceptional synergy between self-supervised learning and the Transformer architecture, this paper explores whether exploiting self-supervised Vision Transformer (ViT) representations can improve adversarial transferability. We present dSVA -- a generative dual self-supervised ViT features attack, that exploits both global structural features from contrastive learning (CL) and local textural features from masked image modeling (MIM), the self-supervised learning paradigm duo for ViTs. We design a novel generative training framework that incorporates a generator to create black-box adversarial examples, and strategies to train the generator by exploiting joint features and the attention mechanism of self-supervised ViTs. Our findings show that CL and MIM enable ViTs to attend to distinct feature tendencies, which, when exploited in tandem, boast great adversarial generalizability. By disrupting dual deep features distilled by self-supervised ViTs, we are rewarded with remarkable black-box transferability to models of various architectures that outperform state-of-the-arts. Code available at https://github.com/spencerwooo/dSVA.

对抗攻击自监督学习ViT特征迁移

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。