atlas

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

Get What You Want, Not What You Don't: Image Content Suppression for Text-to-Image Diffusion Models

ICLR 2024 · Image generation › Text-to-image diffusion · approach: Compositional text-to-image guidance · 3 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.

Suppresses negative-target content in text-to-image diffusion by SVD-based soft-weighted regularization of the text embedding matrix (including [EOT] embeddings) plus inference-time text embedding optimization with attention losses, requiring no fine-tuning.

Problem

Text-to-image diffusion models fail to suppress content explicitly requested to be omitted in the prompt (e.g., "a man without glasses" still produces glasses).

Approach

Analyzes the [EOT] padding embeddings of the CLIP text encoder as carrying redundant semantic information of the whole prompt, then applies soft-weighted shrinkage to singular values of a matrix formed from negative-target and [EOT] embeddings, followed by per-timestep optimization of the text embeddings with a positive-preservation loss and a negative-suppression loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add inference-time text embedding optimization with negative target suppression and positive target preservation losses to soft-weighted regularization (ablation)Stable Diffusion v1.4 · Generated-image editing, random negative targetDetScore: 0.3668 -> 0.1321Helped
Add inference-time text embedding optimization with negative target suppression and positive target preservation losses to soft-weighted regularization (ablation)Stable Diffusion v1.4 · Generated-image editing, random negative targetClipscore: 0.7996 -> 0.6647Helped
Add inference-time text embedding optimization with negative target suppression and positive target preservation losses to soft-weighted regularization (ablation)Stable Diffusion v1.4 · Generated-image editing, random negative targetIFID: 85.9 -> 176.4Helped
Add positive target prompt preservation loss (ablation)SWR + negative target prompt suppression · Generated-image editing, random negative targetSSIM: 0.407 to 0.552Helped
Omit positive target prompt preservation loss (ablation)SWR + negative target prompt suppression · Image editingimage structure preservationHurt
Use negative target suppression loss without positive target preservation loss (ablation)SWR · Image editingDetScore: 0.0692; IFID=242.3Mixed
Replace soft-weighted regularization with zeroing the top-K singular values (ablation)Stable Diffusion · Negative target suppressionsuppression and image qualityMixed
Replace SVD-based extraction with a simple mean of the [EOT] embeddings (ablation)Stable Diffusion · A man without glassesDetScore: 0.1065 vs 0.6266Hurt
Add zeroing of the glasses token embedding to the mean [EOT] embedding (ablation)Mean [EOT] embedding · A man without glassesDetScore: 0.4892Hurt
Optimize value components directly instead of attention maps (ablation)Inference-time text embedding optimization · Image editingimage qualityHurt
Zero the target prompt attention map (ablation)Stable Diffusion · Negative target suppressiontarget removalHurt
Increase the prompt length while zeroing both the target token and [EOT] embeddings (ablation)Stable Diffusion · A man without glasses with added description wordsDetScore: 0.084; 0.393; 0.455; 0.427Hurt

Surprising findings

Limitations

Experimental setup

Datasets: COCO validation captions Unsplash images GQA-Inpaint ESD Van Gogh and Tyler Edlin prompts

Benchmarks: COCO captions generated-image suppression Unsplash and COCO real-image editing GQA-Inpaint

Metrics: CLIPScore IFID DetScore FID CLIP Accuracy

Baselines: Negative prompt P2P ESD Concept-ablation Forget-Me-Not Inst-Inpaint SEGA X-Decoder

Builds on: Prompt-to-Prompt Null-Text Inversion WNNM Negative prompt

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