atlas

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

A User-Friendly Framework for Generating Model-Preferred Prompts in Text-to-Image Synthesis

AAAI 2024 · Image generation › Text-to-image diffusion · approach: Personalized and region-controlled generation · 9 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.

Builds a coarse-fine prompt triplet dataset (CFP) and trains a CLIP-to-T5 prompt refiner (UF-FGTG) supervised by Stable Diffusion loss, CLIP-style alignment and an adaptive image-feature module to rewrite novice prompts into model-preferred prompts.

Problem

Novice users enter short, coarse prompts that differ in length and style from the long, fine-grained prompts text-to-image models were trained on, so they struggle to get desired images; existing prompt rewriting is unimodal and not tied to the image model.

Approach

Train a prompt refiner (CLIP text encoder plus T5 decoder) to map coarse prompts into the fine-grained prompt feature space, using Stable Diffusion's denoising loss as image-related supervision and an adaptive image-feature extraction module with a CLIP-based contrastive loss to preserve diversity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train the prompt refiner with UF-FGTG, including image-related loss and adaptive feature extractionText prompt generation for Stable Diffusion-v2.1 · CFP test promptsNIMA-TID: 5.59 -> 5.73Helped
Train the prompt refiner with UF-FGTG, including image-related loss and adaptive feature extractionText prompt generation for Stable Diffusion-v2.1 · CFP test promptsTReS: 80.90 -> 83.34Helped
Add Stable Diffusion image-related supervision (Lmse) (ablation)UF-FGTG · CFP promptsNIMA-TID: 5.53 -> 5.73Helped
Add adaptive feature extraction module (Lclip) (ablation)UF-FGTG · CFP promptsNIMA-TID: 5.68 -> 5.73Helped
Add both image-related losses Lmse and Lclip (ablation)UF-FGTG · CFP promptsNIMA-TID: 5.48 -> 5.73Helped
Increase generated prompt length beyond 6 tokens (ablation)UF-FGTG · CFP prompts, Stable Diffusion-v2.1 imagesNIMA-TIDMixed

Surprising findings

Limitations

Experimental setup

Datasets: CFP (Lexica.art prompts with Stable Diffusion-v2.1 images) DiffusionDB AVA KonIQ-10K TID2013

Benchmarks: CFP test split

Metrics: NIMA-TID MUSIQ-KonIQ DB-CNN TReS NIMA-AVA MUSIQ-AVA

Baselines: GPT-2 FLAN-T5 GPT-3.5 GPT-4

Builds on: Stable Diffusion CLIP FLAN-T5 OpenCLIP DiffusionDB

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