ConceptPrune: Concept Editing in Diffusion Models via Skilled Neuron Pruning

Abstract

While large-scale text-to-image diffusion models have demonstrated impressive image-generation capabilities, there are significant concerns about their potential misuse for generating unsafe content, violating copyright, and perpetuating societal biases. Recently, the text-to-image generation community has begun addressing these concerns by editing or unlearning undesired concepts from pre-trained models. However, these methods often involve data-intensive and inefficient fine-tuning or utilize various forms of token remapping, rendering them susceptible to adversarial jailbreaks. In this paper, we present a simple and effective training-free approach, ConceptPrune, wherein we first identify critical regions within pre-trained models responsible for generating undesirable concepts, thereby facilitating straightforward concept unlearning via weight pruning. Experiments across a range of concepts including artistic styles, nudity, and object erasure demonstrate that target concepts can be efficiently erased by pruning a tiny fraction, approximately 0.12% of total weights, enabling multi-concept erasure and robustness against various white-box and black-box adversarial attacks.

Cite

Text

Chavhan et al. "ConceptPrune: Concept Editing in Diffusion Models via Skilled Neuron Pruning." International Conference on Learning Representations, 2025.

Markdown

[Chavhan et al. "ConceptPrune: Concept Editing in Diffusion Models via Skilled Neuron Pruning." International Conference on Learning Representations, 2025.](https://mlanthology.org/iclr/2025/chavhan2025iclr-conceptprune/)

BibTeX

@inproceedings{chavhan2025iclr-conceptprune,
  title     = {{ConceptPrune: Concept Editing in Diffusion Models via Skilled Neuron Pruning}},
  author    = {Chavhan, Ruchika and Li, Da and Hospedales, Timothy},
  booktitle = {International Conference on Learning Representations},
  year      = {2025},
  url       = {https://mlanthology.org/iclr/2025/chavhan2025iclr-conceptprune/}
}