Boosting Alignment for Post-Unlearning Text-to-Image Generative Models

Myeongseob Ko, Henry Li, Zhun Wang, Jonathan Patsenker, Jiachen T. Wang +4 more
12/9/2024
cs.LGcs.AI

Official code: reds-lab/Restricted_gradient_diversity_unlearning (5 stars, last commit 2024-12-16).

Abstract

Large-scale generative models have shown impressive image-generation capabilities, propelled by massive data. However, this often inadvertently leads to the generation of harmful or inappropriate content and raises copyright concerns. Driven by these concerns, machine unlearning has become crucial to effectively purge undesirable knowledge from models. While existing literature has studied various unlearning techniques, these often suffer from either poor unlearning quality or degradation in text-image alignment after unlearning, due to the competitive nature of these objectives. To address these challenges, we propose a framework that seeks an optimal model update at each unlearning iteration, ensuring monotonic improvement on both objectives. We further derive the characterization of such an update. In addition, we design procedures to strategically diversify the unlearning and remaining datasets to boost performance improvement. Our evaluation demonstrates that our method effectively removes target classes from recent diffusion-based generative models and concepts from stable diffusion models while maintaining close alignment with the models' original trained states, thus outperforming state-of-the-art baselines. Our code will be made available at https://github.com/reds-lab/Restricted_gradient_diversity_unlearning.git.

View on arXivView PDF

Code Implementations(1)

50Shell, PythonOct 31, 20241 years ago

Similar Papers

Cite this paper

@article{ko2024boosting,
  title  = {Boosting Alignment for Post-Unlearning Text-to-Image Generative Models},
  author = {Myeongseob Ko and Henry Li and Zhun Wang and Jonathan Patsenker and Jiachen T. Wang and Qinbin Li and Ming Jin and Dawn Song and Ruoxi Jia},
  year   = {2024},
  eprint = {2412.07808},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2412.07808},
  url    = {http://arxiv.org/abs/2412.07808v2},
  journal = {NEURIPS 2024 2024}
}

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

Discussion