When Are Concepts Erased From Diffusion Models?

K. Lu, Nicky Kriplani, Rohit Gandikota, Minh Pham, David Bau +2 more
5/1/2025
27 citations
diffusion-flow

No official code found. Best implementation: kevinlu4588/WhenAreConceptsErased (9 stars, Python, MIT, last commit 2025-11-24). 1 more below.

Abstract

In concept erasure, a model is modified to selectively prevent it from generating a target concept. Despite the rapid development of new methods, it remains unclear how thoroughly these approaches remove the target concept from the model.

Show full abstract

We begin by proposing two conceptual models for the erasure mechanism in diffusion models: (i) interfering with the model's internal guidance processes, and (ii) reducing the unconditional likelihood of generating the target concept, potentially removing it entirely. To assess whether a concept has been truly erased from the model, we introduce a comprehensive suite of independent probing techniques: supplying visual context, modifying the diffusion trajectory, applying classifier guidance, and analyzing the model's alternative generations that emerge in place of the erased concept. Our results shed light on the value of exploring concept erasure robustness outside of adversarial text inputs, and emphasize the importance of comprehensive evaluations for erasure in diffusion models.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
kevinlu4588/WhenAreConceptsErasedCommunity9PythonMIT2025-11-24
NYU-DICE-Lab/when-are-concepts-erasedCommunity0JavaScript–2025-05-26
MIT

When are Concepts Erased from Diffusion Models? (NeurIPS 2025)

91Python, Jupyter NotebookJan 11, 20251 years agoMIT

When Are Concepts Erased From Diffusion Models?

00JavaScript, HTMLMay 22, 20251 years ago

Similar Papers

Cite this paper

@article{lu2025when,
  title  = {When Are Concepts Erased From Diffusion Models?},
  author = {K. Lu and Nicky Kriplani and Rohit Gandikota and Minh Pham and David Bau and Chinmay Hegde and Niv Cohen},
  year   = {2025},
  eprint = {2505.17013},
  archivePrefix = {arXiv},
  doi    = {10.52202/085713-0497},
  url    = {https://doi.org/10.52202/085713-0497},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.17013.svg)](https://codeofpaper.com/paper/2505.17013)

Discussion