atlas

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

TextCraftor: Your Text Encoder Can be Image Quality Controller

CVPR 2024 · Image generation › Text-to-image diffusion · approach: Text-driven synthesis and semantic guidance · 8 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.

Fine-tunes the CLIP text encoder of Stable Diffusion v1.5 end-to-end through differentiable reward models (aesthetics, PickScore, HPSv2) on prompts only, with a CLIP-similarity constraint, improving image quality and text-image alignment without extra inference cost.

Problem

Stable Diffusion often produces images that do not align well with prompts and needs multiple runs or prompt engineering; prior fixes fine-tune the UNet on paired data or swap in larger text encoders, which add cost.

Approach

Fine-tune only the pretrained CLIP text encoder by backpropagating differentiable reward scores (computed on images from a fixed-step DDIM rollout on prompts alone), and keep the CLIP image-text cosine similarity as an always-on constraint to prevent mode collapse and preserve generality.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
fine-tune the text encoder with combined rewardsSDv1.5 · Parti-Prompts (1632)PickScore: 18.834 -> 19.157Helped
fine-tune the text encoder with combined rewardsSDv1.5 · HPSv2 benchmarkAverage HPSv2: 0.2688 -> 0.2807Helped
add UNet reward fine-tuning after text-encoder fine-tuning (ablation)TextCraftor · Parti-Prompts (1632)PickScore: 19.157 -> 19.479Helped
add UNet reward fine-tuning after text-encoder fine-tuning (ablation)TextCraftor (HPSv2) · HPSv2 benchmarkAverage HPSv2: 0.2910 -> 0.2983Helped
use Aesthetics reward for text-encoder fine-tuning (ablation)SDv1.5 · Parti-Prompts (1632)Aesthetics: 5.2634 -> 5.5212Helped
use Aesthetics reward for text-encoder fine-tuning (ablation)SDv1.5 · Parti-Prompts (1632)HPSv2: 0.2703 -> 0.2670Hurt
use PickScore reward for text-encoder fine-tuning (ablation)SDv1.5 · Parti-Prompts (1632)PickScore: 18.834 -> 19.023Helped
use PickScore reward for text-encoder fine-tuning (ablation)SDv1.5 · Parti-Prompts (1632)HPSv2: 0.2703 -> 0.2641Hurt
use HPSv2 reward for text-encoder fine-tuning (ablation)SDv1.5 · Parti-Prompts (1632)HPSv2: 0.2703 -> 0.2800Helped
use direct fine-tuning rather than prompt-based reward fine-tuning (ablation)SDv1.5 · Parti-Prompts (1632)PickScore: 18.834 -> 18.750No clear effect
add the CLIP similarity constraint during reward fine-tuning (ablation)TextCraftor · Parti-PromptsgeneralityHelped
use prompt engineering instead of TextCraftorSDv1.5 · Parti-Prompts (1632)PickScore: 18.834 -> 17.311Hurt

Surprising findings

Limitations

Experimental setup

Datasets: OpenPrompt LAION-2B Parti-Prompts HPSv2 benchmark

Benchmarks: Parti-Prompts HPSv2 benchmark

Metrics: Aesthetics score PickScore HPSv2 score human win rate

Baselines: SDv1.5 SDv2.0 SDXL Base 0.9 DeepFloyd-XL DDPO Prompt Engineering Direct Fine-tune

Builds on: Stable Diffusion DDPO CLIP DDIM

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