MACE: Mass Concept Erasure in Diffusion Models
Authors:
Top Cited Papers
- 16 June 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 6430-6440
Abstract
The rapid expansion of large-scale text-to-image diffusion models has raised growing concerns regarding their potential misuse in creating harmful or misleading content. In this paper, we introduce MACE, a finetuning framework for the task of MAss Concept Erasure. This task aims to prevent models from generating images that embody unwanted concepts when prompted. Existing concept erasure methods are typically restricted to handling fewer than five concepts simultaneously and struggle to find a balance between erasing concept synonyms (generality) and maintaining unrelated concepts (specificity). In contrast, MACE differs by successfully scaling the erasure scope up to 100 concepts and by achieving an effective balance between generality and specificity. This is achieved by leveraging closed-form cross-attention refinement along with LoRA finetuning, collectively eliminating the information of undesirable concepts. Furthermore, MACE integrates multiple LoRAs without mutual interference. We conduct extensive evaluations of MACE against prior methods across four different tasks: object erasure, celebrity erasure, explicit content erasure, and artistic style erasure. Our results reveal that MACE surpasses prior methods in all evaluated tasks. Code is available at https://github.com/Shilin-LU/MACE.Keywords
All Related Versions
Funding Information
- National Research Foundation, Singapore
This publication has 23 references indexed in Scilit:
- MIGC: Multi-Instance Generation Controller for Text-to-Image Synthesis2024
- Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models2023
- Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Models2023
- High-Resolution Image Synthesis with Latent Diffusion Models2022
- On Aliased Resizing and Surprising Subtleties in GAN Evaluation2022
- Perception Prioritized Training of Diffusion Models2022
- Taming Transformers for High-Resolution Image Synthesis2021
- Rewriting a Deep Generative Model2020
- Microsoft COCO: Common Objects in Context2014
- A simple neural network generating an interactive memoryMathematical Biosciences, 1972