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

从无条件扩散模型中提取训练数据

Extracting Training Data from Unconditional Diffusion Models

Yunhao Chen, Xingjun Ma, Difan Zou, Yu-Gang Jiang

AI总结:

本文提出了一种名为SIDE的新型数据提取方法,通过在生成数据上训练的分类器作为替代条件,直接从无条件扩散模型中提取训练数据,并建立了理论理解与评估指标。

摘要:

随着扩散概率模型(DPMs)被用作生成式人工智能(AI)的主流模型,其对原始训练数据的记忆研究引起了越来越多的关注。现有工作旨在建立对DPMs是否通过记忆学习或在多大程度上通过记忆学习的理解。这种理解对于识别扩散模型中潜在的数据泄露和版权侵权风险至关重要,更重要的是,对于人工智能生成内容(AIGC)的更可控生成和可信应用也是如此。虽然以前的工作对DPMs何时容易发生记忆做出了重要观察,但这些发现大多是经验性的,并且开发的数据提取方法仅适用于条件扩散模型。在本工作中,我们旨在建立对DPMs中记忆的理论理解,包括:1)用于理论分析的记忆度量;2)对带有信息标签和随机标签的条件记忆的分析;以及3)用于衡量记忆的两个更好的评估指标。基于理论分析,我们进一步提出了一种名为\ extbf{Surrogate condItional Data Extraction (SIDE)}的新型数据提取方法,该方法利用在生成数据上训练的分类器作为替代条件,直接从无条件扩散模型中提取训练数据。我们的实验结果表明,SIDE能够在先前方法失效的扩散模型中提取训练数据,并且在CelebA数据集的不同规模上平均效果提高了50%以上。

英文摘要:

As diffusion probabilistic models (DPMs) are being employed as mainstream models for generative artificial intelligence (AI), the study of their memorization of the raw training data has attracted growing attention. Existing works in this direction aim to establish an understanding of whether or to what extent DPMs learn by memorization. Such an understanding is crucial for identifying potential risks of data leakage and copyright infringement in diffusion models and, more importantly, for more controllable generation and trustworthy application of Artificial Intelligence Generated Content (AIGC). While previous works have made important observations of when DPMs are prone to memorization, these findings are mostly empirical, and the developed data extraction methods only work for conditional diffusion models. In this work, we aim to establish a theoretical understanding of memorization in DPMs with 1) a memorization metric for theoretical analysis, 2) an analysis of conditional memorization with informative and random labels, and 3) two better evaluation metrics for measuring memorization. Based on the theoretical analysis, we further propose a novel data extraction method called \textbf{Surrogate condItional Data Extraction (SIDE)} that leverages a classifier trained on generated data as a surrogate condition to extract training data directly from unconditional diffusion models. Our empirical results demonstrate that SIDE can extract training data from diffusion models where previous methods fail, and it is on average over 50\% more effective across different scales of the CelebA dataset.

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

↑