arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.20376cs.CVcs.CR
收藏

当记忆成为漏洞:针对文本到图像生成系统的多轮劫持攻击

When Memory Becomes a Vulnerability: Towards Multi-turn Jailbreak Attacks against Text-to-Image Generation Systems

Nanyang Technological University(南洋理工大学);Institute of Science(科学研究院);University of Electronic Science and Technology of China(电子科技大学);CFAR and IHPC Agency for Science Technology and Research(CFAR和IHPC科技研究局);VinUniversity(文大学)

Shiqian Zhao, Jiayang Liu, Yiming Li, Runyi Hu, Xiaojun Jia, Wenshu Fan, Xiao Bao, Xinfeng Li, Jie Zhang, Wei Dong, Tianwei Zhang, Luu Anh Tuan

AI总结:

本文提出Inception,首个利用文本到图像生成系统内存机制的多轮劫持攻击方法,通过分割和递归模块有效规避安全过滤,提升攻击成功率20%。

摘要:

现代文本到图像(T2I)生成系统(例如DALL·E 3)利用记忆机制,在多轮交互中捕捉关键信息以实现忠实生成。尽管其实用性显著,但该机制的安全分析却远远滞后。在本文中,我们揭示了该机制会加剧劫持攻击的风险。以往的攻击将不安全的目标提示融合成一个最终的对抗性提示,这可能容易被检测到或导致生成非不安全图像,由于欠或过去毒化。相比之下,我们提出在聊天会话的初期将恶意行为嵌入记忆中,以解决上述限制。具体而言,我们提出了Inception,这是首个针对真实世界文本到图像生成系统的多轮劫持攻击,明确利用了它们的记忆机制。Inception由两个关键模块组成:分割和递归。我们引入分割,一种保持语义的方法,生成多轮提示。通过利用NLP分析技术,我们设计了策略,根据句子结构分解提示,以及其恶意意图,从而逃避安全过滤。递归进一步解决了由无法通过简单分割分离的不安全子提示所带来的挑战。它首先扩展子提示,然后递归地调用分割。为了便于多轮对抗性提示的构建,我们构建了VisionFlow,一个集成两阶段安全过滤和工业级记忆机制的模拟T2I系统。实验结果表明,Inception成功诱使生成不安全图像,在攻击成功率方面超越了SOTA,提高了20.0%。我们还对真实世界的商业T2I生成平台进行了实验,进一步验证了Inception的实际威胁。

英文摘要:

Modern text-to-image (T2I) generation systems (e.g., DALL$\cdot$E 3) exploit the memory mechanism, which captures key information in multi-turn interactions for faithful generation. Despite its practicality, the security analyses of this mechanism have fallen far behind. In this paper, we reveal that it can exacerbate the risk of jailbreak attacks. Previous attacks fuse the unsafe target prompt into one ultimate adversarial prompt, which can be easily detected or lead to the generation of non-unsafe images due to under- or over-detoxification. In contrast, we propose embedding the malice at the inception of the chat session in memory, addressing the above limitations. Specifically, we propose Inception, the first multi-turn jailbreak attack against real-world text-to-image generation systems that explicitly exploits their memory mechanisms. Inception is composed of two key modules: segmentation and recursion. We introduce Segmentation, a semantic-preserving method that generates multi-round prompts. By leveraging NLP analysis techniques, we design policies to decompose a prompt, together with its malicious intent, according to sentence structure, thereby evading safety filters. Recursion further addresses the challenge posed by unsafe sub-prompts that cannot be separated through simple segmentation. It firstly expands the sub-prompt, then invokes segmentation recursively. To facilitate multi-turn adversarial prompts crafting, we build VisionFlow, an emulation T2I system that integrates two-stage safety filters and industrial-grade memory mechanisms. The experiment results show that Inception successfully allures unsafe image generation, surpassing the SOTA by a 20.0\% margin in attack success rate. We also conduct experiments on the real-world commercial T2I generation platforms, further validating the threats of Inception in practice.

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

↑