UnlearnCanvas: A Stylized Image Dataset to Benchmark
Machine Unlearning for Diffusion Models

paper: https://arxiv.org/abs/2402.11846

Code: https://github.com/OPTML-Group/UnlearnCanvas

The rapid advancement of diffusion models (DMs) has not only transformed various real- world industries but has also introduced negative societal concerns, including the generation of harmful content, copyright disputes, and the rise of stereotypes and biases. To mitigate these issues, machine unlearning (MU) has emerged as a potential solution, demonstrating its ability to remove undesired generative capabilities of DMs in various applications. However, by examining existing MU evaluation methods, we uncover several key challenges that can result in incomplete, inaccurate, or biased evaluations for MU in DMs.

To address them, we enhance the evaluation metrics for MU, including the introduction of an often-overlooked retainability measurement for DMs post-unlearning. Additionally, we introduce UnlearnCanvas, a comprehensive high-resolution stylized image dataset that facilitates us to evaluate the unlearning of artistic painting styles in conjunction with associated image objects.

We show that this dataset plays a pivotal role in establishing a standardized and automated evaluation framework for MU techniques on DMs, featuring 7 quantitative metrics to address various aspects of unlearning effectiveness. Through extensive experiments, we benchmark 5 state-of- the-art MU methods, revealing novel insights into their pros and cons, and the underlying unlearning mechanisms. Furthermore, we demonstrate the potential of UnlearnCanvas to benchmark other generative modeling tasks, such as style transfer.

[Other Related Benchmarks]

  • UnlearnDiff Benchmark: an evaluation benchmark built upon adversarial attacks (also referred to as adversarial prompts), in order to discern the trustworthiness of these safety-driven unlearned DMs.
Unlearning Methods
Style / Object Unlearning Effectiveness
Image Quality
Resource Costs
Method
Style-UA
Style-IRA
Style-CRA
Object-UA
Object-IRA
Object-CRA
FID
Time (s)
Memory (GB)
Storage (GB)
SalUn
98.58%
80.97%
93.96%
92.15%
55.78%
44.23%
131.37
6163
17.8
4.3