Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

ConceptPrune: Concept Editing in Diffusion Models via Skilled Neuron Pruning

About

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, object erasure, and gender debiasing 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.

Ruchika Chavhan, Da Li, Timothy Hospedales• 2024

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationMS-COCO (val)
FID29.56
202
Artistic Style ErasureSD Target Class artistic styles 1.4 (test)
Erased Accuracy24.5
36
Artistic Style ErasureSD Other Class artistic styles 1.4 (test)
Preservation Drop8.9
36
Concept UnlearningUnlearnDiffAtk
UnlearnDiffAtk64.8
36
Artistic Style RevivalArtist style
Similarity27
24
Concept ErasureP4D
ASR39.1
23
Image GenerationMS-COCO 30k (val)
FID18.4
22
General Generation FidelityCOCO
Similarity Score32
20
Text-to-Image AlignmentMS-COCO
CLIP Score27.93
20
Concept UnlearningRing-a-Bell
Ring-A-Bell Score59.8
20
Showing 10 of 46 rows

Other info

Follow for update