arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15211cs.CLcs.AIcs.CRcs.CVcs.LG
收藏

视觉-语言模型之间可迁移图像越狱攻击的失败研究

Failures to Find Transferable Image Jailbreaks Between Vision-Language Models

Stanford CS(斯坦福大学计算机科学系);Harvard SEAS(哈佛大学工程与应用科学学院);Anthropic(Anthropic公司);Constellation(Constellation公司);MIT EECS(麻省理工学院电气工程与计算机科学系);UC Berkeley EECS(加州大学伯克利分校电气工程与计算机科学系)
Rylan Schaeffer, Dan Valentine, Luke Bailey, James Chua, Cristóbal Eyzaguirre, Zane Durante, Joe Benton, Brando Miranda, Henry Sleight, John Hughes, Rajashree A… 展开作者

Rylan Schaeffer, Dan Valentine, Luke Bailey, James Chua, Cristóbal Eyzaguirre, Zane Durante, Joe Benton, Brando Miranda, Henry Sleight, John Hughes, Rajashree Agrawal, Mrinank Sharma, Scott Emmons, Sanmi Koyejo, Ethan Perez

AI总结:

研究发现基于梯度的图像越狱攻击在视觉-语言模型间几乎不可迁移,仅高度相似模型间部分成功,表明VLM对梯度迁移攻击更鲁棒。

摘要:

将新模态集成到前沿人工智能系统中带来了令人兴奋的能力,但也增加了此类系统可能以不良方式受到对抗性操纵的可能性。在这项工作中,我们关注一类流行的视觉-语言模型(VLM),它们根据视觉和文本输入生成文本输出。我们进行了一项大规模实证研究,使用超过40个开放参数VLM的多样化集合(包括我们公开发布的18个新VLM),评估基于梯度的通用图像“越狱”攻击的可迁移性。总体而言,我们发现可迁移的基于梯度的图像越狱攻击极难获得。当针对单个VLM或VLM集成优化图像越狱时,该越狱成功越狱了被攻击的VLM,但几乎不迁移到任何其他VLM;迁移不受被攻击和目标VLM是否具有匹配的视觉骨干或语言模型、语言模型是否经过指令跟随和/或安全对齐训练,以及许多其他因素的影响。只有两种设置显示出部分成功的迁移:在预训练和初始化相同但VLM训练数据略有不同的VLM之间,以及单个VLM的不同训练检查点之间。利用这些结果,我们随后证明,通过攻击更大规模的“高度相似”VLM集成,可以显著提高针对特定目标VLM的迁移性。这些结果与现有关于语言模型上通用且可迁移的文本越狱攻击以及图像分类器上可迁移的对抗性攻击的证据形成鲜明对比,表明VLM可能对基于梯度的迁移攻击更具鲁棒性。

英文摘要:

The integration of new modalities into frontier AI systems offers exciting capabilities, but also increases the possibility such systems can be adversarially manipulated in undesirable ways. In this work, we focus on a popular class of vision-language models (VLMs) that generate text outputs conditioned on visual and textual inputs. We conducted a large-scale empirical study to assess the transferability of gradient-based universal image ``jailbreaks" using a diverse set of over 40 open-parameter VLMs, including 18 new VLMs that we publicly release. Overall, we find that transferable gradient-based image jailbreaks are extremely difficult to obtain. When an image jailbreak is optimized against a single VLM or against an ensemble of VLMs, the jailbreak successfully jailbreaks the attacked VLM(s), but exhibits little-to-no transfer to any other VLMs; transfer is not affected by whether the attacked and target VLMs possess matching vision backbones or language models, whether the language model underwent instruction-following and/or safety-alignment training, or many other factors. Only two settings display partially successful transfer: between identically-pretrained and identically-initialized VLMs with slightly different VLM training data, and between different training checkpoints of a single VLM. Leveraging these results, we then demonstrate that transfer can be significantly improved against a specific target VLM by attacking larger ensembles of ``highly-similar" VLMs. These results stand in stark contrast to existing evidence of universal and transferable text jailbreaks against language models and transferable adversarial attacks against image classifiers, suggesting that VLMs may be more robust to gradient-based transfer attacks.

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

↑