扮演魔鬼代言人:揭示大型视觉语言模型中的毒性与漏洞
Playing Devil's Advocate: Unmasking Toxicity and Vulnerabilities in Large Vision-Language Models
AI总结:
本研究基于社会理论设计对抗性提示策略,系统检验多款开源LVLM的毒性生成漏洞,发现不同模型脆弱性存在差异,特定提示策略会加剧风险,凸显完善安全机制的紧迫性。
摘要:
大型视觉语言模型(LVLM)的快速发展提升了其能力,在内容创作到生产力提升等领域具备应用潜力。尽管LVLM具有创新潜力,但它们存在漏洞,尤其会生成潜在有毒或不安全的响应。恶意行为者可利用这些漏洞,借助LVLM易被精心设计的提示欺骗的特性,以自动(或半自动化)方式传播有毒内容,且无需微调或高算力操作。尽管已有红队测试工作且LVLM存在固有风险,但对LVLM漏洞的探索仍处于初期阶段,尚未得到系统性的全面研究。本研究采用对抗性提示策略(基于社会理论模拟现实社会操纵手段),系统检验了包括LLaVA、InstructBLIP、Fuyu和Qwen在内的开源LVLM的漏洞。研究结果表明:(i)毒性内容和侮辱性内容是最常见的行为,平均发生率分别为16.13%和9.75%;(ii)Qwen-VL-Chat、LLaVA-v1.6-Vicuna-7b和InstructBLIP-Vicuna-7b是最脆弱的模型,毒性响应率分别为21.50%、18.30%和17.90%,侮辱性响应率分别为13.40%、11.70%和10.10%;(iii)结合黑色幽默和多模态有毒提示补全的提示策略会显著加剧这些漏洞。尽管这些模型已针对安全性进行微调,但在接收到对抗性输入提示时仍会生成不同程度的有毒内容,凸显了LVLM开发中亟需增强安全机制和构建稳健防护栏的必要性。
英文摘要:
The rapid advancement of Large Vision-Language Models (LVLMs) has enhanced capabilities offering potential applications from content creation to productivity enhancement. Despite their innovative potential, LVLMs exhibit vulnerabilities, especially in generating potentially toxic or unsafe responses. Malicious actors can exploit these vulnerabilities to propagate toxic content in an automated (or semi-) manner, leveraging the susceptibility of LVLMs to deception via strategically crafted prompts without fine-tuning or compute-intensive procedures. Despite the red-teaming efforts and inherent potential risks associated with the LVLMs, exploring vulnerabilities of LVLMs remains nascent and yet to be fully addressed in a systematic manner. This study systematically examines the vulnerabilities of open-source LVLMs, including LLaVA, InstructBLIP, Fuyu, and Qwen, using adversarial prompt strategies that simulate real-world social manipulation tactics informed by social theories. Our findings show that (i) toxicity and insulting are the most prevalent behaviors, with the mean rates of 16.13% and 9.75%, respectively; (ii) Qwen-VL-Chat, LLaVA-v1.6-Vicuna-7b, and InstructBLIP-Vicuna-7b are the most vulnerable models, exhibiting toxic response rates of 21.50%, 18.30% and 17.90%, and insulting responses of 13.40%, 11.70% and 10.10%, respectively; (iii) prompting strategies incorporating dark humor and multimodal toxic prompt completion significantly elevated these vulnerabilities. Despite being fine-tuned for safety, these models still generate content with varying degrees of toxicity when prompted with adversarial inputs, highlighting the urgent need for enhanced safety mechanisms and robust guardrails in LVLM development.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。