arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2604.06502cs.LG
收藏

VLMShield: 有效且稳健的视觉语言模型对抗恶意提示防御

VLMShield: Efficient and Robust Defense of Vision-Language Models against Malicious Prompts

University of Science and Technology of China(中国科学技术大学);University of Washington(华盛顿大学)

Peigui Qi, Kunsheng Tang, Yanpu Yu, Jialin Wu, Yide Song, Wenbo Zhou, Zhicong Huang, Cheng Hong, Weiming Zhang, Nenghai Yu

AI总结:

本文提出VLMShield,通过多模态聚合特征提取框架提升视觉语言模型对恶意提示的防御能力,实验显示其在鲁棒性、效率和实用性方面表现优异。

摘要:

视觉语言模型(VLMs)由于视觉整合过程中对齐能力的削弱,面临来自恶意提示攻击的重大安全漏洞。现有防御措施在效率和鲁棒性方面存在不足。为此,我们首先提出多模态聚合特征提取(MAFE)框架,使CLIP能够处理长文本并融合多模态信息为统一表示。通过分析MAFE提取的特征,我们发现良性与恶意提示之间存在显著的分布模式差异。基于此发现,我们开发了VLMShield,一种轻量级的安全检测器,能够高效识别多模态恶意攻击作为即插即用的解决方案。广泛的实验表明,其在多个维度上均表现出色,包括鲁棒性、效率和实用性。通过我们的工作,我们希望为更安全的多模态AI部署铺平道路。代码可在[此https URL](https://github.com/pgqihere/VLMShield)获取。

英文摘要:

Vision-Language Models (VLMs) face significant safety vulnerabilities from malicious prompt attacks due to weakened alignment during visual integration. Existing defenses suffer from efficiency and robustness. To address these challenges, we first propose the Multimodal Aggregated Feature Extraction (MAFE) framework that enables CLIP to handle long text and fuse multimodal information into unified representations. Through empirical analysis of MAFE-extracted features, we discover distinct distributional patterns between benign and malicious prompts. Building upon this finding, we develop VLMShield, a lightweight safety detector that efficiently identifies multimodal malicious attacks as a plug-and-play solution. Extensive experiments demonstrate superior performance across multiple dimensions, including robustness, efficiency, and utility. Through our work, we hope to pave the way for more secure multimodal AI deployment. Code is available at [this https URL](https://github.com/pgqihere/VLMShield).

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

↑