Meta-Unlearning on Diffusion Models: Preventing Relearning Unlearned Concepts

Hongcheng Gao, Tianyu Pang, Chao Du, Taihang Hu, Zhijie Deng +1 more
10/16/2024
cs.CVcs.CLcs.CR

Official code: sail-sg/Meta-Unlearning (35 stars, last commit 2025-04-22).

Abstract

With the rapid progress of diffusion-based content generation, significant efforts are being made to unlearn harmful or copyrighted concepts from pretrained diffusion models (DMs) to prevent potential model misuse. However, it is observed that even when DMs are properly unlearned before release, malicious finetuning can compromise this process, causing DMs to relearn the unlearned concepts. This occurs partly because certain benign concepts (e.g., "skin") retained in DMs are related to the unlearned ones (e.g., "nudity"), facilitating their relearning via finetuning. To address this, we propose meta-unlearning on DMs. Intuitively, a meta-unlearned DM should behave like an unlearned DM when used as is; moreover, if the meta-unlearned DM undergoes malicious finetuning on unlearned concepts, the related benign concepts retained within it will be triggered to self-destruct, hindering the relearning of unlearned concepts. Our meta-unlearning framework is compatible with most existing unlearning methods, requiring only the addition of an easy-to-implement meta objective. We validate our approach through empirical experiments on meta-unlearning concepts from Stable Diffusion models (SD-v1-4 and SDXL), supported by extensive ablation studies. Our code is available at https://github.com/sail-sg/Meta-Unlearning.

View on arXivView PDF

Code Implementations(1)

352Shell, PythonOct 16, 20241 years ago

Similar Papers

Cite this paper

@article{gao2024metaunlearning,
  title  = {Meta-Unlearning on Diffusion Models: Preventing Relearning Unlearned Concepts},
  author = {Hongcheng Gao and Tianyu Pang and Chao Du and Taihang Hu and Zhijie Deng and Min Lin},
  year   = {2024},
  eprint = {2410.12777},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.12777v2}
}

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/2410.12777.svg)](https://codeofpaper.com/paper/2410.12777)

Discussion