mlsanityData to 7 Oct 2026

Robust Concept Erasure Using Task Vectors

arXiv 2404.03631 ↗First posted 4 Apr 2024cs.CVcited by 27

Not on the map. Why?

Abstract (arXiv)

With the rapid growth of text-to-image models, a variety of techniques have been suggested to prevent undesirable image generations. Yet, these methods often only protect against specific user prompts and have been shown to allow unsafe generations with other inputs. Here we focus on unconditionally erasing a concept from a text-to-image model rather than conditioning the erasure on the user's prompt. We first show that compared to input-dependent erasure methods, concept erasure that uses Task Vectors (TV) is more robust to unexpected user inputs, not seen during training. However, TV-based erasure can also affect the core performance of the edited model, particularly when the required edit strength is unknown. To this end, we propose a method called Diverse Inversion, which we use to estimate the required strength of the TV edit. Diverse Inversion finds within the model input space a large set of word embeddings, each of which induces the generation of the target concept. We find that encouraging diversity in the set makes our estimation more robust to unexpected prompts. Finally, we show that Diverse Inversion enables us to apply a TV edit only to a subset of the model weights, enhancing the erasure capabilities while better maintaining the core functionality of the model.

Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 32 of its 38 references that are in the map. First posted on arXiv 4 Apr 2024.

Builds on

32 of 38 references.

References · 32

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  5. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  6. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  7. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  8. 2016Concrete Problems in AI Safetycited by 1,582
  9. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
  10. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
  11. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  12. 2022Editing Models with Task Arithmeticcited by 1,076
20 more
  1. 2022Red Teaming Language Models with Language Modelscited by 983
  2. 2021Robust fine-tuning of zero-shot modelscited by 785
  3. 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
  4. 2021Merging Models with Fisher-Weighted Averagingcited by 613
  5. 2023Erasing Concepts from Diffusion Modelscited by 530
  6. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 501
  7. 2023Unified Concept Editing in Diffusion Modelscited by 377
  8. 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 312
  9. 2023Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Modelscited by 297
  10. 2022Red-Teaming the Stable Diffusion Safety Filtercited by 257
  11. 2023Ring-A-Bell! How Reliable are Concept Removal Methods for Diffusion Models?cited by 239
  12. 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
  13. 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 187
  14. 2022Patching open-vocabulary models by interpolating weightscited by 187
  15. 2023Selective Amnesia: A Continual Learning Approach to Forgetting in Deep Generative Modelscited by 175
  16. 2023Fundamental Limitations of Alignment in Large Language Modelscited by 152
  17. 2020Towards a Mathematical Understanding of Neural Network-Based Machine Learning: what we know and what we don'tcited by 94
  18. 2023Circumventing Concept Erasure Methods For Text-to-Image Generative Modelscited by 81
  19. 2023Can Neural Network Memorization Be Localized?cited by 66
  20. 2023Jailbreaking GPT-4V via Self-Adversarial Attacks with System Promptscited by 62

Built on by

Cited by year (2026 to 7 Oct)

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

27 papers.

Sort:

By area:

  1. 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 164
  2. 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generationcited by 125
  3. 2024Rethinking LLM Memorization through the Lens of Adversarial Compressioncited by 91
  4. 2024Meta-Unlearning on Diffusion Models: Preventing Relearning Unlearned Conceptscited by 39
  5. 2024TraSCE: Trajectory Steering for Concept Erasurecited by 25
  6. 2025CURE: Concept Unlearning via Orthogonal Representation Editing in Diffusion Modelscited by 24
  7. 2025Distilling Diversity and Control in Diffusion Modelscited by 21
  8. 2025Representation Engineering for Large-Language Models: Survey and Research Challengescited by 18
  9. 2024Espresso: Robust Concept Filtering in Text-to-Image Modelscited by 14
  10. 2025When Are Concepts Erased From Diffusion Models?cited by 14
  11. 2025Yuan: Yielding Unblemished Aesthetics Through A Unified Network for Visual Imperfections Removal in Generated Imagescited by 13
  12. 2024Replication in Visual Diffusion Models: A Survey and Outlookcited by 11
15 more
  1. 2025Concept Corrector: Erase concepts on the fly for text-to-image diffusion modelscited by 11
  2. 2024AdvI2I: Adversarial Image Attack on Image-to-Image Diffusion modelscited by 10
  3. 2025Erasing Concepts, Steering Generations: A Comprehensive Survey of Concept Suppressioncited by 10
  4. 2024Memories of Forgotten Conceptscited by 9
  5. 2025ACE: Concept Editing in Diffusion Models without Performance Degradationcited by 6
  6. 2025BADTV: Unveiling Backdoor Threats in Third-Party Task Vectorscited by 3
  7. 2025SolidMark: Evaluating Image Memorization in Generative Modelscited by 3
  8. 2025Now You See It, Now You Don't - Instant Concept Erasure for Safe Text-to-Image and Video Generationcited by 3
  9. 2026ActErase: A Training-Free Paradigm for Precise Concept Erasure via Activation Redirectioncited by 2
  10. 2026Localized Concept Erasure in Text-to-Image Diffusion Models via High-Level Representation Misdirectioncited by 2
  11. 2024Dark Miner: Defend against undesirable generation for text-to-image diffusion modelscited by 0
  12. 2024Opt-In Art: Learning Art Styles Only from Few Examplescited by 0
  13. 2026CoreUnlearn: Rethinking Concept Unlearning through Disentangled Component-Level Erasure in Text-guided Diffusion Modelscited by 0
  14. 2026MapRoute++: Surrogate-Guided Semantic Routing for Visual Concept Unlearningcited by 0
  15. 2026Continual Concept Erasure in Diffusion Models by Suppressing Cross-Edit Interferencecited by 0