arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.01034cs.LG
收藏

扩散模型中的数据遗忘

Data Unlearning in Diffusion Models

Stanford University(斯坦福大学)

Silas Alberti, Kenan Hasanaliyev, Manav Shah, Stefano Ermon

AI总结:

针对扩散模型数据遗忘成本高且现有方法不稳定的问题,提出具有理论保证的SISS损失函数,在多个数据集上实现质量与遗忘的帕累托最优,并有效缓解Stable Diffusion近90%提示词的记忆问题。

摘要:

近期研究表明,扩散模型会记忆并复现训练数据样本。同时,GDPR等大型版权诉讼和立法凸显了从扩散模型中擦除数据点的必要性。然而,从头开始重新训练通常成本过高。这促成了数据遗忘设定的提出,即研究从训练集中遗忘特定数据点的高效技术。现有的概念遗忘技术需要锚定提示词/类别/分布来指导遗忘,这在数据遗忘设定中是不可用的。通用机器遗忘技术被发现要么不稳定,要么无法遗忘数据。因此,我们提出了一族名为Subtracted Importance Sampled Scores (SISS)的新损失函数,它利用重要性采样,是首个具有理论保证的数据遗忘方法。SISS被构造为负责保持模型质量和遗忘目标数据点的较简单目标的加权组合。在CelebA-HQ和MNIST上评估时,SISS在质量和遗忘强度维度上实现了帕累托最优。在Stable Diffusion上,SISS成功缓解了我们测试的近90%提示词的记忆问题。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑