Abstract
As diffusion probabilistic models (DPMs) become central to Generative AI (GenAI), understanding their memorization behavior is essential for evaluating risks such as data leakage, copyright infringement, and trustworthiness. While prior research finds conditional DPMs highly susceptible to data extraction attacks using explicit prompts, unconditional models are often assumed to be safe. We challenge this view by introducing Surrogate condItional Data Extraction (SIDE), a general framework that constructs data-driven surrogate conditions to enable targeted extraction from any DPM. Through extensive experiments on CIFAR-10, CelebA, ImageNet, and LAION-5B, we show that SIDE can successfully extract training data from so-called safe unconditional models, outperforming baseline attacks even on conditional models. Complementing these findings, we present a unified theoretical framework based on informative labels, demonstrating that all forms of conditioning, explicit or surrogate, amplify memorization. Our work redefines the threat landscape for DPMs, establishing precise conditioning as a fundamental vulnerability and setting a new, stronger benchmark for model privacy evaluation.
Introduction
The rapid adoption of diffusion probabilistic models (DPMs) has brought the issue of data memorization to the forefront of AI safety. While it is well-documented that conditional models—those guided by text prompts or class labels—can inadvertently leak training data, unconditional models have generally been perceived as more robust against such extraction attacks due to their lack of explicit steering mechanisms.
This paper introduces SIDE (Surrogate condItional Data Extraction), a framework that dismantles the "unconditional safety" myth. By leveraging the internal latent structures of DPMs, SIDE demonstrates that even models trained without explicit labels are vulnerable to targeted data extraction.
Methodology: Inventing Surrogate Labels
The core innovation of SIDE lies in its ability to "invent" labels for an unconditional model, effectively transforming it into a conditional one for the purpose of extraction. The process follows a four-step pipeline:
- Synthetic Dataset Generation: The attacker generates a large batch of images from the target unconditional model.
- Clustering (Surrogate Labels): Using a pre-trained feature extractor, the generated images are clustered. High-density clusters represent regions where the model is "fixated," often corresponding to memorized training samples. The centroids of these clusters serve as surrogate conditions.
- Training the Surrogate Model: To steer the model toward these clusters, the attacker either trains a time-dependent classifier (for small models) or uses Low-Rank Adaptation (LoRA) to fine-tune the model on synthetic labels (for large models like Stable Diffusion).
- Targeted Extraction: Using these surrogate labels as guidance, the attacker performs a reverse diffusion process to extract exact training samples.
The authors also provide a theoretical foundation, proving that any form of conditioning—whether explicit or surrogate—amplifies the likelihood of generating memorized samples by narrowing the sampling region to high-density clusters.
Experimental Evaluation
The researchers evaluated SIDE across several benchmarks, including CIFAR-10, CelebA, ImageNet, and LAION-5B. To quantify leakage, they introduced the Average Memorization Score (AMS) and Unique Memorization Score (UMS).
Key findings include:
- Superior Extraction: SIDE consistently outperformed existing state-of-the-art attacks. On CelebA-25000, SIDE achieved an AMS of 20.527%, more than double the 8.712% of previous conditional attacks.
- Vulnerability of Unconditional Models: SIDE successfully extracted data from unconditional models with higher efficacy than previous attacks achieved on conditional models.
- Black-Box Feasibility: A query-based version of SIDE using Genetic Algorithms proved that extraction is possible even without full access to model weights, albeit at a higher computational cost.
Discussion and Conclusion
SIDE redefines the threat landscape for DPMs by showing that "precise conditioning" is a fundamental vulnerability of the architecture itself. The lack of an explicit prompt is not a robust defense against data leakage.
While the attack currently requires significant computational resources for fine-tuning or black-box queries, it sets a new benchmark for privacy evaluation. Future research must focus on "anti-memorization" techniques, such as regularization methods that prevent the formation of the high-density clusters that SIDE exploits. By proving that no diffusion model is truly "unconditional" in its privacy profile, this work highlights the urgent need for stronger data protection in Generative AI.
Summary updated