JadenFK commited on
Commit
827dd78
1 Parent(s): 1973399

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Erasing Concepts from Diffusion Models
3
+ emoji: 💡
4
+ colorFrom: indigo
5
+ colorTo: gray
6
+ sdk: static
7
+ pinned: false
8
+ ---
9
+
10
+ # Erasing Concepts from Diffusion Models
11
+
12
+ Project Website [https://erasing.baulab.info](https://erasing.baulab.info) <br>
13
+ Arxiv Preprint [https://arxiv.org/pdf/2303.07345.pdf](https://arxiv.org/pdf/2303.07345.pdf) <br>
14
+ Fine-tuned Weights [https://erasing.baulab.info/weights/esd_models/](https://erasing.baulab.info/weights/esd_models/) <br>
15
+ <div align='center'>
16
+ <img src = 'images/applications.png'>
17
+ </div>
18
+
19
+ Motivated by recent advancements in text-to-image diffusion, we study erasure of specific concepts from the model's weights. While Stable Diffusion has shown promise in producing explicit or realistic artwork, it has raised concerns regarding its potential for misuse. We propose a fine-tuning method that can erase a visual concept from a pre-trained diffusion model, given only the name of the style and using negative guidance as a teacher. We benchmark our method against previous approaches that remove sexually explicit content and demonstrate its effectiveness, performing on par with Safe Latent Diffusion and censored training.
20
+
21
+ To evaluate artistic style removal, we conduct experiments erasing five modern artists from the network and conduct a user study to assess the human perception of the removed styles. Unlike previous methods, our approach can remove concepts from a diffusion model permanently rather than modifying the output at the inference time, so it cannot be circumvented even if a user has access to model weights
22
+
23
+ Given only a short text description of an undesired visual concept and no additional data, our method fine-tunes model weights to erase the targeted concept. Our method can avoid NSFW content, stop imitation of a specific artist's style, or even erase a whole object class from model output, while preserving the model's behavior and capabilities on other topics.
24
+
25
+ ## Fine-tuned Weights
26
+
27
+ The finetuned weights for both NSFW and art style erasures are available on our [project page](https://erasing.baulab.info).
28
+
29
+ ## Citing our work
30
+ The preprint can be cited as follows
31
+ ```
32
+ @article{gandikota2023erasing,
33
+ title={Erasing Concepts from Diffusion Models},
34
+ author={Rohit Gandikota and Joanna Materzy\'nska and Jaden Fiotto-Kaufman and David Bau},
35
+ journal={arXiv preprint arXiv:2303.07345},
36
+ year={2023}
37
+ }
38
+ ```