Data Unlearning in Diffusion Models

Silas Alberti, Kenan Hasanaliyev, Manav Shah, Stefano Ermon
3/2/2025
cs.LG

No official code found. Best implementation: claserken/SISS (16 stars, last commit 2025-05-20).

Abstract

Recent work has shown that diffusion models memorize and reproduce training data examples. At the same time, large copyright lawsuits and legislation such as GDPR have highlighted the need for erasing datapoints from diffusion models. However, retraining from scratch is often too expensive. This motivates the setting of data unlearning, i.e., the study of efficient techniques for unlearning specific datapoints from the training set. Existing concept unlearning techniques require an anchor prompt/class/distribution to guide unlearning, which is not available in the data unlearning setting. General-purpose machine unlearning techniques were found to be either unstable or failed to unlearn data. We therefore propose a family of new loss functions called Subtracted Importance Sampled Scores (SISS) that utilize importance sampling and are the first method to unlearn data with theoretical guarantees. SISS is constructed as a weighted combination between simpler objectives that are responsible for preserving model quality and unlearning the targeted datapoints. When evaluated on CelebA-HQ and MNIST, SISS achieved Pareto optimality along the quality and unlearning strength dimensions. On Stable Diffusion, SISS successfully mitigated memorization on nearly 90% of the prompts we tested.

View on arXivView PDF

Code Implementations(1)

claserken/SISSCommunity100%

Official Implementation of Data Unlearning in Diffusion Models (ICLR 2025)

160Python, Jupyter NotebookMar 2, 20251 years ago

Similar Papers

Cite this paper

@article{alberti2025data,
  title  = {Data Unlearning in Diffusion Models},
  author = {Silas Alberti and Kenan Hasanaliyev and Manav Shah and Stefano Ermon},
  year   = {2025},
  eprint = {2503.01034},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.01034v1},
  journal = {ICLR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.01034.svg)](https://codeofpaper.com/paper/2503.01034)

Discussion