arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07987cs.AI
收藏

针对对齐多模态大语言模型的通用对抗攻击

Universal Adversarial Attack on Aligned Multimodal LLMs

AIRI;MSU(莫斯科国立大学);HSE University(俄罗斯高等经济大学);Skoltech(斯克里普钦科技大学)

Temurbek Rahmatullaev, Polina Druzhinina, Nikita Kurdiukov, Matvey Mikhalchuk, Andrey Kuznetsov, Anton Razzhigaev

AI总结:

本文提出一种利用单张优化图像突破多模态大语言模型对齐防护的通用对抗攻击,在多个基准上取得更高攻击成功率并展示跨模型通用性,揭示现有多模态对齐的关键脆弱性。

摘要:

我们提出一种针对多模态大语言模型(LLMs)的通用对抗攻击,利用单张优化图像即可在多样查询甚至多个模型上突破对齐防护。通过视觉编码器和语言头进行反向传播,我们合成一张图像,迫使模型以目标短语(例如“Sure, here it is”)或其他不安全内容作出回应——即使面对有害提示也是如此。在SafeBench和MM-SafetyBench基准上的实验中,我们的方法取得了比现有基线更高的攻击成功率,包括纯文本通用提示(例如在某些模型上高达81%)。我们进一步通过在多个多模态LLM上同时训练,展示了跨模型通用性。此外,我们方法的多答案变体能够产生听起来更自然(但仍然恶意)的回复。这些发现凸显了当前多模态对齐中的关键脆弱性,并呼吁更鲁棒的对抗防御。我们将在Apache-2.0许可证下发布代码和数据集。警告:本文中多模态LLM生成的部分内容可能具有冒犯性。

英文摘要:

We propose a universal adversarial attack on multimodal Large Language Models (LLMs) that leverages a single optimized image to override alignment safeguards across diverse queries and even multiple models. By backpropagating through the vision encoder and language head, we craft a synthetic image that forces the model to respond with a targeted phrase (e.g., "Sure, here it is") or otherwise unsafe content -- even for harmful prompts. In experiments on the SafeBench and MM-SafetyBench benchmarks, our method achieves higher attack success rates than existing baselines, including text-only universal prompts (e.g., up to 81% on certain models). We further demonstrate cross-model universality by training on several multimodal LLMs simultaneously. Additionally, a multi-answer variant of our approach produces more natural-sounding (yet still malicious) responses. These findings underscore critical vulnerabilities in current multimodal alignment and call for more robust adversarial defenses. We will release code and datasets under the Apache-2.0 license. Warning: some content generated by Multimodal LLMs in this paper may be offensive.

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

↑