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

Erasing Undesirable Influence in Diffusion Models

About

Diffusion models are highly effective at generating high-quality images but pose risks, such as the unintentional generation of NSFW (not safe for work) content. Although various techniques have been proposed to mitigate unwanted influences in diffusion models while preserving overall performance, achieving a balance between these goals remains challenging. In this work, we introduce EraseDiff, an algorithm designed to preserve the utility of the diffusion model on retained data while removing the unwanted information associated with the data to be forgotten. Our approach formulates this task as a constrained optimization problem using the value function, resulting in a natural first-order algorithm for solving the optimization problem. By altering the generative process to deviate away from the ground-truth denoising trajectory, we update parameters for preservation while controlling constraint reduction to ensure effective erasure, striking an optimal trade-off. Extensive experiments and thorough comparisons with state-of-the-art algorithms demonstrate that EraseDiff effectively preserves the model's utility, efficacy, and efficiency.

Jing Wu, Trung Le, Munawar Hayat, Mehrtash Harandi• 2024

Related benchmarks

TaskDatasetResultRank
Class-wise ForgettingImageNette (val)
FID0.78
44
Concept UnlearningUnlearnDiffAtk
UnlearnDiffAtk0.1831
36
Style UnlearningUnlearnCanvas
UA0.9242
36
Safety GeneralizationI2P (test)
Self-Harm Score77.89
24
Class-wise ForgettingImagenette Stable Diffusion v1.4 (val)
FID0.78
22
Broad-concept removalI2P
Self-harm Removal Rate40.6
22
Concept UnlearningUnlearnCanvas
Total Avg. Acc82.41
22
Art Style UnlearningUnlearnCanvas Van Gogh style
FID54.48
18
Machine UnlearningSequential Unlearning Concepts (T1-T6) Stable Diffusion XL, SD v1.5, SANA
UA (T1)90
15
Utility PreservationCOCO
CLIP Score0.307
14
Showing 10 of 35 rows

Other info

Code

Follow for update