atlas

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

Towards Understanding the Working Mechanism of Text-to-Image Diffusion Model

NeurIPS 2024 · Image generation › Text-to-image diffusion · approach: Inference-time T2I improvement · 4 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.

Empirically and theoretically analyzes the denoising process of Stable Diffusion, finding shape is formed early via low-frequency signals and that the [EOS] token dominates text influence in that early stage, then uses this to skip text-conditioned evaluations late in sampling for ~25% speedup.

Problem

The working mechanism of latent diffusion text-to-image models, in particular how text prompt tokens influence generation across denoising steps, is poorly understood.

Approach

Shows that overall shape is determined in early denoising steps (low-frequency signals survive forward noising) and that the [EOS] token carries most of the text influence in that early stage; exploits this by dropping text-conditioned noise prediction after an early step a, giving training-free sampling acceleration.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Remove text guidance for t < 20Stable Diffusion v1.5 with DDIM · MS-COCO testSaved latency: +18.10% saved latencyHelped
Remove text guidance for t < 20Stable Diffusion v2.1 with DDIM · MS-COCO testText-CLIPScore: 31.413 -> 31.362No clear effect
Remove text guidance for t < 10Pixart-Alpha with DDIM · MS-COCO testText-CLIPScore: 28.157 -> 25.719Hurt
Remove text guidance for t < 10Pixart-Alpha with DPM-Solver · MS-COCO testText-CLIPScore: 30.733 -> 30.745No clear effect
Replace semantic tokens with zero vectors while preserving EOS (ablation)Stable Diffusion v1.5 · PromptSet text-image alignmentCLIPScore (Text): 0.2407 -> 0.2999Helped
Replace EOS tokens with zero vectors while preserving semantic tokens (ablation)Stable Diffusion v1.5 · PromptSet text-image alignmentCLIPScore (Text): 0.3110 -> 0.2407Hurt
Replace semantic tokens with random Gaussian noise while preserving EOS (ablation)Stable Diffusion v1.5 · PromptSet text-image alignmentCLIPScore (Text): 0.2153 -> 0.3008Helped
Substitute EOS in Value only rather than Key only (ablation)Stable Diffusion v1.5 · Switched-EOS promptsCLIPScore (Text), target alignment: 0.1875 -> 0.2628Helped

Surprising findings

Limitations

Experimental setup

Datasets: PromptSet (1600 template prompts plus 1000 complex prompts) MS-COCO

Benchmarks: MS-COCO

Metrics: CLIPScore BLIP-VQA MiniGPT4-CoT L1-distance FID saved latency

Baselines: DDIM DPM-Solver

Builds on: Stable Diffusion classifier-free guidance DDIM DPM-Solver

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