English

Prompt-Based Safety Guidance Is Ineffective for Unlearned Text-to-Image Diffusion Models

Machine Learning 2025-11-13 v2 Artificial Intelligence Computer Vision and Pattern Recognition

Abstract

Recent advances in text-to-image generative models have raised concerns about their potential to produce harmful content when provided with malicious input text prompts. To address this issue, two main approaches have emerged: (1) fine-tuning the model to unlearn harmful concepts and (2) training-free guidance methods that leverage negative prompts. However, we observe that combining these two orthogonal approaches often leads to marginal or even degraded defense performance. This observation indicates a critical incompatibility between two paradigms, which hinders their combined effectiveness. In this work, we address this issue by proposing a conceptually simple yet experimentally robust method: replacing the negative prompts used in training-free methods with implicit negative embeddings obtained through concept inversion. Our method requires no modification to either approach and can be easily integrated into existing pipelines. We experimentally validate its effectiveness on nudity and violence benchmarks, demonstrating consistent improvements in defense success rate while preserving the core semantics of input prompts.

Keywords

Cite

@article{arxiv.2511.04834,
  title  = {Prompt-Based Safety Guidance Is Ineffective for Unlearned Text-to-Image Diffusion Models},
  author = {Jiwoo Shin and Byeonghu Na and Mina Kang and Wonhyeok Choi and Il-Chul Moon},
  journal= {arXiv preprint arXiv:2511.04834},
  year   = {2025}
}

Comments

Accepted at NeurIPS 2025 Workshop on Generative and Protective AI for Content Creation

R2 v1 2026-07-01T07:25:24.180Z