Optimizing Prompts for Text-to-Image Generation
arXiv:2212.09611
Abstract
Well-designed prompts can guide text-to-image models to generate amazing images. However, the performant prompts are often model-specific and misaligned with user input. Instead of laborious human engineering, we propose prompt adaptation, a general framework that automatically adapts original user input to model-preferred prompts. Specifically, we first perform supervised fine-tuning with a pretrained language model on a small collection of manually engineered prompts. Then we use reinforcement learning to explore better prompts. We define a reward function that encourages the policy to generate more aesthetically pleasing images while preserving the original user intentions. Experimental results on Stable Diffusion show that our method outperforms manual prompt engineering in terms of both automatic metrics and human preference ratings. Moreover, reinforcement learning further boosts performance, especially on out-of-domain prompts. The pretrained checkpoints are available at https://aka.ms/promptist. The demo can be found at https://aka.ms/promptist-demo.
Accepted by NeurIPS-23
Cited by in corpus (7)
- PromptMagician: Interactive Prompt Engineering for Text-to-Image Creation
- Reinforcement Learning for Generative AI: State of the Art, Opportunities and Open Research Challenges
- PromptMap: An Alternative Interaction Style for AI-Based Image Generation
- MemoVis: A GenAI-Powered Tool for Creating Companion Reference Images for 3D Design Feedback
- A User-Friendly Framework for Generating Model-Preferred Prompts in Text-to-Image Synthesis
- Steering Large Text-to-Image Model for Abstract Art Synthesis: Preference-based Prompt Optimization and Visualization
- ESCT3D: Efficient and Selectively Controllable Text-Driven 3D Content Generation with Gaussian Splatting