Learning to Sample Effective and Diverse Prompts for Text-to-Image Generation
Taeyoung Yun, Dinghuai Zhang, Jinkyoo Park, Ling Pan
摘要
Recent advances in text-to-image diffusion models have achieved impressive image generation capabilities. However, it remains challenging to control the generation process with desired properties (e.g., aesthetic quality, user intention), which can be expressed as black-box reward functions. In this paper, we focus on prompt adaptation, which refines the original prompt into model-preferred prompts to generate desired images. While prior work uses reinforcement learning (RL) to optimize prompts, we observe that applying RL often results in generating similar postfixes and deterministic behaviors. To this end, we introduce Prompt Adaptation with GFlowNets (PAG), a novel approach that frames prompt adaptation as a probabilistic inference problem. Our key insight is that leveraging Generative Flow Networks (GFlowNets) allows us to shift from reward maximization to sampling from an unnormalized density function, enabling both high-quality and diverse prompt generation. However, we identify that a naive application of GFlowNets suffers from mode collapse and uncovers a previously overlooked phenomenon: the progressive loss of neural plasticity in the model, which is compounded by inefficient credit assignment in sequential prompt generation. To address this critical challenge, we develop a systematic approach in PAG with flow reactivation, reward-prioritized sampling, and reward decomposition for prompt adaptation. Extensive experiments validate that PAG successfully learns to sample effective and diverse prompts for text-toimage generation. We also show that PAG exhibits strong robustness across various reward functions and transferability to different text-to-image models.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- RePrompt: Reasoning-Augmented Reprompting for Text-to-Image Generation via Reinforcement Learning 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- RePrompt: Reasoning-Augmented Reprompting for Text-to-Image Generation via Reinforcement Learning 引用了 Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
- Discovering Latent Graphs with GFlowNets for Diverse Conditional Image Generation 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Discovering Latent Graphs with GFlowNets for Diverse Conditional Image Generation 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Discovering Latent Graphs with GFlowNets for Diverse Conditional Image Generation 引用了 Denoising Diffusion Probabilistic Models
- Nabla-R2D3: Effective and Efficient 3D Diffusion Alignment with 2D Rewards 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Nabla-R2D3: Effective and Efficient 3D Diffusion Alignment with 2D Rewards 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Nabla-R2D3: Effective and Efficient 3D Diffusion Alignment with 2D Rewards 引用了 Denoising Diffusion Probabilistic Models
- Value Gradient Guidance for Flow Matching Alignment 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding 引用了 Denoising Diffusion Probabilistic Models
引用它的顶会 Paper9
- FlowRL: Matching Reward Distributions for LLM ReasoningXuekai Zhu, Daixuan Cheng, Dinghuai Zhang, Hengli Li 等ICLR 2026 · 41 次引用
- RePrompt: Reasoning-Augmented Reprompting for Text-to-Image Generation via Reinforcement LearningMingrui Wu, Lu Wang, Pu Zhao, Fangkai Yang 等ICLR 2026 · 19 次引用
- Value Gradient Guidance for Flow Matching AlignmentZhen Liu, Tim Z. Xiao, Carles Domingo-Enrich, Weiyang Liu 等NeurIPS 2025 · 15 次引用
- Nabla-R2D3: Effective and Efficient 3D Diffusion Alignment with 2D RewardsQingming Liu, Zhen Liu, Dinghuai Zhang, Kui JiaNeurIPS 2025 · 10 次引用
- Discovering Latent Graphs with GFlowNets for Diverse Conditional Image GenerationBailey Trang Nguyen, Parham Saremi, Alan Q. Wang, Fangrui Huang 等NeurIPS 2025 · 2 次引用
它引用的 Paper31
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
- Photorealistic Text-to-Image Diffusion Models with Deep Language UnderstandingChitwan Saharia, William Chan, Saurabh Saxena, Lala Li 等NeurIPS 2022 · 8,965 次引用
- BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and GenerationJunnan Li, Dongxu Li, Caiming Xiong, Steven C. H. HoiICML 2022 · 6,549 次引用
相关 Paper
- Efficient Diversity-Preserving Diffusion Alignment via Gradient-Informed GFlowNetsZhen Liu, Tim Z. Xiao, Weiyang Liu, Yoshua Bengio 等ICLR 2025
- Optimizing Prompts for Text-to-Image GenerationYaru Hao, Zewen Chi, Li Dong, Furu WeiNeurIPS 2023 · 303 次引用
- PromptRL: Prompt Matters in RL for Flow-Based Image GenerationFu-Yun Wang, Han Zhang, Michaël Gharbi, Hongsheng Li 等ICML 2026 · 8 次引用
- Dynamic Prompt Optimizing for Text-to-Image GenerationWenyi Mo, Tianyu Zhang, Yalong Bai, Bing Su 等CVPR 2024 · 15 次引用
- RewardFlow: Generate Images by Optimizing What You RewardOnkar Susladkar, Dong-Hwan Jang, Tushar Prakash, Adheesh Sunil Juvekar 等CVPR 2026 · 2 次引用
