4
0

Inception: Jailbreak the Memory Mechanism of Text-to-Image Generation Systems

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

Currently, the memory mechanism has been widely and successfully exploited in online text-to-image (T2I) generation systems (e.g.e.g., DALL\cdotE 3) for alleviating the growing tokenization burden and capturing key information in multi-turn interactions. Despite its practicality, its security analyses have fallen far behind. In this paper, we reveal that this mechanism exacerbates the risk of jailbreak attacks. Different from previous attacks that fuse the unsafe target prompt into one ultimate adversarial prompt, which can be easily detected or may generate non-unsafe images due to under- or over-optimization, we propose Inception, the first multi-turn jailbreak attack against the memory mechanism in real-world text-to-image generation systems. Inception embeds the malice at the inception of the chat session turn by turn, leveraging the mechanism that T2I generation systems retrieve key information in their memory. Specifically, Inception mainly consists of two modules. It first segments the unsafe prompt into chunks, which are subsequently fed to the system in multiple turns, serving as pseudo-gradients for directive optimization. Specifically, we develop a series of segmentation policies that ensure the images generated are semantically consistent with the target prompt. Secondly, after segmentation, to overcome the challenge of the inseparability of minimum unsafe words, we propose recursion, a strategy that makes minimum unsafe words subdivisible. Collectively, segmentation and recursion ensure that all the request prompts are benign but can lead to malicious outcomes. We conduct experiments on the real-world text-to-image generation system (i.e.i.e., DALL\cdotE 3) to validate the effectiveness of Inception. The results indicate that Inception surpasses the state-of-the-art by a 14\% margin in attack success rate.

View on arXiv
@article{zhao2025_2504.20376,
  title={ Inception: Jailbreak the Memory Mechanism of Text-to-Image Generation Systems },
  author={ Shiqian Zhao and Jiayang Liu and Yiming Li and Runyi Hu and Xiaojun Jia and Wenshu Fan and Xinfeng Li and Jie Zhang and Wei Dong and Tianwei Zhang and Luu Anh Tuan },
  journal={arXiv preprint arXiv:2504.20376},
  year={ 2025 }
}
Comments on this paper