Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models

About

The unlearning problem of deep learning models, once primarily an academic concern, has become a prevalent issue in the industry. The significant advances in text-to-image generation techniques have prompted global discussions on privacy, copyright, and safety, as numerous unauthorized personal IDs, content, artistic creations, and potentially harmful materials have been learned by these models and later utilized to generate and distribute uncontrolled content. To address this challenge, we propose \textbf{Forget-Me-Not}, an efficient and low-cost solution designed to safely remove specified IDs, objects, or styles from a well-configured text-to-image model in as little as 30 seconds, without impairing its ability to generate other content. Alongside our method, we introduce the \textbf{Memorization Score (M-Score)} and \textbf{ConceptBench} to measure the models' capacity to generate general concepts, grouped into three primary categories: ID, object, and style. Using M-Score and ConceptBench, we demonstrate that Forget-Me-Not can effectively eliminate targeted concepts while maintaining the model's performance on other concepts. Furthermore, Forget-Me-Not offers two practical extensions: a) removal of potentially harmful or NSFW content, and b) enhancement of model accuracy, inclusion and diversity through \textbf{concept correction and disentanglement}. It can also be adapted as a lightweight model patch for Stable Diffusion, allowing for concept manipulation and convenient distribution. To encourage future research in this critical area and promote the development of safe and inclusive generative models, we will open-source our code and ConceptBench at \href{https://github.com/SHI-Labs/Forget-Me-Not}{https://github.com/SHI-Labs/Forget-Me-Not}.

Eric Zhang, Kai Wang, Xingqian Xu, Zhangyang Wang, Humphrey Shi• 2023

Related benchmarks

TaskDatasetResultRank
Text-to-Image GenerationMS-COCO
FID24.32
145
Coarse-grained UnlearningImagenette
Atar24
70
Class ErasureImagenette
UA93.8
66
Text-to-Image GenerationCOCO 30k
FID12.53
63
Object ErasureCIFAR-10
Accuracy (Erase)99.46
62
Text-to-Image AlignmentMS-COCO
CLIP Score30.56
60
Text-to-Image GenerationMSCOCO 30K
FID13.99
54
Explicit Content RemovalI2P
Buttocks Count12
47
Class-wise ForgettingImageNette (val)
FID0.8
44
Nudity ErasureI2P
Total Count356
44
Showing 10 of 101 rows
...

Other info

Follow for update