Reward-Agnostic Prompt Optimization for Text-to-Image Diffusion Models
On the map: Diffusion models → Image generation, text-to-image and editing
also in 1 more
Abstract (arXiv)
We investigate a general approach for improving user prompts in text-to-image (T2I) diffusion models by finding prompts that maximize a reward function specified at test-time. Although diverse reward models are used for evaluating image generation, existing automated prompt engineering methods typically target specific reward configurations. Consequently, these specialized designs exhibit suboptimal performance when applied to new prompt engineering scenarios involving different reward models. To address this limitation, we introduce RATTPO (Reward-Agnostic Test-Time Prompt Optimization), a flexible test-time optimization method applicable across various reward scenarios without modification. RATTPO iteratively searches for optimized prompts by querying large language models (LLMs) textitwithout requiring reward-specific task descriptions. Instead, it uses the optimization trajectory and a novel reward-aware feedback signal (termed a "hint") as context. Empirical results demonstrate the versatility of RATTPO, effectively enhancing user prompts across diverse reward setups that assess various generation aspects, such as aesthetics, general human preference, or spatial relationships between objects. RATTPO surpasses other test-time search baselines in search efficiency, running 4.8 times faster than naive reward-agnostic test-time search baseline on average. Furthermore, with sufficient inference budget, it can achieve comparable performance to learning-based baselines that require reward-specific fine-tuning. The code is available at https://github.com/seminkim/RATTPO.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 48 of its 58 references that are in the map. First posted on arXiv 20 Jun 2025.
Builds on
48 of 58 references.
Closest ancestors · 7
Same direction, newest first
- 2025Learning to Sample Effective and Diverse Prompts for Text-to-Image Generation17 Feb
- 2024On Discrete Prompt Optimization for Diffusion Models27 Jun
- 2024Dynamic Prompt Optimizing for Text-to-Image Generation5 Apr
- 2023Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Models19 Dec
- 2023X-IQE: eXplainable Image Quality Evaluation for Text-to-Image Generation with Visual Large Language Models18 May
- 2022DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Models26 Oct
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
Other references · 41
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,979
29 more
- 2025Gemma 3 Technical Reportcited by 1,824
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,470
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,295
- 2023ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generationcited by 1,045
- 2023Pick-a-Pic: An Open Dataset of User Preferences for Text-to-Image Generationcited by 977
- 2023Large Language Models as Optimizerscited by 864
- 2023Adversarial Diffusion Distillationcited by 759
- 2022A Survey on In-context Learningcited by 721
- 2022Pseudo Numerical Methods for Diffusion Models on Manifoldscited by 700
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
- 2023TIFA: Accurate and Interpretable Text-to-Image Faithfulness Evaluation with Question Answeringcited by 428
- 2023Human Preference Score: Better Aligning Text-to-Image Models with Human Preferencecited by 287
- 2023T2I-CompBench++: An Enhanced and Comprehensive Benchmark for Compositional Text-to-image Generationcited by 260
- 2025Inference-Time Scaling for Diffusion Models beyond Scaling Denoising Stepscited by 234
- 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 233
- 2021Design Guidelines for Prompt Engineering Text-to-Image Generative Modelscited by 218
- 2022Optimizing Prompts for Text-to-Image Generationcited by 207
- 2023Davidsonian Scene Graph: Improving Reliability in Fine-grained Evaluation for Text-to-Image Generationcited by 171
- 2024InFoBench: Evaluating Instruction Following Ability in Large Language Modelscited by 135
- 2024Large Language Models to Enhance Bayesian Optimizationcited by 135
- 2021Simple multi-dataset detectioncited by 127
- 2025Test-time Alignment of Diffusion Models without Reward Over-optimizationcited by 93
- 2024Improving Text-to-Image Consistency via Automatic Prompt Optimizationcited by 90
- 2023Using Large Language Models for Hyperparameter Optimizationcited by 71
- 2023DreamSync: Aligning Text-to-Image Generation with Image Understanding Feedbackcited by 58
- 2022A Taxonomy of Prompt Modifiers for Text-To-Image Generationcited by 55
- 2024IPO: Interpretable Prompt Optimization for Vision-Language Modelscited by 14
- 2024Automated Black-box Prompt Engineering for Personalized Text-to-Image Generationcited by 12
Built on by
Citing papers per year: 2025: 3; 2026: 2.
5 papers.
- 2025World-To-Image: Grounding Text-to-Image Generation with Agent-Driven World Knowledgecited by 5
- 2025Rethinking Test Time Scaling for Flow-Matching Generative Modelscited by 1
- 2026Agentic Visual Generation: From Generative Models to Agentic Controlcited by 1
- 2025PromptLoop: Plug-and-Play Prompt Refinement via Latent Feedback for Diffusion Model Alignmentcited by 0
- 2026DOGS: Design-Space Sampling for Prompt-Driven Logo Generationcited by 0
- 2026DOGS: Design-Space Sampling for Prompt-Driven Logo Generation7 Oct 2026
- 2026Agentic Visual Generation: From Generative Models to Agentic Control6 Sep 2026
- 2025Rethinking Test Time Scaling for Flow-Matching Generative Models27 Nov 2025
- 2025World-To-Image: Grounding Text-to-Image Generation with Agent-Driven World Knowledge5 Oct 2025
- 2025PromptLoop: Plug-and-Play Prompt Refinement via Latent Feedback for Diffusion Model Alignment1 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025PromptEnhancer: A Simple Approach to Enhance Text-to-Image Models via Chain-of-Thought Prompt Rewriting
- 2025Self-Rewarding Large Vision-Language Models for Optimizing Prompts in Text-to-Image Generation
- 2026Evolutionary Token-Level Prompt Optimization for Diffusion Models
- 2024Elucidating Optimal Reward-Diversity Tradeoffs in Text-to-Image Diffusion Models
- 2024Batch-Instructed Gradient for Prompt Evolution:Systematic Prompt Optimization for Enhanced Text-to-Image Synthesis
- 2024ReNO: Enhancing One-step Text-to-Image Models through Reward-based Noise Optimization
- 2026Traversing the Satisfaction-Diversity Frontier in Text-to-Image Diffusion
- 2023NeuroPrompts: An Adaptive Framework to Optimize Prompts for Text-to-Image Generation