Lune

CCS2024顶会

SurrogatePrompt: Bypassing the Safety Filter of Text-to-Image Models via Substitution

Zhongjie Ba, Jieming Zhong, Jiachen Lei, Peng Cheng, Qinglong Wang, Zhan Qin, Zhibo Wang, Kui Ren

摘要

Advanced text-to-image models such as DALL•E 2, Midjourney, and Stable Diffusion can generate highly realistic images, raising significant concerns regarding the potential proliferation of unsafe content. This includes adult, violent, or deceptive imagery of political figures. Despite claims of rigorous safety mechanisms implemented in these models to restrict the generation of Not-Safe-For-Work (NSFW) content, we successfully devise and exhibit the first prompt attacks on Midjourney, producing abundant photorealistic NSFW images. We reveal the fundamental principles of such prompt attacks and strategically substitute high-risk sections within a suspect prompt to evade closed-source safety measures. Our novel framework, SurrogatePrompt, systematically generates attack prompts, utilizing large language models and image-to-text modules to automate attack prompt creation at scale. Evaluation results disclose an 88% success rate in bypassing Midjourney's proprietary safety filter with our attack prompts, leading to counterfeit images depicting political figures in violent scenarios with high probability. We also demonstrate attacks generating explicit adult-themed imagery. Both subjective and objective assessments validate that the images generated from our attack prompts present considerable safety hazards.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation 引用了 RIATIG: Reliable and Imperceptible Adversarial Text-to-Image Generation with Natural Prompts
  • ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation 引用了 Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models
  • Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling 引用了 Perception-Guided Jailbreak Against Text-to-Image Models
  • Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling 引用了 Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models
  • Red-Teaming Text-to-Image Systems by Rule-based Preference Modeling 引用了 GuardT2I: Defending Text-to-Image Models from Adversarial Prompts
  • DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling 引用了 Perception-Guided Jailbreak Against Text-to-Image Models
  • DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling 引用了 Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models
  • Perception-Guided Jailbreak Against Text-to-Image Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • Perception-Guided Jailbreak Against Text-to-Image Models 引用了 RIATIG: Reliable and Imperceptible Adversarial Text-to-Image Generation with Natural Prompts
  • Perception-Guided Jailbreak Against Text-to-Image Models 引用了 ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep Generation
  • Perception-Guided Jailbreak Against Text-to-Image Models 引用了 Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models
  • Extracting Training Data from Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • The Hidden Language of Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • The Hidden Language of Diffusion Models 引用了 Extracting Training Data from Diffusion Models
  • Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • GuardT2I: Defending Text-to-Image Models from Adversarial Prompts 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • GuardT2I: Defending Text-to-Image Models from Adversarial Prompts 引用了 RIATIG: Reliable and Imperceptible Adversarial Text-to-Image Generation with Natural Prompts
  • GuardT2I: Defending Text-to-Image Models from Adversarial Prompts 引用了 Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper15

  1. GuardT2I: Defending Text-to-Image Models from Adversarial PromptsYijun Yang, Ruiyuan Gao, Xiao Yang, Jianyuan Zhong 等NeurIPS 2024 · 74 次引用
  2. Perception-Guided Jailbreak Against Text-to-Image ModelsYihao Huang, Le Liang, Tianlin Li, Xiaojun Jia 等AAAI 2025 · 34 次引用
  3. ColJailBreak: Collaborative Generation and Editing for Jailbreaking Text-to-Image Deep GenerationYizhuo Ma, Shanmin Pang, Qi Guo, Tianyu Wei 等NeurIPS 2024 · 22 次引用
  4. DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution ModelingBoheng Li, Junjie Wang, Yiming Li, Zhiyang Hu 等S&P 2026 · 9 次引用
  5. Red-Teaming Text-to-Image Systems by Rule-based Preference ModelingYichuan Cao, Yibo Miao, Xiao-Shan Gao, Yinpeng DongNeurIPS 2025 · 8 次引用

它引用的 Paper6

  1. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
  2. Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image ModelsYiting Qu, Xinyue Shen, Xinlei He, Michael Backes 等CCS 2023 · 48 次引用
  3. The Hidden Language of Diffusion ModelsHila Chefer, Oran Lang, Mor Geva, Volodymyr Polosukhin 等ICLR 2024 · 38 次引用
  4. RIATIG: Reliable and Imperceptible Adversarial Text-to-Image Generation with Natural PromptsHan Liu, Yuhao Wu, Shixuan Zhai, Bo Yuan 等CVPR 2023
  5. Extracting Training Data from Diffusion ModelsNicholas Carlini, Jamie Hayes, Milad Nasr, Matthew Jagielski 等USENIX Security 2023

相关 Paper

  1. SneakyPrompt: Jailbreaking Text-to-image Generative ModelsYuchen Yang, Bo Hui, Haolin Yuan, Neil Gong 等S&P 2024 · 188 次引用
  2. Transstratal Adversarial Attack: Compromising Multi-Layered Defenses in Text-to-Image ModelsChunlong Xie, Kangjie Chen, Shangwei Guo, Shudong Zhang 等NeurIPS 2025 · 1 次引用
  3. AdvI2I: Adversarial Image Attack on Image-to-Image Diffusion ModelsYaopei Zeng, Yuanpu Cao, Bochuan Cao, Yurui Chang 等ICML 2025
  4. Multimodal Pragmatic Jailbreak on Text-to-image ModelsTong Liu, Zhixin Lai, Jiawen Wang, Gengyuan Zhang 等ACL 2025
  5. JANUS: A Lightweight Framework for Jailbreaking Text-to-Image Models via Distribution OptimizationHaolun Zheng, Yu He, Tailun Chen, Shuo Shao 等CVPR 2026 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖