Lune

NeurIPS2023顶会

Optimizing Prompts for Text-to-Image Generation

Yaru Hao, Zewen Chi, Li Dong, Furu Wei

摘要

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 .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 96 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Directly Fine-Tuning Diffusion Models on Differentiable Rewards 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • Directly Fine-Tuning Diffusion Models on Differentiable Rewards 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Directly Fine-Tuning Diffusion Models on Differentiable Rewards 引用了 Training language models to follow instructions with human feedback
  • PromptMagician: Interactive Prompt Engineering for Text-to-Image Creation 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • PromptMagician: Interactive Prompt Engineering for Text-to-Image Creation 引用了 Language Models are Few-Shot Learners
  • PromptMagician: Interactive Prompt Engineering for Text-to-Image Creation 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • PromptMagician: Interactive Prompt Engineering for Text-to-Image Creation 引用了 Training language models to follow instructions with human feedback
  • Iterative Preference Learning from Human Feedback: Bridging Theory and Practice for RLHF under KL-constraint 引用了 Training language models to follow instructions with human feedback
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 Language Models are Few-Shot Learners
  • Human Preference Score: Better Aligning Text-to-image Models with Human Preference 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
  • Human Preference Score: Better Aligning Text-to-image Models with Human Preference 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Human Preference Score: Better Aligning Text-to-image Models with Human Preference 引用了 Training language models to follow instructions with human feedback
  • Chain-of-Thought Prompting Elicits Reasoning in Large Language Models 引用了 Training language models to follow instructions with human feedback
  • Training language models to follow instructions with human feedback 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper96

  1. Directly Fine-Tuning Diffusion Models on Differentiable RewardsKevin Clark, Paul Vicol, Kevin Swersky, David J. FleetICLR 2024 · 377 次引用
  2. Iterative Preference Learning from Human Feedback: Bridging Theory and Practice for RLHF under KL-constraintWei Xiong, Hanze Dong, Chenlu Ye, Ziqi Wang 等ICML 2024 · 346 次引用
  3. Human Preference Score: Better Aligning Text-to-image Models with Human PreferenceXiaoshi Wu, Keqiang Sun, Feng Zhu, Rui Zhao 等ICCV 2023 · 323 次引用
  4. Automatic Prompt Optimization with "Gradient Descent" and Beam SearchReid Pryzant, Dan Iter, Jerry Li, Yin Tat Lee 等EMNLP 2023 · 137 次引用
  5. PromptMagician: Interactive Prompt Engineering for Text-to-Image CreationYingchaojie Feng, Xingbo Wang, Kamkwai Wong, Sijia Wang 等IEEE VIS 2023 · 127 次引用

它引用的 Paper22

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  3. Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
  4. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
  5. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用

相关 Paper

  1. Dynamic Prompt Optimizing for Text-to-Image GenerationWenyi Mo, Tianyu Zhang, Yalong Bai, Bing Su 等CVPR 2024 · 15 次引用
  2. DiffChat: Learning to Chat with Text-to-Image Synthesis Models for Interactive Image CreationJiapeng Wang, Chengyu Wang, Tingfeng Cao, Jun Huang 等ACL Findings 2024 · 1 次引用
  3. A User-Friendly Framework for Generating Model-Preferred Prompts in Text-to-Image SynthesisNailei Hei, Qianyu Guo, Zihao Wang, Yan Wang 等AAAI 2024 · 11 次引用
  4. Self-Rewarding Large Vision-Language Models for Optimizing Prompts in Text-to-Image GenerationHongji Yang, Yucheng Zhou, Wencheng Han, Jianbing ShenACL Findings 2025
  5. RePrompt: Reasoning-Augmented Reprompting for Text-to-Image Generation via Reinforcement LearningMingrui Wu, Lu Wang, Pu Zhao, Fangkai Yang 等ICLR 2026 · 19 次引用
黄昏的海面,两侧是细线勾勒的悬崖