atlas

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

Concept Pinpoint Eraser for Text-to-image Diffusion Models via Residual Attention Gate

ICLR 2025 · Image generation › Text-to-image diffusion · approach: Concept erasure in diffusion models

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 Concept Pinpoint Eraser (CPE), which adds nonlinear Residual Attention Gates to cross-attention key/value projections, trained with an attention anchoring loss and adversarial residual embeddings (RARE), to erase celebrities, artistic styles, and explicit content from Stable Diffusion v1.4.

Problem

Concept erasing in text-to-image diffusion models must remove target concepts while preserving diverse remaining concepts and resisting adversarial attack prompts; prior cross-attention-only fine-tuning may distort remaining concepts.

Approach

Replace purely linear cross-attention weight updates with nonlinear, text-embedding-dependent Residual Attention Gates that only activate for target concepts, regularized by an attention anchoring loss on anchor concepts and trained adversarially with learnable residual embeddings.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add ResAG modules (ablation)CPE · 50 CelebritiesACC: 9.83 -> 0.37Helped
add ResAG modules (ablation)CPE · 100 Celebrities (remaining)KID (×100): 0.34 -> 0.08Helped
add attention anchoring loss (ablation)CPE · 100 Celebrities (remaining)ACC: 72.54 -> 88.26Helped
add RARE adversarial training (ablation)CPE · 50 CelebritiesACC: 2.23 -> 0.37Helped
increase attention rank from 1 to 16 (ablation)CPE · 50 CelebritiesACC: 0.74 -> 0.37Helped
increase attention rank from 16 to 64 (ablation)CPE · 50 CelebritiesACC: 0.37 -> 0.31Helped
add anchor noise at scale 1.0 × 10^-3 (ablation)CPE without Mixup · 100 Celebrities (remaining)KID (×100): 0.19 -> 0.16Helped
apply Mixup to noisy anchor embeddings (ablation)CPE · 100 Celebrities (remaining)KID (×100): 0.16 -> 0.08Helped
use only similar expressions instead of the selected anchor combination (ablation)CPE · 100 Celebrities (remaining)KID (×100): 0.08 -> 0.22Hurt
use only similar celebrities instead of the selected anchor combination (ablation)CPE · 50 CelebritiesACC: 0.37 -> 0.63Hurt
erase explicit contents with CPE rather than RECEStable Diffusion v1.4 · I2PDetected quantity (total): 89 -> 40Helped
erase Van Gogh style with CPE rather than AdvUnlearnStable Diffusion v1.4 · Vincent van Gogh style (UnlearnDiff attack)ASR: 2 -> 0Helped

Surprising findings

Limitations

Experimental setup

Datasets: COCO-30K I2P

Benchmarks: COCO-30K I2P Ring-A-Bell UnlearnDiff

Metrics: CLIP score GIPHY Celebrity Detector accuracy FID KID NudeNet detection count attack success rate

Baselines: FMN ESD-x ESD-u UCE MACE RECE AdvUnlearn

Builds on: ESD UCE MACE RECE AdvUnlearn FMN

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