arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.03039cs.CVcs.AIcs.LG
收藏

利用模型引导从个性化扩散模型中提取训练数据

Leveraging Model Guidance to Extract Training Data from Personalized Diffusion Models

Carnegie Mellon University(卡内基梅隆大学);Purdue University(普渡大学)

Xiaoyu Wu, Jiaru Zhang, Zhiwei Steven Wu

AI总结:

本文提出FineXtract框架,通过外推微调前后扩散模型分布,引导生成并聚类提取个性化扩散模型中的训练数据,实验证明可提取约20%微调数据,揭示数据泄露与版权风险。

摘要:

扩散模型(DMs)已成为强大的图像生成工具,尤其是在少样本微调场景中,预训练的扩散模型在小型图像集上进行微调以捕捉特定风格或对象。许多人将这些个性化检查点上传到网上,促进了如Civitai和HuggingFace等社区的发展。然而,模型所有者可能忽视发布微调检查点时的数据泄露风险。此外,当微调过程中使用了未经授权的数据时,会引发版权侵权的担忧。在本文中,我们提出疑问:“能否从这些在线共享的微调扩散模型中提取训练数据?”成功的提取不仅会带来数据泄露威胁,还能为版权侵权提供确凿证据。为了回答这一问题,我们提出了FineXtract,一个用于提取微调数据的框架。我们的方法将微调近似为模型学习分布从原始预训练扩散模型向微调数据逐渐偏移的过程。通过外推微调前后的模型,我们引导生成过程朝向微调数据分布中的高概率区域。然后,我们应用聚类算法从使用这种外推引导生成的图像中提取最可能的图像。在基于WikiArt、DreamBooth等数据集微调的扩散模型以及在线发布的真实世界检查点上的实验验证了我们方法的有效性,在大多数情况下提取了约20%的微调数据。代码可在https://github.com/Nicholas0228/FineXtract获取。

英文摘要:

Diffusion Models (DMs) have become powerful image generation tools, especially for few-shot fine-tuning where a pretrained DM is fine-tuned on a small image set to capture specific styles or objects. Many people upload these personalized checkpoints online, fostering communities such as Civitai and HuggingFace. However, model owners may overlook the data leakage risks when releasing fine-tuned checkpoints. Moreover, concerns regarding copyright violations arise when unauthorized data is used during fine-tuning. In this paper, we ask: "Can training data be extracted from these fine-tuned DMs shared online?" A successful extraction would present not only data leakage threats but also offer tangible evidence of copyright infringement. To answer this, we propose FineXtract, a framework for extracting fine-tuning data. Our method approximates fine-tuning as a gradual shift in the model's learned distribution -- from the original pretrained DM toward the fine-tuning data. By extrapolating the models before and after fine-tuning, we guide the generation toward high-probability regions within the fine-tuned data distribution. We then apply a clustering algorithm to extract the most probable images from those generated using this extrapolated guidance. Experiments on DMs fine-tuned with datasets including WikiArt, DreamBooth, and real-world checkpoints posted online validate the effectiveness of our method, extracting about 20% of fine-tuning data in most cases. The code is available https://github.com/Nicholas0228/FineXtract.

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

↑