Sparse autoencoders as zero-shot classifiers for concept erasure in text-to-image diffusion modelsSparse Autoencoder as a Zero-Shot Classifier for Concept Erasing in Text-to-Image Diffusion Models
Researchers propose the Interpret then Deactivate (ItD) framework, which uses sparse autoencoders (SAEs) to precisely erase target concepts in text-to-image diffusion models while maintaining overall generation performance. ItD first uses an SAE to interpret each concept as a combination of multiple features; by permanently deactivating the features related to the target concept, it turns the SAE into a zero-shot classifier to determine whether an input prompt contains the target concept, thereby achieving selective concept erasure, and it can be extended to erasing multiple concepts without further training. The authors' comprehensive experiments on concepts such as celebrity identities, artistic styles, and explicit content show that ItD can eliminate target concepts without interfering with the generation of normal concepts, and remains robust to adversarial prompts that attempt to bypass content filtering. Code is open-sourced at https://github.com/NANSirun/Interpret-then-deactivate。