[Paper Review] Mitigating Inappropriateness in Image Generation: Can there be Value in Reflecting the World's Ugliness?
This paper investigates the use of explicit textual instructions—specifically Semantic Guidance (SEGA) and negative prompting—to mitigate inappropriate image generation in text-to-image diffusion models. By leveraging models' learned representations of 'world ugliness,' the authors demonstrate that these inference-time interventions significantly reduce the likelihood of generating explicit content across 11 open-source models, with SEGA proving more effective than negative prompting in suppressing inappropriate outputs.
Text-conditioned image generation models have recently achieved astonishing results in image quality and text alignment and are consequently employed in a fast-growing number of applications. Since they are highly data-driven, relying on billion-sized datasets randomly scraped from the web, they also reproduce inappropriate human behavior. Specifically, we demonstrate inappropriate degeneration on a large-scale for various generative text-to-image models, thus motivating the need for monitoring and moderating them at deployment. To this end, we evaluate mitigation strategies at inference to suppress the generation of inappropriate content. Our findings show that we can use models' representations of the world's ugliness to align them with human preferences.
Motivation & Objective
- To systematically assess the extent of inappropriate content generation in state-of-the-art text-to-image diffusion models.
- To evaluate the effectiveness of inference-time instruction methods—specifically SEGA and negative prompting—in suppressing such content.
- To provide a large-scale, quantifiable benchmark for safety mitigation strategies across diverse models and architectures.
- To explore whether models' internal representations of 'ugliness' can be leveraged to align generation with human preferences.
- To offer a flexible, deployable solution for real-world moderation that avoids costly retraining or data filtering.
Proposed method
- The authors use a large-scale evaluation framework generating over 1.5 million images across 11 open-source text-to-image models.
- They apply two instruction-based mitigation strategies: Semantic Guidance (SEGA), which adds a steering term to guide generation away from unwanted concepts, and negative prompting, which conditions the unconditioned denoising step on a suppression prompt.
- The models are prompted with the I2P (inappropriate-image-prompts) dataset to test generation of explicit content.
- Inappropriate content is classified using a combined Q16/NudeNet classifier to measure probability and expected maximum inappropriateness.
- Classifier-free guidance is used as the underlying mechanism, enabling conditional generation without external classifiers.
- The evaluation includes bootstrap estimation of the expected maximum inappropriateness across 25 prompts per model.

Experimental results
Research questions
- RQ1To what extent do current text-to-image diffusion models generate inappropriate content when prompted with ambiguous or explicit prompts?
- RQ2Can SEGA and negative prompting effectively reduce the generation of inappropriate images across diverse models and architectures?
- RQ3How do SEGA and negative prompting compare in terms of mitigation effectiveness and control over content suppression?
- RQ4Can models' internal representations of 'ugliness' be leveraged to align image generation with human safety preferences?
- RQ5What is the scalability and generalizability of instruction-based mitigation strategies in real-world deployment scenarios?
Key findings
- The study demonstrates that inappropriate content generation is a widespread issue across 11 open-source text-to-image models, with high probabilities of generating explicit images even from non-explicit prompts.
- SEGA significantly reduces the probability of generating inappropriate content, outperforming negative prompting in both sexual and all categories of inappropriateness.
- The expected maximum inappropriateness drops substantially with SEGA, indicating a strong reduction in the likelihood of generating offensive images at least once per prompt set.
- Negative prompting also reduces inappropriateness but offers less control and is less effective than SEGA, particularly in suppressing subtle or implicit forms of inappropriate content.
- The results show that instruction-based mitigation at inference time is a scalable and flexible alternative to data filtering or fine-tuning, with minimal computational overhead.
- The combined Q16/NudeNet classifier identifies a conservative baseline, suggesting that actual inappropriateness may be underreported, yet the trends in mitigation effectiveness remain robust.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.