CVSep 17, 2025

Iterative Prompt Refinement for Safer Text-to-Image Generation

arXiv:2509.13760v15 citationsh-index: 2Has CodeEMNLP
Originality Incremental advance
AI Analysis

This addresses safety issues in text-to-image models for users and developers, but it is incremental as it builds on existing LLM-based methods by adding visual feedback.

The paper tackles the problem of unsafe outputs in text-to-image generation by proposing an iterative prompt refinement algorithm that uses vision language models to analyze both prompts and generated images, resulting in safer outputs without compromising user intent.

Text-to-Image (T2I) models have made remarkable progress in generating images from text prompts, but their output quality and safety still depend heavily on how prompts are phrased. Existing safety methods typically refine prompts using large language models (LLMs), but they overlook the images produced, which can result in unsafe outputs or unnecessary changes to already safe prompts. To address this, we propose an iterative prompt refinement algorithm that uses Vision Language Models (VLMs) to analyze both the input prompts and the generated images. By leveraging visual feedback, our method refines prompts more effectively, improving safety while maintaining user intent and reliability comparable to existing LLM-based approaches. Additionally, we introduce a new dataset labeled with both textual and visual safety signals using off-the-shelf multi-modal LLM, enabling supervised fine-tuning. Experimental results demonstrate that our approach produces safer outputs without compromising alignment with user intent, offering a practical solution for generating safer T2I content. Our code is available at https://github.com/ku-dmlab/IPR. \textbf{\textcolor{red}WARNING: This paper contains examples of harmful or inappropriate images generated by models.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes