arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.22888cs.CVcs.CLcs.CR
收藏

基于单向量的视觉语言模型高效有效对抗检测

Effective and Efficient Adversarial Detection for Vision-Language Models via A Single Vector

Sichuan University(四川大学);National University of Singapore(新加坡国立大学);Singapore Management University(新加坡管理大学)

Youcheng Huang, Fengbin Zhu, Jingkun Tang, Pan Zhou, Wenqiang Lei, Jiancheng Lv, Tat-Seng Chua

AI总结:

针对视觉语言模型易受对抗图像攻击且相关研究不足的问题,构建了大规模多样化有害响应对抗图像数据集RADAR,提出基于单攻击方向向量的NEARSIDE检测方法,经LLaVA和MiniGPT-4验证,该方法有效、高效且具备跨模型可迁移性。

摘要:

视觉语言模型(VLM)易受对抗攻击,尤其是来自对抗图像的攻击,但相关研究在现有文献中探索不足。为推动这一关键安全问题的研究,鉴于现有数据集要么规模较小,要么仅包含有限类型的有害响应,我们首先构建了一个全新的大规模对抗图像数据集RADAR(含多样化有害响应)。基于新的RADAR数据集,我们进一步开发了一种新颖有效的基于实时嵌入的对抗图像检测方法NEARSIDE,该方法利用从VLM隐藏状态中提取的单个向量(我们称之为攻击方向),实现对输入中对抗图像与良性图像的检测。在两个受害VLM(LLaVA和MiniGPT-4)上开展的大量实验充分证明了所提方法的有效性、高效性以及跨模型可迁移性。我们的代码可在https://github.com/mob-scu/RADAR-NEARSIDE获取。

英文摘要:

Visual Language Models (VLMs) are vulnerable to adversarial attacks, especially those from adversarial images, which is however under-explored in literature. To facilitate research on this critical safety problem, we first construct a new laRge-scale Adervsarial images dataset with Diverse hArmful Responses (RADAR), given that existing datasets are either small-scale or only contain limited types of harmful responses. With the new RADAR dataset, we further develop a novel and effective iN-time Embedding-based AdveRSarial Image DEtection (NEARSIDE) method, which exploits a single vector that distilled from the hidden states of VLMs, which we call the attacking direction, to achieve the detection of adversarial images against benign ones in the input. Extensive experiments with two victim VLMs, LLaVA and MiniGPT-4, well demonstrate the effectiveness, efficiency, and cross-model transferrability of our proposed method. Our code is available at https://github.com/mob-scu/RADAR-NEARSIDE

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑