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

在数据约束下扩散模型的卸载:一种变分推断方法

Unlearning in Diffusion models under Data Constraints: A Variational Inference Approach

Department of ECE, Indian Institute of Science(印度科学研究院电子工程系)

Subhodip Panda, Varun M S, Shreyans Jain, Sarthak Kumar Maharana, Prathosh A. P

AI总结:

本文提出变分扩散卸载方法,用于在数据受限条件下防止预训练扩散模型生成不良内容,通过优化损失函数中的可塑性诱导器和稳定性正则化器来提高效率。

摘要:

为了安全部署扩散模型,需要调节其生成输出,因为这些模型可能生成不恰当、暴力或色情内容。最近的研究使用机器卸载方法来遗忘包含这些不良特征的训练数据点。然而,这些方法在数据受限设置中效果不佳,因为无法访问整个训练数据集。本文提出了一种机器卸载方法,能够在数据受限条件下防止预训练扩散模型生成包含不良特征的输出。我们提出的方法称为变分扩散卸载(VDU),是一种计算高效的方法,仅需访问包含不良特征的训练数据子集。我们的方法受到变分推断框架的启发,旨在最小化一个由可塑性诱导器和稳定性正则化器组成的损失函数。可塑性诱导器减少不良训练数据点的对数似然,而稳定性正则化器对于防止图像生成质量下降至关重要,它在参数空间中正则化模型。我们通过全面的实验验证了该方法的有效性,包括类别卸载和特征卸载。对于类别卸载,我们从预训练的无条件去噪扩散概率模型(DDPM)中卸载一些用户识别的类别。同样,对于特征卸载,我们从在LAION-5B数据集上预训练的稳定扩散模型中卸载某些高层特征的生成。

英文摘要:

For a responsible and safe deployment of diffusion models in various domains, regulating the generated outputs from these models is desirable because such models could generate undesired, violent, and obscene outputs. To tackle this problem, recent works use machine unlearning methodology to forget training data points containing these undesired features from pre-trained generative models. However, these methods proved to be ineffective in data-constrained settings where the whole training dataset is inaccessible. Thus, the principal objective of this work is to propose a machine unlearning methodology that can prevent the generation of outputs containing undesired features from a pre-trained diffusion model in such a data-constrained setting. Our proposed method, termed as Variational Diffusion Unlearning (VDU), is a computationally efficient method that only requires access to a subset of training data containing undesired features. Our approach is inspired by the variational inference framework with the objective of minimizing a loss function consisting of two terms: plasticity inducer and stability regularizer. Plasticity inducer reduces the log-likelihood of the undesired training data points, while the stability regularizer, essential for preventing loss of image generation quality, regularizes the model in parameter space. We validate the effectiveness of our method through comprehensive experiments for both class unlearning and feature unlearning. For class unlearning, we unlearn some user-identified classes from MNIST, CIFAR-10, and tinyImageNet datasets from a pre-trained unconditional denoising diffusion probabilistic model (DDPM). Similarly, for feature unlearning, we unlearn the generation of certain high-level features from a pre-trained Stable Diffusion model trained on LAION-5B dataset.

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

↑