Roots Beneath the Cut: Uncovering the Risk of Concept Revival in Pruning-Based Unlearning for Diffusion Models
Organizations: University of Georgia · Carnegie Mellon University · Northeastern University · Stevens Institute of Technology ·
Abstract
Pruning-based unlearning has recently emerged as a fast, training-free, and data-independent approach to remove undesired concepts from diffusion models. It promises high efficiency and robustness, offering an attractive alternative to traditional fine-tuning or editing-based unlearning. However, in this paper we uncover a hidden danger behind this promising paradigm. We find that the locations of pruned weights, typically set to zero during unlearning, can act as side-channel signals that leak critical information about the erased concepts. To verify this vulnerability, we design a novel attack framework capable of reviving erased concepts from pruned diffusion models in a fully data-free and training-free manner. Our experiments confirm that pruning-based unlearning is not inherently secure, as erased concepts can be effectively revived without any additional data or retraining. Extensive experiments on diffusion-based unlearning based on concept related weights lead to the conclusion: once the critical concept-related weights in diffusion models are identified, our method can effectively recover the original concept regardless of how the weights are manipulated. Finally, we explore potential defense strategies and advocate safer pruning mechanisms that conceal pruning locations while preserving unlearning effectiveness, providing practical insights for designing more secure pruning-based unlearning frameworks.
Figures & tables
| Classes | Accuracy of Erased Class | Accuracy of Preserved Class | |||||||||||
| Pretrained [ 36 ] SD-v1.5 | Concept [ 8 ] Prune | Quant [ 47 ] Recover | Neuron Sample | Neuron Average | NMS Ours | Pretrained [ 36 ] SD-v1.5 | Concept [ 8 ] Prune | Quant [ 47 ] Recover | Neuron Sample | Neuron Average | NMS Ours | ||
| Church | 0.86 | 0.08 | 0.07 | 0.17 | 0.18 | 0.63 | 0.94 | 0.78 | 0.79 | 0.80 | 0.81 | 0.91 | |
| Golf Ball | 0.81 | 0.16 | 0.19 | 0.26 | 0.25 | 0.56 | 0.93 | 0.88 | 0.82 | 0.86 | 0.87 | 0.89 | |
| Gas Pump | 0.828 | 0.07 | 0.08 | 0.14 | 0.14 | 0.31 | 0.94 | 0.81 | 0.81 | 0.86 | 0.88 | 0.90 | |
| Parachute | 0.94 | 0.06 | 0.08 | 0.11 | 0.13 | 0.71 | 0.93 | 0.74 | 0.75 | 0.87 | 0.89 | 0.91 | |
| Chain Saw | 0.71 | 0.00 | 0.02 | 0.01 | 0.00 | 0.40 | 0.95 | 0.82 | 0.83 | 0.82 | 0.83 | 0.95 | |
| Artist | SD-v1.5 [ 36 ] | Concept Prune [ 8 ] | Quant Recover [ 47 ] | NMS (Ours) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Artist style | COCO [ 26 ] | Artist style | COCO [ 26 ] | Artist style | COCO [ 26 ] | Artist style | COCO [ 26 ] | |||||||||
| Similarity | Score | FID | Similarity | Similarity | Score | FID | Similarity | Similarity | Score | FID | Similarity | Similarity | Score | FID | Similarity | |
| Van Gogh | 0.33 | 0 | 18.4 | 0.31 | 0.27 | 0.90 | 20.80 | 0.32 | 0.27 | 0.88 | 22.62 | 0.31 | 0.33 | 0.38 | 18.57 | 0.31 |
| Picasso | 0.29 | 0.23 | 0.66 | 21.00 | 0.26 | 0.26 | 0.74 | 19.74 | 0.31 | 0.27 | 0.58 | 19.52 | 0.31 | |||
| Monet | 0.34 | 0.22 | 1.0 | 25.42 | 0.30 | 0.22 | 1.0 | 25.47 | 0.30 | 0.31 | 0.76 | 18.97 | 0.31 | |||
| Da Vinci | 0.29 | 0.25 | 0.82 | 20.61 | 0.31 | 0.26 | 0.74 | 20.22 | 0.31 | 0.27 | 0.56 | 18.98 | 0.31 | |||
| Top-K Retention | Neuron Sample | Neuron Average | NMS (Ours) |
|---|---|---|---|
| Top 1.0 | 0.25 | 0.24 | 0.46 |
| Top 0.8 | 0.34 | 0.33 | 0.75 |
| Top 0.6 | 0.26 | 0.25 | 0.56 |
| Top 0.4 | 0.26 | 0.25 | 0.58 |
| Top 0.2 | 0.19 | 0.21 | 0.34 |
| Classes | Scissorhands Unlearn | Scissorhands NMS Attack | Preserved Class Accuracy | SalUn Unlearn | SalUn NMS Attack | Preserved Class Accuracy |
|---|---|---|---|---|---|---|
| Church | 0.25 | 0.68 | 0.92 | 0.24 | 0.66 | 0.92 |
| Golf Ball | 0.23 | 0.76 | 0.93 | 0.24 | 0.80 | 0.91 |
| Gas Pump | 0.29 | 0.71 | 0.93 | 0.31 | 0.74 | 0.90 |
| Parachute | 0.20 | 0.62 | 0.91 | 0.21 | 0.65 | 0.92 |
| Chain Saw | 0.13 | 0.48 | 0.95 | 0.13 | 0.50 | 0.95 |
| French Horn | 0.13 | 0.34 | 0.90 | 0.14 | 0.44 | 0.91 |
| P1 | P2 | P3 | P4 | P5 | |
|---|---|---|---|---|---|
| R1 | 0.46 | 0.27 | 0.16 | 0.07 | 0.01 |
| R2 | 0.21 | 0.26 | 0.23 | 0.19 | 0.09 |
| R3 | 0.14 | 0.19 | 0.23 | 0.24 | 0.19 |
| R4 | 0.10 | 0.15 | 0.19 | 0.24 | 0.29 |
| R5 | 0.09 | 0.13 | 0.17 | 0.22 | 0.36 |
| K | Top-K Magnitudes’ | Rest (1-K) |
| Signs Accuracy | Signs Accuracy | |
| 0.2 | 0.96 | 0.67 |
| 0.3 | 0.94 | 0.64 |
| 0.5 | 0.88 | 0.58 |
| 0.7 | 0.81 | 0.54 |
| 0.9 | 0.75 | 0.51 |
| Method | I2P (4703) | MMA (1000) | Ring-A-Bell (101) |
|---|---|---|---|
| Pretrained SD-v1.5 | 461 | 785 | 101 |
| Concept Prune | 74 | 57 | 22 |
| Top-0.4 | 120 | 153 | 53 |
| Top-0.6 | 78 | 173 | 46 |
| Top-0.8 | 50 | 136 | 23 |
| Top-K Retention | Neuron Sample | Neuron Average | NMS (Ours) |
|---|---|---|---|
| Top 1.0 | 0.14 | 0.09 | 0.29 |
| Top 0.8 | 0.16 | 0.13 | 0.37 |
| Top 0.6 | 0.10 | 0.12 | 0.71 |
| Top 0.4 | 0.10 | 0.11 | 0.59 |
| Top 0.2 | 0.10 | 0.09 | 0.26 |
| Top-K Retention | Neuron Sample | Neuron Average | NMS (Ours) |
|---|---|---|---|
| Top 1.0 | 0.15 | 0.19 | 0.11 |
| Top 0.8 | 0.18 | 0.20 | 0.12 |
| Top 0.6 | 0.17 | 0.17 | 0.62 |
| Top 0.4 | 0.13 | 0.16 | 0.55 |
| Top 0.2 | 0.12 | 0.11 | 0.35 |
| Top-K Retention | Neuron Sample | Neuron Average | NMS (Ours) |
|---|---|---|---|
| Top 1.0 | 0.12 | 0.13 | 0.01 |
| Top 0.8 | 0.16 | 0.15 | 0.05 |
| Top 0.6 | 0.15 | 0.13 | 0.30 |
| Top 0.4 | 0.10 | 0.11 | 0.37 |
| Top 0.2 | 0.10 | 0.10 | 0.24 |
| Classes | Scissorhands Unlearn | Scissorhands NMS Attack | Preserved Class Accuracy | SalUn Unlearn | SalUn NMS Attack | Preserved Class Accuracy |
|---|---|---|---|---|---|---|
| Church | 0.25 | 0.68 | 0.92 | 0.24 | 0.66 | 0.92 |
| Golf Ball | 0.23 | 0.76 | 0.93 | 0.24 | 0.80 | 0.91 |
| Gas Pump | 0.29 | 0.71 | 0.93 | 0.31 | 0.74 | 0.90 |
| Parachute | 0.20 | 0.62 | 0.91 | 0.21 | 0.65 | 0.92 |
| Chain Saw | 0.13 | 0.48 | 0.95 | 0.13 | 0.50 | 0.95 |
| French Horn | 0.13 | 0.34 | 0.90 | 0.14 | 0.44 | 0.91 |
| Gaussian Obfuscation | Extend Defense | NMS Attack | ||||||
|---|---|---|---|---|---|---|---|---|
| Church | 0.08 | 0.09 | 0.09 | 0.08 | 0.06 | 0.00 | 0.06 | 0.08 |
| Golf Ball | 0.16 | 0.17 | 0.18 | 0.18 | 0.15 | 0.00 | 0.08 | 0.15 |
| Gas Pump | 0.07 | 0.07 | 0.09 | 0.05 | 0.03 | 0.00 | 0.01 | 0.07 |
| Parachute | 0.06 | 0.07 | 0.06 | 0.05 | 0.04 | 0.00 | 0.08 | 0.13 |
| Chain Saw | 0.00 | 0.02 | 0.04 | 0.04 | 0.05 | 0.03 | 0.01 | 0.01 |
Diffusion Model Unlearning
Diffusion model unlearning removes specified concepts or training examples from generative models while preserving unrelated generation.
See all 77 papers