English

Leveraging Model Guidance to Extract Training Data from Personalized Diffusion Models

Computer Vision and Pattern Recognition 2025-09-29 v3 Artificial Intelligence Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.2410.03039,
  title  = {Leveraging Model Guidance to Extract Training Data from Personalized Diffusion Models},
  author = {Xiaoyu Wu and Jiaru Zhang and Zhiwei Steven Wu},
  journal= {arXiv preprint arXiv:2410.03039},
  year   = {2025}
}

Comments

Accepted at the International Conference on Machine Learning (ICML) 2025

R2 v1 2026-06-28T19:07:54.991Z