Reliable and Efficient Concept Erasure (RECE) for text-to-image diffusion modelsReliable and Efficient Concept Erasure of Text-to-Image Diffusion Models
The paper proposes the RECE method, which uses a closed-form solution to erase inappropriate concepts from text-to-image diffusion models within 3 seconds without additional fine-tuning, to address safety issues such as copyright and NSFW content. The method first derives a new target embedding that can regenerate the erased concept within the post-erasure model, then aligns it with harmless concepts in the cross-attention layers to eliminate inappropriate content the embedding may carry; derivation and erasure are iterated to achieve thorough erasure, and a regularization term reduces the impact on unrelated concepts and preserves generation capability. The authors claim that compared with existing methods, RECE erases more efficiently and thoroughly, causes less damage to original generation capability, and shows stronger robustness to red-teaming tools. Code is open-sourced at https://github.com/CharlesGong12/RECE。