RePrompt: Reasoning-Augmented Reprompting for Text-to-Image Generation via Reinforcement Learning
Mingrui Wu, Lu Wang, Pu Zhao, Fangkai Yang, Jianjin Zhang, Jianfeng Liu, Yuefeng Zhan, Weihao Han, Hao Sun, Jiayi Ji, Xiaoshuai Sun, Qingwei Lin
Abstract
Despite recent progress in text-to-image (T2I) generation, existing models often struggle to faithfully capture user intentions from short and under-specified prompts. While prior work has attempted to enhance prompts using large language models (LLMs), these methods frequently generate stylistic or unrealistic content due to insufficient grounding in visual semantics and real-world composition. Inspired by recent advances in reasoning for language model, we propose RePrompt, a novel reprompting framework that introduces explicit reasoning into the prompt enhancement process via reinforcement learning. Instead of relying on handcrafted rules or stylistic rewrites, our method trains a language model to generate structured, self-reflective prompts by optimizing for image-level outcomes. The tailored reward models assesse the generated images in terms of human preference, semantic alignment, and visual composition, providing indirect supervision to refine prompt generation. Our approach enables end-to-end training without human-annotated data. Experiments on GenEval and T2I-Compbench show that RePrompt significantly boosts spatial layout fidelity and compositional generalization across diverse T2I backbones, establishing new state-of-the-art results. Code: https://github.com/microsoft/DKI_LLM/tree/main/RePrompt.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Agentic Retoucher for Text-To-Image Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
- Agentic Retoucher for Text-To-Image Generation cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- Agentic Retoucher for Text-To-Image Generation cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- MILR: Improving Multimodal Image Generation via Test-Time Latent Reasoning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MILR: Improving Multimodal Image Generation via Test-Time Latent Reasoning cites Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
- Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- Scaling Rectified Flow Transformers for High-Resolution Image Synthesis cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- PromptRL: Prompt Matters in RL for Flow-Based Image Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
- PromptRL: Prompt Matters in RL for Flow-Based Image Generation cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- PromptRL: Prompt Matters in RL for Flow-Based Image Generation cites Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
- Expand and Prune: Maximizing Trajectory Diversity for Effective GRPO in Generative Models cites High-Resolution Image Synthesis with Latent Diffusion Models
- Expand and Prune: Maximizing Trajectory Diversity for Effective GRPO in Generative Models cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- Expand and Prune: Maximizing Trajectory Diversity for Effective GRPO in Generative Models cites Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
- Expand and Prune: Maximizing Trajectory Diversity for Effective GRPO in Generative Models cites Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding cites High-Resolution Image Synthesis with Latent Diffusion Models
Cited by top-tier papers8
- Flow Caching for Autoregressive Video GenerationYuexiao Ma, Xuzhe Zheng, Jing Xu, Xiwei Xu et al.ICLR 2026 · 20 citations
- Agentic Retoucher for Text-To-Image GenerationShaocheng Shen, Jianfeng Liang, Chunlei Cai, Cong Geng et al.CVPR 2026 · 9 citations
- MILR: Improving Multimodal Image Generation via Test-Time Latent ReasoningYapeng Mi, Yanpeng Zhao, Hengli Li, Chenxi Li et al.ICLR 2026 · 8 citations
- PromptRL: Prompt Matters in RL for Flow-Based Image GenerationFu-Yun Wang, Han Zhang, Michaël Gharbi, Hongsheng Li et al.ICML 2026 · 8 citations
- Expand and Prune: Maximizing Trajectory Diversity for Effective GRPO in Generative ModelsShiran Ge, Chenyi Huang, Yuang Ai, Qihang Fan et al.CVPR 2026 · 8 citations
Builds on28
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li et al.NeurIPS 2022 · 8,965 citations
- SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann et al.ICLR 2024 · 4,569 citations
- Scaling Rectified Flow Transformers for High-Resolution Image SynthesisPatrick Esser, Sumith Kulal, Andreas Blattmann, Rahim Entezari et al.ICML 2024 · 3,620 citations
Related papers
- Self-Rewarding Large Vision-Language Models for Optimizing Prompts in Text-to-Image GenerationHongji Yang, Yucheng Zhou, Wencheng Han, Jianbing ShenACL Findings 2025
- GoT-R1: Unleashing Reasoning Capability of Autoregressive Visual Generation with Reinforcement LearningChengqi Duan, Rongyao Fang, Yuqing Wang, Kun Wang et al.ICLR 2026 · 43 citations
- Optimizing Prompts for Text-to-Image GenerationYaru Hao, Zewen Chi, Li Dong, Furu WeiNeurIPS 2023 · 303 citations
- T2I-R1: Reinforcing Image Generation with Collaborative Semantic-level and Token-level CoTDongzhi Jiang, Ziyu Guo, Renrui Zhang, Zhuofan Zong et al.NeurIPS 2025 · 181 citations
- Policy Optimized Text-to-Image Pipeline DesignUri Gadot, Rinon Gal, Yftah Ziser, Gal Chechik et al.NeurIPS 2025 · 1 citation
