Lune

CCS2024顶会

SafeGen: Mitigating Sexually Explicit Content Generation in Text-to-Image Models

Xinfeng Li, Yuchen Yang, Jiangyi Deng, Chen Yan, Yanjiao Chen, Xiaoyu Ji, Wenyuan Xu

摘要

Text-to-image (T2I) models, such as Stable Diffusion, have exhibited remarkable performance in generating high-quality images from text descriptions in recent years. However, text-to-image models may be tricked into generating not-safe-for-work (NSFW) content, particularly in sexually explicit scenarios. Existing countermeasures mostly focus on filtering inappropriate inputs and outputs, or suppressing improper text embeddings, which can block sexually explicit content (e.g., naked) but may still be vulnerable to adversarial prompts-inputs that appear innocent but are ill-intended. In this paper, we present SafeGen, a framework to mitigate sexual content generation by text-to-image models in a text-agnostic manner. The key idea is to eliminate explicit visual representations from the model regardless of the text input. In this way, the text-toimage model is resistant to adversarial prompts since such unsafe visual representations are obstructed from within. Extensive experiments conducted on four datasets and large-scale user studies demonstrate SafeGen's effectiveness in mitigating sexually explicit content generation while preserving the high-fidelity of benign images. SafeGen outperforms eight state-of-the-art baseline methods and achieves 99.4% sexual content removal performance. Warnings: This paper contains sexually explicit imagery and discussions of pornography that some readers may find disturbing, distressing, and/or offensive.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • TRCE: Towards Reliable Malicious Concept Erasure in Text-to-Image Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • TRCE: Towards Reliable Malicious Concept Erasure in Text-to-Image Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • TRCE: Towards Reliable Malicious Concept Erasure in Text-to-Image Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Diffusion Models Beat GANs on Image Synthesis
  • High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
  • High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Implicit Models
  • 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 引用了 Denoising Diffusion Probabilistic Models
  • Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuning 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuning 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuning 引用了 Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Probabilistic Models
  • Diffusion Models Beat GANs on Image Synthesis 引用了 Denoising Diffusion Implicit 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 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Perception-Guided Jailbreak Against Text-to-Image Models 引用了 Denoising Diffusion Probabilistic Models
  • Heuristic-Induced Multimodal Risk Distribution Jailbreak Attack for Multimodal Large Language Models 引用了 Perception-Guided Jailbreak Against Text-to-Image Models
  • Denoising Diffusion Implicit Models 引用了 Denoising Diffusion Probabilistic Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper27

  1. Heuristic-Induced Multimodal Risk Distribution Jailbreak Attack for Multimodal Large Language ModelsTeng Ma, Xiaojun Jia, Ranjie Duan, Xinfeng Li 等ICCV 2025 · 35 次引用
  2. Perception-Guided Jailbreak Against Text-to-Image ModelsYihao Huang, Le Liang, Tianlin Li, Xiaojun Jia 等AAAI 2025 · 34 次引用
  3. TRCE: Towards Reliable Malicious Concept Erasure in Text-to-Image Diffusion ModelsRuidong Chen, Honglin Guo, Lanjun Wang, Chenyu Zhang 等ICCV 2025 · 17 次引用
  4. Towards Resilient Safety-driven Unlearning for Diffusion Models against Downstream Fine-tuningBoheng Li, Renjie Gu, Junjie Wang, Leyi Qi 等NeurIPS 2025 · 15 次引用
  5. DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution ModelingBoheng Li, Junjie Wang, Yiming Li, Zhiyang Hu 等S&P 2026 · 9 次引用

它引用的 Paper21

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  2. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
  3. Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 次引用
  4. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
  5. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 次引用

相关 Paper

  1. SneakyPrompt: Jailbreaking Text-to-image Generative ModelsYuchen Yang, Bo Hui, Haolin Yuan, Neil Gong 等S&P 2024 · 188 次引用
  2. AdvI2I: Adversarial Image Attack on Image-to-Image Diffusion ModelsYaopei Zeng, Yuanpu Cao, Bochuan Cao, Yurui Chang 等ICML 2025
  3. GuardT2I: Defending Text-to-Image Models from Adversarial PromptsYijun Yang, Ruiyuan Gao, Xiao Yang, Jianyuan Zhong 等NeurIPS 2024 · 74 次引用
  4. Training-Free Safe Text Embedding Guidance for Text-to-Image Diffusion ModelsByeonghu Na, Mina Kang, Jiseok Kwak, Minsang Park 等NeurIPS 2025 · 8 次引用
  5. Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic PromptsZhi-Yi Chin, Chieh-Ming Jiang, Ching-Chun Huang, Pin-Yu Chen 等ICML 2024 · 155 次引用
黄昏的海面,两侧是细线勾勒的悬崖