atlas

Research map / Image generation / Text-to-image diffusion

Dynamic Prompt Optimizing for Text-to-Image Generation

CVPR 2024 · Image generation › Text-to-image diffusion · approach: Inference-time T2I improvement · 22 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Prompt Auto-Editing (PAE), which fine-tunes GPT-2 on filtered prompt logs and then uses PPO to learn dynamic fine-control prompts (tokens with effect time ranges and weights) for Stable Diffusion v1.4.

Problem

Text-to-image diffusion models are highly sensitive to prompt wording, and manually tuning prompt modifiers, weights, and injection time steps is costly and labor-intensive.

Approach

Formulates prompt editing as an RL problem where a policy appends modifier tokens, each paired with a denoising-step effect range and a weight (DF-Prompt), trained with PPO against a multi-part reward (CLIP score, PickScore, aesthetic score), after an SFT stage on automatically filtered prompt-image data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply PAE prompt editingStable Diffusion v1.4 · Lexica.artPickScore: 72.5% -> 73.9%Helped
apply PAE prompt editingStable Diffusion v1.4 · DiffusionDBAesthetic Score: 6.06 -> 6.07Helped
apply PAE prompt editingStable Diffusion v1.4 · COCOAesthetic Score: 6.15 -> 6.09Hurt
use σ = 0.5 instead of σ = 1.0 for EReP data settings (ablation)EReP · DiffusionDB validationAesthetic Score: 5.95 -> 6.01; 5.94 -> 6.03Helped
set γ = 0.01 instead of γ = 0.00 with σ = 0.5 (ablation)EReP · DiffusionDB validationAesthetic Score: 6.01 -> 6.03Helped
set γ = 0.01 instead of γ = 0.00 with σ = 1.0 (ablation)EReP · DiffusionDB validationAesthetic Score: 5.95 -> 5.94Hurt
set β = 1 instead of β = 0 (ablation)EDFP · DiffusionDB validationPickScore: 58.0% -> 9.6%Hurt
set β = 1 instead of β = 0 (ablation)EDFP · DiffusionDB validationCLIP Score: 0.26 -> 0.28Helped
increase α from 1 to 5 with β = 1, κ = 18 (ablation)EDFP · DiffusionDB validationAesthetic Score: 5.54 -> 5.97Helped
increase α from 1 to 5 with β = 1, κ = 18 (ablation)EDFP · DiffusionDB validationCLIP Score: 0.28 -> 0.26Hurt
increase κ from 16 to 18 with α = 1, β = 0 (ablation)EDFP · DiffusionDB validationPickScore: 53.8% -> 58.0%Helped
add second-stage online reinforcement learning (ablation)EReP · DiffusionDB validationPickScore: 53.8% -> 57.8%Helped

Surprising findings

Limitations

Experimental setup

Datasets: Lexica.art DiffusionDB COCO

Benchmarks: Lexica.art DiffusionDB COCO

Metrics: aesthetic score CLIP score PickScore CMMD

Baselines: Promptist GPT-2 human-written prompts short prompt

Builds on: Promptist PPO GPT-2 Stable Diffusion CLIP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy