atlas

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

All but One: Surgical Concept Erasing with Model Preservation in Text-to-Image Diffusion Models

AAAI 2024 · Image generation › Text-to-image diffusion · approach: Concept erasure in diffusion models · 16 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 a surgical fine-tuning method for concept erasing in Stable Diffusion that updates only the classifier-guidance term for the target concept while regularizing the unconditional score to preserve the model's utility.

Problem

Concept erasure fine-tuning in text-to-image diffusion models (e.g., removing nudity) severely degrades model utility: corrupted feature space, spatial/semantic drift from the same seed, and utility harm from many update steps.

Approach

Decompose the conditional score via classifier guidance and update only the guidance term for the erased concept (toward a user-chosen replacement concept), while a Lagrangian-derived penalty with stop-gradient anchors the unconditional score to the original checkpoint; the penalty weight lambda controls erasure-preservation trade-off.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use surgical concept-score updates with unconditional-score regularizationOurs vs. Stable Diffusion v1.4 · Nudity erasure / COCO utilityFID: 13.59 -> 13.19Helped
Use surgical concept-score updates with unconditional-score regularizationOurs vs. Stable Diffusion v1.4 · Nudity erasure / COCO utilitySSIMHelped
Use surgical concept-score updates with unconditional-score regularizationOurs vs. ESD · Nudity erasure / COCO utilityNudeNet (%): 0.04 -> 0.33Hurt
Use surgical concept-score updates with unconditional-score regularizationOurs vs. ESD · Nudity erasure / COCO utilityKID: 0.00421 -> 0.00447Hurt
Increase the unconditional-score regularization coefficient to λ=1.5 (ablation)Ours · Nudity erasurespatial consistencyHelped
Increase the unconditional-score regularization coefficient to λ=1.5 (ablation)Ours · Nudity erasureerasure strengthHurt
Set the unconditional-score regularization coefficient to λ=0 (ablation)Ours · DDIM inversion concept purificationconcept erasureHelped
Use explicit guidance instead of implicit Prompt-to-Prompt guidance (ablation)Ours · Nudity erasuresample qualityHelped
Update the attention to-out layer rather than attention-map-producing weights (ablation)Ours · 1,000 random objectsSSIMHelped
Use cross-attention and to-out layers rather than cross-attention alone (ablation)Ours · 1,000 random objectsSSIMHelped
Train with 200 update steps rather than 1,000 or moreOurs vs. ESD and SDD · Nudity erasuretraining iterations: 200 vs. 1,000 or moreHelped

Surprising findings

Limitations

Experimental setup

Datasets: MS-COCO captions (for evaluation image generation)

Benchmarks: MS-COCO

Metrics: NudeNet score FID KID CLIP score SSIM

Baselines: ESD SDD Ablating Concepts Forget-Me-Not

Builds on: Erased Stable Diffusion (ESD) classifier-free guidance Ablating Concepts Semantic Guidance (SEGA) Prompt-to-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