mlsanityData to 7 Oct 2026

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

arXiv 2412.01244 ↗First posted 2 Dec 2024cs.CVcited by 9

On the map: Diffusion models → Robustness, privacy and adversarial aspects

Abstract (arXiv)

As large-scale diffusion models continue to advance, they excel at producing high-quality images but often generate unwanted content, such as sexually explicit or violent content. Existing methods for concept removal generally guide the image generation process but can unintentionally modify unrelated regions, leading to inconsistencies with the original model. We propose a novel approach for targeted concept replacing in diffusion models, enabling specific concepts to be removed without affecting non-target areas. Our method introduces a dedicated concept localizer for precisely identifying the target concept during the denoising process, trained with few-shot learning to require minimal labeled data. Within the identified region, we introduce a training-free Dual Prompts Cross-Attention (DPCA) module to substitute the target concept, ensuring minimal disruption to surrounding content. We evaluate our method on concept localization precision and replacement efficiency. Experimental results demonstrate that our method achieves superior precision in localizing target concepts and performs coherent concept replacement with minimal impact on non-target areas, outperforming existing approaches.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 46 of its 51 references that are in the map. First posted on arXiv 2 Dec 2024.

Builds on

46 of 51 references.

Closest ancestors · 8

Same direction, newest first

  1. 2024MACE: Mass Concept Erasure in Diffusion Models10 Mar
  2. 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generation19 Oct
  3. 2023Unified Concept Editing in Diffusion Models25 Aug
  4. 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
  5. 2023Ablating Concepts in Text-to-Image Diffusion Models23 Mar
  6. 2023Erasing Concepts from Diffusion Models13 Mar
  7. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov
  8. 2022Red-Teaming the Stable Diffusion Safety Filter3 Oct

Other references · 38

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  7. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  8. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  9. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  10. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  11. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  12. 2022InstructPix2Pix: Learning to Follow Image Editing Instructionscited by 2,591
26 more
  1. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  2. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
  3. 2021Conceptual 12M: Pushing Web-Scale Image-Text Pre-Training To Recognize Long-Tail Visual Conceptscited by 1,209
  4. 2022Imagic: Text-Based Real Image Editing with Diffusion Modelscited by 1,172
  5. 2022eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoiserscited by 921
  6. 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 897
  7. 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Modelscited by 696
  8. 2022DiffEdit: Diffusion-based semantic image editing with mask guidancecited by 643
  9. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
  10. 2019MaskGAN: Towards Diverse and Interactive Facial Image Manipulationcited by 624
  11. 2021Label-Efficient Semantic Segmentation with Diffusion Modelscited by 495
  12. 2022Make-A-Scene: Scene-Based Text-to-Image Generation with Human Priorscited by 487
  13. 2022Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesiscited by 386
  14. 2022CogView2: Faster and Better Text-to-Image Generation via Hierarchical Transformerscited by 305
  15. 2014Detect What You Can: Detecting and Representing Objects using Holistic Models and Body Partscited by 230
  16. 2022Versatile Diffusion: Text, Images and Variations All in One Diffusion Modelcited by 199
  17. 2023SegGPT: Segmenting Everything In Contextcited by 193
  18. 2023TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Compositioncited by 182
  19. 2023Selective Amnesia: A Continual Learning Approach to Forgetting in Deep Generative Modelscited by 175
  20. 2023Localizing Object-level Shape Variations with Text-to-Image Diffusion Modelscited by 142
  21. 2021Repurposing GANs for One-shot Semantic Part Segmentationcited by 88
  22. 2023Diffusion Model is Secretly a Training-free Open Vocabulary Semantic Segmentercited by 76
  23. 2023Focus on Your Instruction: Fine-grained and Multi-instruction Image Editing by Attention Modulationcited by 61
  24. 2023Harnessing the Spatial-Temporal Attention of Diffusion Models for High-Fidelity Text-to-Image Synthesiscited by 51
  25. 2023Watch Your Steps: Local Image and Scene Editing by Text Instructionscited by 50
  26. 2023SLiMe: Segment Like Mecited by 34

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 3.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Unlearning Concepts in Diffusion Model via Concept Domain Correction and Concept Preserving Gradient
  2. 2025TRACE: Trajectory-Constrained Concept Erasure in Diffusion Models
  3. 2025Localized Concept Erasure for Text-to-Image Diffusion Models Using Training-Free Gated Low-Rank Adaptation
  4. 2026Erasing Without Collateral Damage: Precise Concept Removal in Diffusion Models
  5. 2025Concept Corrector: Erase concepts on the fly for text-to-image diffusion models
  6. 2025SPEED: Scalable, Precise, and Efficient Concept Erasure for Diffusion Models
  7. 2026Forget Many, Forget Right: Scalable and Precise Concept Unlearning in Diffusion Models
  8. 2025ACE: Attentional Concept Erasure in Diffusion Models