Agent Smith:单张图像可指数级快速越狱一百万个多模态LLM智能体
Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast
AI总结:
本研究提出多智能体环境中的“传染性越狱”安全问题,仅需对单个多模态LLM智能体注入对抗性图像,即可使多达一百万个智能体指数级被感染并产生有害行为,并给出了评估防御机制的原则。
摘要:
多模态大语言模型(MLLM)智能体能够接收指令、捕获图像、从记忆中检索历史记录,并决定使用哪些工具。尽管如此,红队测试工作已揭示,对抗性图像/提示词可以越狱MLLM并导致未对齐行为。在本研究中,我们报告了多智能体环境中一个更严重的安全问题,称为传染性越狱。它仅需对手越狱单个智能体,且在对手没有任何进一步干预的情况下,(几乎)所有智能体都将指数级快速被感染并表现出有害行为。为了验证传染性越狱的可行性,我们模拟了包含多达一百万个LLaVA-1.5智能体的多智能体环境,并采用随机两两聊天作为多智能体交互的概念验证实例化。我们的结果表明,将一张(传染性)对抗性图像输入到任意随机选择的智能体的记忆中,足以实现传染性越狱。最后,我们推导出了一个简单原则,用于确定防御机制是否可证明地遏制传染性越狱的传播,但如何设计满足该原则的实用防御机制仍是一个有待研究的开放问题。我们的项目页面可在https://sail-sg.github.io/Agent-Smith/获取。
英文摘要:
A multimodal large language model (MLLM) agent can receive instructions, capture images, retrieve histories from memory, and decide which tools to use. Nonetheless, red-teaming efforts have revealed that adversarial images/prompts can jailbreak an MLLM and cause unaligned behaviors. In this work, we report an even more severe safety issue in multi-agent environments, referred to as infectious jailbreak. It entails the adversary simply jailbreaking a single agent, and without any further intervention from the adversary, (almost) all agents will become infected exponentially fast and exhibit harmful behaviors. To validate the feasibility of infectious jailbreak, we simulate multi-agent environments containing up to one million LLaVA-1.5 agents, and employ randomized pair-wise chat as a proof-of-concept instantiation for multi-agent interaction. Our results show that feeding an (infectious) adversarial image into the memory of any randomly chosen agent is sufficient to achieve infectious jailbreak. Finally, we derive a simple principle for determining whether a defense mechanism can provably restrain the spread of infectious jailbreak, but how to design a practical defense that meets this principle remains an open question to investigate. Our project page is available at https://sail-sg.github.io/Agent-Smith/.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。