利用对话记忆机制,实现多轮隐蔽的文本生成越狱攻击
When Memory Becomes a Vulnerability: Towards Multi-turn Jailbreak Attacks against Text-to-Image Generation Systems
- 将恶意指令嵌入对话初始阶段,通过语义保持分段与递归扩展绕过安全检测
- 在真实平台测试中攻击成功率提升20.0%,超越当前最优方法
- 适用于研究模型安全、对抗攻击的开发者与安全团队
现代文生图系统(如DALL·E 3)依赖对话记忆机制,在多轮交互中保留关键信息以实现准确生成。然而该机制的安全性分析严重滞后。本文揭示其可能加剧越狱攻击风险。现有攻击将危险目标提示融合为单一对抗提示,易被检测或因净化不足/过度导致生成非危险图像。本文提出Inception,首个针对真实文生图系统的多轮越狱攻击,显式利用其记忆机制。其由分段与递归两模块构成:分段通过自然语言分析按句结构分解提示并保留语义,规避安全过滤;递归则对无法分离的危险子提示进行扩展并递归分段。为支持多轮对抗提示构建,我们搭建VisionFlow模拟系统,集成两级安全过滤与工业级记忆机制。实验表明,Inception在攻击成功率上较SOTA提升20.0%。在真实商业平台测试中亦验证其有效性,凸显实际威胁。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。