paper-with-me

홈 › Papers

Disciplined Diffusion: Text-to-Image Diffusion Model against NSFW Generation

2026-05-01 · Chi Zhang, Changjia Zhu, Xiaowen Li, Yao Liu, Zhuo Lu arxiv

Text-to-image (T2I) diffusion models have the ability to build high-quality pictures from text prompts, but they pose safety concerns because they can generate offensive or disturbing imagery when provided with harmful inputs. Existing safety filters typically rely on text-based classifiers or image-based checkers that completely block the output upon detecting a threat, issuing an explicit allow/block feedback signal to the user. This binary strategy leaves models vulnerable to adversarial attacks that alter keywords to bypass detection, and it causes high false-alarm rates that degrade the experience for benign users. To address such vulnerabilities, we propose Disciplined Diffusion (DDiffusion), a novel robust text-to-image diffusion that counters Not Safe For Work (NSFW) generation by uncovering implicit malicious semantics in prompt embeddings. DDiffusion leverages a semantic retrieval mechanism to evaluate prompts against concept distributions rather than relying on brittle pairwise similarity. Furthermore, it employs a localization method during the diffusion process to selectively edit only the harmful regions of the generated image. By returning locally sanitized images instead of applying uniform blocking, DDiffusion suppresses malicious content while preserving generation fidelity for benign prompts and avoiding the binary allow-deny signal on which existing probing attacks rely.

📄 PDF Abstract BibTeX arXiv:2605.01113

Code (0)

등록된 구현이 없습니다.

Tasks

Semantic Retrieval

Similar Papers 제목 키워드 기반

Score as Action: Fine-Tuning Diffusion Generative Models by Continuous-time Reinforcement Learning

2025-02-03 · Hanyang Zhao, Haoxian Chen, Ji Zhang, David D. Yao 외

Reinforcement learning from human feedback (RLHF), which aligns a diffusion model with input prompt, has become a crucial step in building reliable generative AI models. Most works in this area use a discrete-time formul…

Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual Perturbations Against Backdoor Attacks

2024-08-28 · Oscar Chew, Po-Yi Lu, Jayden Lin, Hsuan-Tien Lin

Text-to-image diffusion models have been widely adopted in real-world applications due to their ability to generate realistic images from textual descriptions. However, recent studies have shown that these methods are vu…

backdoor defense

Adaptive Diffusions for Scalable Learning over Graphs

2018-04-05 · Dimitris Berberidis, Athanasios N. Nikolakopoulos, Georgios B. Giannakis

Diffusion-based classifiers such as those relying on the Personalized PageRank and the Heat kernel, enjoy remarkable classification accuracy at modest computational requirements. Their performance however is affected by …

ClassificationGeneral Classification

DiffusionGuard: A Robust Defense Against Malicious Diffusion-based Image Editing

2024-10-08 · June Suk Choi, Kyungmin Lee, Jongheon Jeong, Saining Xie 외

Recent advances in diffusion models have introduced a new era of text-guided image manipulation, enabling users to create realistic edited images with simple textual prompts. However, there is significant concern about t…

Image Manipulation

BadGraph: A Backdoor Attack Against Latent Diffusion Model for Text-Guided Graph Generation

2025-10-23 · Liang Ye, Shengqin Chen, Jiazhu Dai arxiv

The rapid progress of graph generation has raised new security concerns, particularly regarding backdoor vulnerabilities. Though prior work has explored backdoor attacks against diffusion models for image or unconditiona…

Graph GenerationDrug Discovery