mlsanityData to 7 Oct 2026

Erasing Concepts from Text-to-Image Diffusion Models with Few-shot Unlearning

arXiv 2405.07288 ↗First posted 12 May 2024cs.CV cs.LGcited by 29

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

also in 1 more
Abstract (arXiv)

Generating images from text has become easier because of the scaling of diffusion models and advancements in the field of vision and language. These models are trained using vast amounts of data from the Internet. Hence, they often contain undesirable content such as copyrighted material. As it is challenging to remove such data and retrain the models, methods for erasing specific concepts from pre-trained models have been investigated. We propose a novel concept-erasure method that updates the text encoder using few-shot unlearning in which a few real images are used. The discussion regarding the generated images after erasing a concept has been lacking. While there are methods for specifying the transition destination for concepts, the validity of the specified concepts is unclear. Our method implicitly achieves this by transitioning to the latent concepts inherent in the model or the images. Our method can erase a concept within 10 s, making concept erasure more accessible than ever before. Implicitly transitioning to related concepts leads to more natural concept erasure. We applied the proposed method to various concepts and confirmed that concept erasure can be achieved tens to hundreds of times faster than with current methods. By varying the parameters to be updated, we obtained results suggesting that, like previous research, knowledge is primarily accumulated in the feed-forward networks of the text encoder. Our code is available at urlhttps://github.com/fmp453/few-shot-erasing

Key facts. Cited by 29 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 57 of its 72 references that are in the map. First posted on arXiv 12 May 2024.

Builds on

57 of 72 references.

Closest ancestors · 11

Same direction, newest first

  1. 2024MACE: Mass Concept Erasure in Diffusion Models10 Mar
  2. 2024Separable Multi-Concept Erasure from Diffusion Models3 Feb
  3. 2023One-Dimensional Adapter to Rule Them All: Concepts, Diffusion Models and Erasing Applications26 Dec
  4. 2023Receler: Reliable Concept Erasing of Text-to-Image Diffusion Models via Lightweight Erasers29 Nov
  5. 2023SalUn: Empowering Machine Unlearning via Gradient-based Weight Saliency in Both Image Classification and Generation19 Oct
  6. 2023Unified Concept Editing in Diffusion Models25 Aug
  7. 2023Towards Safe Self-Distillation of Internet-Scale Text-to-Image Diffusion Models12 Jul
  8. 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models30 Mar
  9. 2023Ablating Concepts in Text-to-Image Diffusion Models23 Mar
  10. 2023Erasing Concepts from Diffusion Models13 Mar
  11. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov

Other references · 46

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,029
  7. 2020Denoising Diffusion Implicit Modelscited by 9,655
  8. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  9. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  10. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  11. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  12. 2022Classifier-Free Diffusion Guidancecited by 5,717
34 more
  1. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  2. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  3. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,094
  4. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
  5. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
  6. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,609
  7. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  8. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  9. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  10. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  11. 2021Cascaded Diffusion Models for High Fidelity Image Generationcited by 1,155
  12. 2022Editing Models with Task Arithmeticcited by 1,076
  13. 2022Pseudo Numerical Methods for Diffusion Models on Manifoldscited by 695
  14. 2021Knowledge Neurons in Pretrained Transformerscited by 590
  15. 2022Fast Sampling of Diffusion Models with Exponential Integratorcited by 526
  16. 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Modelscited by 424
  17. 2023ELITE: Encoding Visual Concepts into Textual Embeddings for Customized Text-to-Image Generationcited by 414
  18. 2023EVA-02: A Visual Representation for Neon Genesiscited by 377
  19. 2023Rethinking FID: Towards a Better Evaluation Metric for Image Generationcited by 303
  20. 2023Emu: Enhancing Image Generation Models Using Photogenic Needles in a Haystackcited by 278
  21. 2021Unrolling SGD: Understanding Factors Influencing Machine Unlearningcited by 274
  22. 2023Subject-driven Text-to-Image Generation via Apprenticeship Learningcited by 210
  23. 2023Model Sparsity Can Simplify Machine Unlearningcited by 206
  24. 2020fastai: A Layered API for Deep Learningcited by 183
  25. 2023Selective Amnesia: A Continual Learning Approach to Forgetting in Deep Generative Modelscited by 175
  26. 2023RAPHAEL: Text-to-Image Generation via Large Mixture of Diffusion Pathscited by 141
  27. 2022Calibrating Factual Knowledge in Pretrained Language Modelscited by 92
  28. 2023Toward Verifiable and Reproducible Human Evaluation for Text-to-Image Generationcited by 66
  29. 2023Localizing and Editing Knowledge in Text-to-Image Generative Modelscited by 52
  30. 2022Kformer: Knowledge Injection in Transformer Feed-Forward Layerscited by 37
  31. 2024A Survey on Personalized Content Synthesis with Diffusion Modelscited by 29
  32. 2023Gradient-Free Textual Inversioncited by 28
  33. 2024TextCraftor: Your Text Encoder Can be Image Quality Controllercited by 27
  34. 2022Neural Attentive Circuitscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 11; 2025: 11; 2026: 7.

29 papers.

Sort:

By area:

  1. 2025Safety at Scale: A Comprehensive Survey of Large Model and Agent Safetycited by 63
  2. 2025Set You Straight: Auto-Steering Denoising Trajectories to Sidestep Unwanted Conceptscited by 61
  3. 2024Attacks and Defenses for Generative Diffusion Models: A Comprehensive Surveycited by 32
  4. 2024When Machine Unlearning Meets Retrieval-Augmented Generation (RAG): Keep Secret or Forget Knowledge?cited by 20
  5. 2024CLIPErase: Efficient Unlearning of Visual-Textual Associations in CLIPcited by 19
  6. 2024MU-Bench: A Multitask Multimodal Benchmark for Machine Unlearningcited by 16
  7. 2024Unstable Unlearning: The Hidden Risk of Concept Resurgence in Diffusion Modelscited by 14
  8. 2024Text Guided Image Editing with Automatic Concept Locating and Forgettingcited by 12
  9. 2024Unlearning or Concealment? A Critical Analysis and Evaluation Metrics for Unlearning in Diffusion Modelscited by 12
  10. 2025Erasing More Than Intended? How Concept Erasure Degrades the Generation of Non-Target Conceptscited by 12
  11. 2025VideoEraser: Concept Erasure in Text-to-Video Diffusion Modelscited by 12
  12. 2025Erasing Concepts, Steering Generations: A Comprehensive Survey of Concept Suppressioncited by 10
17 more
  1. 2025MLLMEraser: Achieving Test-Time Unlearning in Multimodal Large Language Models through Activation Steeringcited by 9
  2. 2024Unlearning Concepts from Text-to-Video Diffusion Modelscited by 6
  3. 2024How Data Inter-connectivity Shapes LLMs Unlearning: A Structural Unlearning Perspectivecited by 5
  4. 2026OrthoEraser: Coupled-Neuron Orthogonal Projection for Concept Erasurecited by 3
  5. 2024Red-Teaming Text-to-Image Models via In-Context Experience Replay and Semantic-Preserving Prompt Rewritingcited by 1
  6. 2025SecureT2I: No More Unauthorized Manipulation on AI Generated Images from Promptscited by 1
  7. 2025Beyond Fixed Anchors: Precisely Erasing Concepts with Sibling Exclusive Counterpartscited by 1
  8. 2025Rethinking Robust Adversarial Concept Erasure in Diffusion Modelscited by 1
  9. 2025Coffee: Controllable Diffusion Fine-tuningcited by 1
  10. 2026Evaluation without Generation: Non-Generative Assessment of Harmful Model Specialization with Applications to CSAMcited by 1
  11. 2026P2-DPO: Grounding Hallucination in Perceptual Processing via Calibration Direct Preference Optimizationcited by 1
  12. 2026Semantic Steering for Controllable Generation: Tuning-Free Concept Erasure in Multimodal Diffusion Transformerscited by 1
  13. 2024FameBias: Embedding Manipulation Bias Attack in Text-to-Image Modelscited by 0
  14. 2025Few-Shot Concept Unlearning with Low Rank Adaptationcited by 0
  15. 2026Why Instruction-Based Unlearning Fails in Diffusion Models?cited by 0
  16. 2026CoreUnlearn: Rethinking Concept Unlearning through Disentangled Component-Level Erasure in Text-guided Diffusion Modelscited by 0
  17. 2026A Survey on Adversarial Attacks and Defenses for Diffusion Models Across Multiple Modalitiescited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Concept Corrector: Erase concepts on the fly for text-to-image diffusion models
  2. 2024Reliable and Efficient Concept Erasure of Text-to-Image Diffusion Models
  3. 2026Erasing Thousands of Concepts: Towards Scalable and Practical Concept Erasure for Text-to-Image Diffusion Models
  4. 2025Localized Concept Erasure for Text-to-Image Diffusion Models Using Training-Free Gated Low-Rank Adaptation
  5. 2023All but One: Surgical Concept Erasing with Model Preservation in Text-to-Image Diffusion Models
  6. 2025Semantic Surgery: Zero-Shot Concept Erasure in Diffusion Models
  7. 2026Compensation-free Machine Unlearning in Text-to-Image Diffusion Models by Eliminating the Mutual Information
  8. 2024Precise, Fast, and Low-cost Concept Erasure in Value Space: Orthogonal Complement Matters