Iterative Prompt Refinement for Safer Text-to-Image Generation
On the map: Multimodal LLMs / vision-language models → MLLM training and visual instruction tuning
Abstract (arXiv)
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. textbftextcolorredWARNING: This paper contains examples of harmful or inappropriate images generated by models.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in MLLM training and visual instruction tuning, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 12 of its 35 references that are in the map. First posted on arXiv 17 Sep 2025.
Builds on
12 of 35 references.
References · 12
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2022Generative Adversarial Networkscited by 5,627
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2017AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networkscited by 664
- 2016StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networkscited by 577
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 513
- 2022Can Machines Help Us Answering Question 16 in Datasheets, and In Turn Reflecting on Inappropriate Content?cited by 155
- 2024Plan-Seq-Learn: Language Model Guided RL for Solving Long Horizon Robotics Taskscited by 52
- 2024On Discrete Prompt Optimization for Diffusion Modelscited by 29
- 2025Detect-and-Guide: Self-regulation of Diffusion Models for Safe Text-to-Image Generation via Guideline Token Optimizationcited by 13
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2025ImAgent: A Unified Multimodal Agent Framework for Test-Time Scalable Image Generationcited by 17
- 2026Generative AI for Visualizing Highway Construction Hazards Through Synthetic Images and Temporal Sequencescited by 1
- 2026EPIG: Emotion-Based Prompting for Personalised Image Generationcited by 1
- 2026SPOT: Selective Prompt Projection via Total Variation for Inference-Only Safe Text-to-Image Generationcited by 0
- 2026Reasoning with Autoregressive-Diffusion Collaborative Thoughtscited by 0
- 2026The Safeguard Worked. Is the LLM System Safer?cited by 0
- 2026The Safeguard Worked. Is the LLM System Safer?1 Sep 2026
- 2026EPIG: Emotion-Based Prompting for Personalised Image Generation11 Jun 2026
- 2026Generative AI for Visualizing Highway Construction Hazards Through Synthetic Images and Temporal Sequences11 May 2026
- 2026Reasoning with Autoregressive-Diffusion Collaborative Thoughts2 Feb 2026
- 2026SPOT: Selective Prompt Projection via Total Variation for Inference-Only Safe Text-to-Image Generation31 Jan 2026
- 2025ImAgent: A Unified Multimodal Agent Framework for Test-Time Scalable Image Generation14 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2025Test-time Prompt Refinement for Text-to-Image Models
- 2025POET: Preference Optimization for Enhanced Text-to-Image Generation
- 2025FineGRAIN: Evaluating Failure Modes of Text-to-Image Models with Vision Language Model Judges
- 2024Universal Prompt Optimizer for Safe Text-to-Image Generation
- 2026Seeing is Believing: Aligning Prompt Rewriting with Visual Anchors for Text-to-Image Generation
- 2024Batch-Instructed Gradient for Prompt Evolution:Systematic Prompt Optimization for Enhanced Text-to-Image Synthesis
- 2025T2I-Copilot: A Training-Free Multi-Agent Text-to-Image System for Enhanced Prompt Interpretation and Interactive Generation
- 2026Iterative Refinement Improves Compositional Image Generation