atlas

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

Direct Unlearning Optimization for Robust and Safe Text-to-Image Models

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

Proposes DUO, which removes NSFW visual concepts from text-to-image diffusion models by applying Diffusion-DPO on SDEdit-generated safe/unsafe image pairs plus an output-preserving prior regularizer, making it robust to prompt-based red teaming.

Problem

Prompt-based unlearning in text-to-image diffusion models is easily bypassed by adversarial prompts and embeddings, so unsafe content (nudity, violence) can still be generated.

Approach

Reformulate image-based unlearning as preference optimization: unsafe images are dispreferred and SDEdit-generated paired safe images (same layout, concept removed) are preferred, trained with Diffusion-DPO, plus an output-preserving loss at pure noise x_T to retain prior generation ability.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add output-preserving regularization (ablation)DUO · MS COCO generation during nudity unlearningprior preservationHelped
Remove output-preserving regularization (ablation)DUO · MS COCO generation during unlearningimage recognizabilityHurt
Decrease β toward 0 (ablation)DUO · Unrelated-concept generationimage qualityHurt
Increase synthesized image pairs from fewer than 64 to 64 (ablation)DUO · Ring-A-Bell nudityDefense Success RateHelped
Increase synthesized image pairs beyond 64 (ablation)DUO · Ring-A-Bell nudityPareto curveNo clear effect
Use SDEdit-generated paired safe images instead of prompt substitution (ablation)DUO image-pair construction · Paired image synthesis for concept unlearningpreservation of unrelated visual featuresHelped
Use DUO instead of baseline unlearning methodsStable Diffusion 1.4 nudity unlearning · MS COCO 30kFID: 13.52 -> 13.65Mixed
Use DUO instead of baseline unlearning methodsStable Diffusion 1.4 violence unlearning · MS COCO 30kFID: 13.52 -> 13.37Helped
Apply DUO to Stable Diffusion 3Stable Diffusion 3 · MS COCO, nudityFID: 21.83 -> 20.49Helped

Surprising findings

Limitations

Experimental setup

Datasets: MS COCO 30k validation i2p benchmark Ring-A-Bell prompts SneakyPrompt prompts

Benchmarks: Ring-A-Bell SneakyPrompt Concept Inversion UnlearnDiffAtk MS COCO 30k

Metrics: defense success rate FID CLIP score LPIPS prior preservation

Baselines: ESD UCE SPM SafeGen Ring-A-Bell SneakyPrompt Concept Inversion UnlearnDiffAtk

Builds on: Direct Preference Optimization Diffusion-DPO SDEdit ESD SPM

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