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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhao, Shiqian, Liu, Jiayang, Li, Yiming, Hu, Runyi, Jia, Xiaojun, Fan, Wenshu, Bao, Xiao, Li, Xinfeng, Zhang, Jie, Dong, Wei, Zhang, Tianwei, Tuan, Luu Anh
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917310904664064
author Zhao, Shiqian
Liu, Jiayang
Li, Yiming
Hu, Runyi
Jia, Xiaojun
Fan, Wenshu
Bao, Xiao
Li, Xinfeng
Zhang, Jie
Dong, Wei
Zhang, Tianwei
Tuan, Luu Anh
author_facet Zhao, Shiqian
Liu, Jiayang
Li, Yiming
Hu, Runyi
Jia, Xiaojun
Fan, Wenshu
Bao, Xiao
Li, Xinfeng
Zhang, Jie
Dong, Wei
Zhang, Tianwei
Tuan, Luu Anh
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2504_20376
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle When Memory Becomes a Vulnerability: Towards Multi-turn Jailbreak Attacks against Text-to-Image Generation Systems
Zhao, Shiqian
Liu, Jiayang
Li, Yiming
Hu, Runyi
Jia, Xiaojun
Fan, Wenshu
Bao, Xiao
Li, Xinfeng
Zhang, Jie
Dong, Wei
Zhang, Tianwei
Tuan, Luu Anh
Computer Vision and Pattern Recognition
Cryptography and Security
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.
title When Memory Becomes a Vulnerability: Towards Multi-turn Jailbreak Attacks against Text-to-Image Generation Systems
topic Computer Vision and Pattern Recognition
Cryptography and Security
url https://arxiv.org/abs/2504.20376