Erasing Undesirable Concepts in Diffusion Models with Adversarial Preservation

Anh Bui, Long Vuong, Khanh Doan, Trung Le, Paul Montague, Tamas Abraham, Dinh Phung

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

Diffusion models excel at generating visually striking content from text but can inadvertently produce undesirable or harmful content when trained on unfiltered internet data. A practical solution is to selectively removing target concepts from the model, but this may impact the remaining concepts. Prior approaches have tried to balance this by introducing a loss term to preserve neutral content or a regularization term to minimize changes in the model parameters, yet resolving this trade-off remains challenging. In this work, we propose to identify and preserving concepts most affected by parameter changes, termed as adversarial concepts. This approach ensures stable erasure with minimal impact on the other concepts. We demonstrate the effectiveness of our method using the Stable Diffusion model, showing that it outperforms state-of-the-art erasure methods in eliminating unwanted content while maintaining the integrity of other unrelated elements. Our code is available at https://github.com/tuananhbui89/Erasing-Adversarial-Preservation.

Original languageEnglish
Title of host publicationNeurIPS Proceedings - Advances in Neural Information Processing Systems 37 (NeurIPS 2024)
EditorsA. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, C. Zhang
Place of PublicationSan Diego CA USA
PublisherNeural Information Processing Systems (NIPS)
Number of pages29
ISBN (Electronic)9798331314385
Publication statusPublished - 2024
EventAdvances in Neural Information Processing Systems 2024 - Vancouver, Canada
Duration: 10 Dec 202415 Dec 2024
Conference number: 38th
https://neurips.cc/ (Website)
https://openreview.net/group?id=NeurIPS.cc/2024/Conference#tab-accept-oral (Peer Reviews)
https://proceedings.neurips.cc/paper_files/paper/2024 (Proceedings - NeurIPS Proceedings)

Publication series

NameAdvances in Neural Information Processing Systems
PublisherNeural Information Processing Systems (NIPS)
Volume37
ISSN (Electronic)1049-5258

Conference

ConferenceAdvances in Neural Information Processing Systems 2024
Abbreviated titleNeurIPS 2024
Country/TerritoryCanada
CityVancouver
Period10/12/2415/12/24
Internet address

Cite this