arXiv:2506.12706cs.CVcs.AI2025-06TPAMI被引 3

通过多模态提示调优提升视觉语言模型的对抗鲁棒性。

NAP-Tuning: Neural Augmented Prompt Tuning for Adversarially Robust Vision-Language Models

  • 引入神经增强器,同时优化文本与图像提示以应对对抗攻击。
  • 在AutoAttack下比最强基线提升33.5%(ViT-B16)和33.0%(ViT-B32)。
  • 适合关注模型安全、对抗训练的开发者与研究人员。

视觉语言模型(如CLIP)通过联合嵌入空间展现了强大的图文关系理解能力,但对图像模态的对抗攻击仍显脆弱,带来严重安全风险。基于先前的对抗提示调优(AdvPT)工作,本文提出多模态对抗提示调优(NAP-Tuning),引入神经增强器框架,实现跨文本与视觉模态的可学习提示,并从单层扩展至多层架构。核心创新在于通过特征净化机制直接修复对抗攻击造成的特征畸变,采用残差连接的标记重构模块实现模态与层级特异性修正。大量实验表明,NAP-Tuning在多个数据集与攻击类型下显著优于现有方法,在挑战性的AutoAttack基准上,对ViT-B16和ViT-B32分别提升33.5%和33.0%,且保持良好干净准确率。

原文摘要 · Abstract (English)

Vision-Language Models (VLMs) such as CLIP have demonstrated remarkable capabilities in understanding relationships between visual and textual data through joint embedding spaces. Despite their effectiveness, these models remain vulnerable to adversarial attacks, particularly in the image modality, posing significant security concerns. Building upon our previous work on Adversarial Prompt Tuning (AdvPT), which introduced learnable text prompts to enhance adversarial robustness in VLMs without extensive parameter training, we present a significant extension by introducing the Neural Augmentor framework for Multi-modal Adversarial Prompt Tuning (NAP-Tuning).Our key innovations include: (1) extending AdvPT from text-only to multi-modal prompting across both text and visual modalities, (2) expanding from single-layer to multi-layer prompt architectures, and (3) proposing a novel architecture-level redesign through our Neural Augmentor approach, which implements feature purification to directly address the distortions introduced by adversarial attacks in feature space. Our NAP-Tuning approach incorporates token refiners that learn to reconstruct purified features through residual connections, allowing for modality-specific and layer-specific feature correction.Comprehensive experiments demonstrate that NAP-Tuning significantly outperforms existing methods across various datasets and attack types. Notably, our approach shows significant improvements over the strongest baselines under the challenging AutoAttack benchmark, outperforming them by 33.5% on ViT-B16 and 33.0% on ViT-B32 architectures while maintaining competitive clean accuracy.

对抗鲁棒性视觉语言模型提示调优多模态

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