atlas

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

Self-Discovering Interpretable Diffusion Latent Directions for Responsible Text-to-Image Generation

CVPR 2024 · Image generation › Text-to-image diffusion · approach: Concept erasure in diffusion models · 30 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.

Learns interpretable latent concept vectors in the Stable Diffusion U-Net h-space via self-supervised reconstruction, then adds them at inference to improve fairness, safety, and responsible text-guided generation.

Problem

Diffusion text-to-image models generate biased or harmful content, and existing h-space direction-discovery methods cannot find directions for arbitrary (especially ethical or safety) concepts without human interpretation, labeled data, or external attribute classifiers.

Approach

Optimize a concept vector added to the frozen diffusion U-Net bottleneck so that reconstructing images generated with a concept-specific prompt from a prompt missing that concept has minimal loss; the vector thus captures the missing concept without labels or external classifiers. Sampling or adding these vectors at inference then mitigates bias and unsafe content.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use uniformly sampled learned gender vectors during generationStable Diffusion v1.4 · Winobias (Gender)deviation ratio: 0.68 -> 0.17Helped
Use uniformly sampled learned gender vectors during generationStable Diffusion v1.4 · Winobias extended (Gender+)deviation ratio: 0.70 -> 0.23Helped
Use uniformly sampled learned race vectors during generationStable Diffusion v1.4 · Winobias (Race)deviation ratio: 0.56 -> 0.23Helped
Use uniformly sampled learned race vectors during generationStable Diffusion v1.4 · Winobias extended (Race+)deviation ratio: 0.48 -> 0.20Helped
Add anti-sexual and anti-violence concept vectorsStable Diffusion · I2Pproportion classified as inappropriate: 0.41 ±0.007 -> 0.27 ±0.006Helped
Add anti-sexual and anti-violence concept vectorsSLD · I2Pproportion classified as inappropriate: 0.20 ±0.006 -> 0.16 ±0.005Mixed
Add anti-sexual and anti-violence concept vectorsESD · I2Pproportion classified as inappropriate: 0.32 ±0.007 -> 0.27 ±0.006Helped
Activate the ethical concept vector specified by the promptStable Diffusion v1.4 · Responsible-concept promptsdeviation ratio (Gender): 0.2199 -> 0.1433Helped
Activate the ethical concept vector specified by the promptStable Diffusion v1.4 · Responsible-concept promptsdeviation ratio (Race): 0.1600 -> 0.1399Helped
Activate the ethical concept vector specified by the promptStable Diffusion v1.4 · Responsible-concept promptssexual content detection rate: 0.4300 -> 0.2640Helped
Activate the ethical concept vector specified by the promptStable Diffusion v1.4 · Responsible-concept promptsviolent content detection rate: 0.4551 -> 0.3204Helped
Add safety concept vectorsStable Diffusion · COCO-30KFID: 14.09 -> 15.98Hurt

Limitations

Experimental setup

Datasets: Winobias I2P COCO-30K

Benchmarks: Winobias I2P COCO-30K

Metrics: deviation ratio attack/inappropriate proportion via NudeNet and Q16 FID CLIP score

Baselines: SD UCE SLD ESD

Builds on: h-space semantic directions (Kwon et al.) unified concept editing (UCE) safe latent diffusion (SLD) erased stable diffusion (ESD) classifier-free guidance

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