VLLM易受攻击又易防御,背后是视觉输入与过度谨慎的矛盾。
The VLLM Safety Paradox: Dual Ease in Jailbreak Attack and Defense
- 发现视觉输入是导致VLLM易受越狱攻击的关键原因。
- 揭示现有防御方法因过度谨慎而误拒正常输入,可靠性下降。
- 提出用现成LLM防护墙作为前置检测器,提升安全性和实用性。
视觉大语言模型(VLLM)易受越狱攻击,本不意外。然而,近期防御机制在基准测试中已接近饱和性能,且实施成本极低。攻击与防御双双高表现,构成根本性悖论。本文有三大贡献:一、提出初步解释——视觉输入的引入是模型易攻的重要原因,并深入分析;二、指出现有防御机制被忽视的问题——过度谨慎,导致其对良性输入也出现非预期拒绝,削弱了真实防御能力;三、提出一种简单安全感知方法——LLM-Pipeline,复用现有成熟大模型的防护机制作为前置检测器,有效替代原有响应前的检测流程。最后,我们发现两种主流越狱评估方法间存在偶然一致性,可能误导攻击或防御策略的评估。研究结果呼吁重新审视VLLM安全性的基础建设,包括数据集、防御策略和评估方法。
原文摘要 · Abstract (English)
The vulnerability of Vision Large Language Models (VLLMs) to jailbreak attacks appears as no surprise. However, recent defense mechanisms against these attacks have reached near-saturation performance on benchmark evaluations, often with minimal effort. This \emph{dual high performance} in both attack and defense raises a fundamental and perplexing paradox. To gain a deep understanding of this issue and thus further help strengthen the trustworthiness of VLLMs, this paper makes three key contributions: i) One tentative explanation for VLLMs being prone to jailbreak attacks--\textbf{inclusion of vision inputs}, as well as its in-depth analysis. ii) The recognition of a largely ignored problem in existing defense mechanisms--\textbf{over-prudence}. The problem causes these defense methods to exhibit unintended abstention, even in the presence of benign inputs, thereby undermining their reliability in faithfully defending against attacks. iii) A simple safety-aware method--\textbf{LLM-Pipeline}. Our method repurposes the more advanced guardrails of LLMs on the shelf, serving as an effective alternative detector prior to VLLM response. Last but not least, we find that the two representative evaluation methods for jailbreak often exhibit chance agreement. This limitation makes it potentially misleading when evaluating attack strategies or defense mechanisms. We believe the findings from this paper offer useful insights to rethink the foundational development of VLLM safety with respect to benchmark datasets, defense strategies, and evaluation methods.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。