arXiv:2506.03933cs.CVcs.AI2025-06中稿 · Transactions on Ma…被引 2

用扩散模型净化视觉语言模型的对抗攻击,效果显著且更快。

Diffusion-based Cumulative Adversarial Purification for Vision Language Models

  • 基于扩散过程设计自适应去噪策略,利用嵌入相似性判断噪声。
  • 在六大数据集上大幅超越现有防御方法,抗扰动能力更强。
  • 无需复杂调参,加速净化过程,适合实际部署场景。

视觉语言模型(VLMs)在多模态理解中表现卓越,但对对抗扰动敏感,严重影响其在真实场景中的可靠性。尽管人类难以察觉,这些扰动可导致模型输出严重偏差。本文提出DiffCAP,一种基于扩散的净化方法,能有效消除VLM中的对抗污染。理论证明扩散前向过程中存在可恢复区域,并量化了语义变化的收敛速率,表明对抗效应随扩散单调衰减。据此,DiffCAP在反向扩散前以嵌入相似性为阈值进行噪声注入,实现自适应净化;随后还原干净可靠的表示用于推理。在三个任务场景下,针对六大数据集和三种VLM,在不同攻击强度下测试,DiffCAP显著优于现有防御方法。尤其在降低超参数调优复杂度和减少扩散时间方面表现突出,加速去噪过程。结合理论与实证,DiffCAP为对抗环境中安全部署VLM提供可靠方案。代码已开源:https://github.com/JasonFu1998/DiffCAP。

原文摘要 · Abstract (English)

Vision Language Models (VLMs) have shown remarkable capabilities in multimodal understanding, yet their susceptibility to adversarial perturbations poses a significant threat to their reliability in real-world applications. Despite often being imperceptible to humans, these perturbations can drastically alter model outputs, leading to erroneous interpretations and decisions. This paper introduces DiffCAP, a novel diffusion-based purification strategy that can effectively neutralize adversarial corruptions in VLMs. We theoretically establish a provable recovery region in the forward diffusion process and meanwhile quantify the convergence rate of semantic variation with respect to VLMs. These findings manifest that adversarial effects monotonically fade as diffusion unfolds. Guided by this principle, DiffCAP leverages noise injection with a similarity threshold of VLM embeddings as an adaptive criterion, before reverse diffusion restores a clean and reliable representation for VLM inference. Through extensive experiments across six datasets with three VLMs under varying attack strengths in three task scenarios, we show that DiffCAP outperforms existing defense techniques by a substantial margin. Notably, DiffCAP significantly reduces both hyperparameter tuning complexity and the required diffusion time, thereby accelerating the denoising process. Equipped with theorems and empirical support, DiffCAP provides a robust and practical solution for securely deploying VLMs in adversarial environments. The source code is available at https://github.com/JasonFu1998/DiffCAP.

视觉语言模型对抗防御扩散模型净化算法

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