atlas

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

Discovering Failure Modes of Text-guided Diffusion Models via Adversarial Search

ICLR 2024 · Image generation › Text-to-image diffusion · approach: Text-driven synthesis and semantic guidance · 2 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 SAGE, an adversarial search method that uses robust classifier ensembles as surrogate losses to search the prompt, token-embedding, and latent spaces of text-guided diffusion models and discover four failure modes.

Problem

Text-guided diffusion models fail unexpectedly, both for natural-looking prompts producing wrong content and for latent samples or token embeddings producing distorted or unrelated images; prior failure discovery relied on manual prompts or CLIP-space gibberish and ignored the latent space.

Approach

Adversarial optimization over three input spaces: a robust ensemble of classifiers (including an edge-based classifier) as surrogate loss, a residual connection to an intermediate denoising step to get usable latent gradients, and a gradient-guided search that uses LLaMA word proposals to find natural-language prompts.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
adding residual connection and approximate gradients for latent-space search instead of standard PGDSD V2.1 latent space search · SD V2.1 latent searchSSR(H): 12.5% to 80.7%Helped
gradient-guided search over text prompts instead of greedy LLaMA search with ViT scoreSD V2.1 prompt space · SD V2.1 prompt searchSSR(H): 6.4% to 59.8%Helped
gradient-guided adversarial token embedding optimization instead of random samplingSD V2.1 token embedding space · SD V2.1 token embedding searchSSR(H): 0.0% to 87.5%Helped
adding edge-based (Canny) classifier to discriminator ensemble (ablation)SAGE discriminator on SD V2.1 · SD V2.1 latent search, human evaltrue negative rate / SSR(H): true negative rate 32.5% to 77.5%Helped
adding residual connection at denoising steps (1 to 40 steps varied) (ablation)latent-space search ablation over denoising step · latent search, step sweepSSR(A): 100% for steps 1-30, 86% at step 40Mixed

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1k

Benchmarks: ImageNet-1k ImageNet-C

Metrics: search success rate failure generation rate non-Gaussian rate CLIP similarity

Baselines: PGD random sampling greedy search with LLaMA

Builds on: projected gradient descent CLIP LLaMA PoseExaminer

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