Abstract
As diffusion models become central to AI-generated content, concerns regarding data privacy and intellectual property have intensified. This paper introduces REDIFFUSE, a novel black-box membership inference attack (MIA) that identifies whether an image was part of a model's training set using only public image-to-image variation APIs. By exploiting the statistical property that models produce unbiased reconstructions for training data, REDIFFUSE outperforms existing white-box methods without requiring internal model access.
Introduction: The Challenge of Black-Box Auditing
The rapid adoption of models like DALL-E 2 and Midjourney has raised a critical question for creators: "Was my artwork used to train this model without my consent?" Membership Inference Attacks (MIA) are designed to answer this. However, most current MIA techniques for diffusion models are "white-box," requiring access to internal components like the U-net to calculate loss or noise gradients. In practice, commercial models are proprietary, offering only black-box APIs. REDIFFUSE bridges this gap by performing MIA using only the standard "variation" feature available to end-users.
Methods: The REDIFFUSE Algorithm
REDIFFUSE operates on a simple yet powerful statistical intuition. The attack assumes access to a variation API that adds Gaussian noise to an input image and then denoises it.
The process follows these steps:
- Variation Generation: A target image is submitted to the variation API $n$ times.
- Proxy Reconstruction: The $n$ resulting variations are averaged to create a single "proxy" reconstruction.
- Distance Comparison: This average is compared to the original image using distance metrics such as SSIM or $L_2$ distance.
- Classification: If the distance is below a predefined threshold, the image is classified as a "member" (training data).
This approach is architecture-agnostic, proving effective for both traditional U-net-based models and the newer Diffusion Transformer (DiT) framework.
Key Insights: The "Region of Attraction"
The success of REDIFFUSE stems from how diffusion models learn the data distribution. Training images act as "regions of attraction" or gravity wells.
For a member image, the model acts as an unbiased noise estimator. While a single variation might look different, the errors in reconstruction are random and centered around the original sample. Averaging multiple variations cancels out this random noise, yielding a result very close to the original. Conversely, for non-member images, the model’s predictions are biased, causing the reconstructions to "drift" away from the original input.
Experimental Evaluation
The researchers evaluated REDIFFUSE across several benchmarks:
- Standard Datasets: CIFAR-10, CIFAR-100, and STL-10.
- Large-Scale Architectures: ImageNet (128x128 and 256x256) for Diffusion Transformers.
- Real-World Proxies: Stable Diffusion tested against LAION-5B and COCO2017-val.
- Commercial API Test: A small-scale audit of DALL-E 2 using 30 famous paintings as hypothesized members.
Key Results
- State-of-the-Art Performance: REDIFFUSE consistently outperformed white-box attacks despite having less information. On CIFAR-100, it achieved an AUC of 0.98, surpassing the leading white-box method, SecMI (0.96).
- Practical Robustness: The attack is resilient to variations in the diffusion step ($t$), making it viable for real-world APIs where users have limited control over parameters.
- Vulnerability of Commercial Models: The DALL-E 2 experiment yielded an AUC of 88.3%, demonstrating that even highly guarded proprietary models are susceptible to membership auditing.
Limitations and Future Work
While effective, REDIFFUSE has limitations. Its accuracy decreases if the noise level (diffusion step $t$) is too high. Additionally, the need for multiple API calls ($n$ variations) can be computationally expensive or costly when using paid services. Future research will focus on improving robustness in high-noise scenarios and extending these black-box techniques to other generative modalities.
Summary updated