arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2412.17544cs.AI
收藏

Retention Score:量化视觉语言模型的越狱风险

Retention Score: Quantifying Jailbreak Risks for Vision Language Models

The Chinese University of Hong Kong(香港中文大学);IBM Research(IBM研究院)

Zaitang Li, Pin-Yu Chen, Tsung-Yi Ho

AI总结:

本文提出多模态评估指标 Retention Score(含 Retention-I 和 Retention-T),利用条件扩散模型生成合成图文对并计算毒性分数差值,以攻击无关的方式量化视觉语言模型抵御越狱攻击的鲁棒性,并证明其可作为认证鲁棒性指标且评估高效。

摘要:

视觉语言模型(Vision-Language Models, VLMs)的出现是将计算机视觉与大型语言模型(Large Language Models, LLMs)相融合以增强多模态机器学习能力的重大进展。然而,这一进展也使 VLMs 容易受到复杂的对抗攻击,引发了对其可靠性的担忧。本文旨在评估 VLMs 抵御越狱攻击的韧性,此类攻击可能破坏模型的安全合规性并导致有害输出。为了评估 VLM 维持其抵御对抗输入扰动的能力,我们提出了一种名为 Retention Score 的新指标。Retention Score 是一种多模态评估指标,包含 Retention-I 和 Retention-T 分数,用于量化 VLMs 视觉和文本组件中的越狱风险。我们的流程涉及使用条件扩散模型生成合成图文对。随后,由 VLM 连同毒性判断分类器对这些图文对进行毒性分数预测。通过计算毒性分数的差值,我们能够以攻击无关的方式量化 VLM 的鲁棒性。本研究有四个主要贡献。首先,我们证明 Retention Score 可作为认证鲁棒性指标。其次,我们证明大多数带有视觉组件的 VLMs 在抵御越狱攻击时不如相应的纯文本 VLMs 鲁棒。此外,我们评估了黑盒 VLM APIs,发现 Google Gemini 的安全设置显著影响分数和鲁棒性。而且,GPT4V 的鲁棒性与 Gemini 的中等设置相似。最后,我们的方法提供了比现有对抗攻击方法更高效的替代方案,并在包括 MiniGPT-4、InstructBLIP 和 LLaVA 在内的 VLMs 上评估时提供了一致的模型鲁棒性排名。

英文摘要:

The emergence of Vision-Language Models (VLMs) is a significant advancement in integrating computer vision with Large Language Models (LLMs) to enhance multi-modal machine learning capabilities. However, this progress has also made VLMs vulnerable to sophisticated adversarial attacks, raising concerns about their reliability. The objective of this paper is to assess the resilience of VLMs against jailbreak attacks that can compromise model safety compliance and result in harmful outputs. To evaluate a VLM's ability to maintain its robustness against adversarial input perturbations, we propose a novel metric called the \textbf{Retention Score}. Retention Score is a multi-modal evaluation metric that includes Retention-I and Retention-T scores for quantifying jailbreak risks in visual and textual components of VLMs. Our process involves generating synthetic image-text pairs using a conditional diffusion model. These pairs are then predicted for toxicity score by a VLM alongside a toxicity judgment classifier. By calculating the margin in toxicity scores, we can quantify the robustness of the VLM in an attack-agnostic manner. Our work has four main contributions. First, we prove that Retention Score can serve as a certified robustness metric. Second, we demonstrate that most VLMs with visual components are less robust against jailbreak attacks than the corresponding plain VLMs. Additionally, we evaluate black-box VLM APIs and find that the security settings in Google Gemini significantly affect the score and robustness. Moreover, the robustness of GPT4V is similar to the medium settings of Gemini. Finally, our approach offers a time-efficient alternative to existing adversarial attack methods and provides consistent model robustness rankings when evaluated on VLMs including MiniGPT-4, InstructBLIP, and LLaVA.

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

↑