Prototype-Guided Concept Erasure in Diffusion Models

Yuze Cai, Jiahao Lu, Hongxiang Shi, Yichao Zhou, Hong Lu
3/9/2026
cs.CV

No official code found. Best implementation: Cocteau-23/Prototype-Guided-Concept-Erasure (8 stars, last commit 2026-03-06).

Abstract

Concept erasure is extensively utilized in image generation to prevent text-to-image models from generating undesired content. Existing methods can effectively erase narrow concepts that are specific and concrete, such as distinct intellectual properties (e.g. Pikachu) or recognizable characters (e.g. Elon Musk). However, their performance degrades on broad concepts such as ``sexual'' or ``violent'', whose wide scope and multi-faceted nature make them difficult to erase reliably. To overcome this limitation, we exploit the model's intrinsic embedding geometry to identify latent embeddings that encode a given concept. By clustering these embeddings, we derive a set of concept prototypes that summarize the model's internal representations of the concept, and employ them as negative conditioning signals during inference to achieve precise and reliable erasure. Extensive experiments across multiple benchmarks show that our approach achieves substantially more reliable removal of broad concepts while preserving overall image quality, marking a step towards safer and more controllable image generation.

View on arXivView PDF

Code Implementations(1)

(CVPR 2026) "Prototype-Guided Concept Erasure in Diffusion Models"

81Shell, PythonMar 6, 20267 months ago

Similar Papers

Cite this paper

@article{cai2026prototypeguided,
  title  = {Prototype-Guided Concept Erasure in Diffusion Models},
  author = {Yuze Cai and Jiahao Lu and Hongxiang Shi and Yichao Zhou and Hong Lu},
  year   = {2026},
  eprint = {2603.08271},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.08271v1}
}

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/2603.08271.svg)](https://codeofpaper.com/paper/2603.08271)

Discussion