atlas

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

Concept Replacer: Replacing Sensitive Concepts in Diffusion Models via Precision Localization

CVPR 2025 · Image generation › Text-to-image diffusion · approach: Concept erasure in diffusion models · 0 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 Concept Replacer, which fine-tunes a Stable Diffusion U-Net copy as a few-shot concept localizer and uses a training-free Dual Prompts Cross-Attention to replace a sensitive concept only inside the localized region.

Problem

Existing concept removal methods for diffusion models act globally during generation and alter non-target regions, causing inconsistency with the original model's outputs.

Approach

Localize the target concept during denoising with a few-shot fine-tuned U-Net-based localizer built from cross- and self-attention maps, then apply a dual-prompt cross-attention that uses a replacing prompt only inside the mask and the original prompt elsewhere.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the Concept Replacer localizer instead of SLiMeStable Diffusion concept localization · CelebAMask-HQ 10-shotmIoU: 78.0 -> 78.1Helped
Use the Concept Replacer localizer instead of SLiMeStable Diffusion concept localization · CelebAMask-HQ 1-shotmIoU: 69.6 -> 70.2Helped
Use the Concept Replacer localizer instead of SLiMeStable Diffusion concept localization · Pascal-Car 10-shotmIoU: 68.3 -> 69.29Helped
Use the Concept Replacer localizer instead of SLiMeStable Diffusion concept localization · Pascal-Car 1-shotmIoU: 61.6 -> 64.3Helped
Apply Concept Replacer rather than Stable DiffusionStable Diffusion image generation · COCO 30KCLIP: 31.32 -> 30.67No clear effect
Use localized concept replacement rather than ESD-uStable Diffusion nudity replacement · Nudity replacement non-target regionsMSE: 99.7132 -> 45.8641Helped
Use localized concept replacement rather than ESD-uStable Diffusion nudity replacement · Nudity replacement non-target regionsPSNR: 28.1489 -> 34.1830Helped
Use localized concept replacement rather than ESD-uStable Diffusion nudity replacement · Nudity replacement non-target regionsSSIM: 0.4816 -> 0.8284Helped

Limitations

Experimental setup

Datasets: CelebAMask-HQ Pascal-Car I2P COCO

Benchmarks: CelebAMask-HQ Pascal-Car I2P COCO 30K

Metrics: mIoU NudeNet detection reduction FID-30k CLIP score MSE PSNR SSIM

Baselines: ReGAN SegDDPM SegGPT SLiMe SLD ESD-u Stable Diffusion v2.1

Builds on: SLiMe Prompt-to-Prompt DiffSegmenter Stable Diffusion ESD

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