Differentially Private Synthetic Data via Foundation Model APIs 1: Images
Zinan Lin, Sivakanth Gopi, Janardhan Kulkarni, Harsha Nori, Sergey Yekhanin
TL;DR
This work addresses generating DP synthetic data when only API access to foundation models is available, introducing the training-free Private Evolution (PE) framework. PE iteratively guides API-generated samples toward the private data distribution using a DP Nearest Neighbors Histogram and variation-based mutations, with formal DP guarantees across iterations. Empirically, PE achieves state-of-the-art privacy-utility on CIFAR10 at very low privacy budgets ($\epsilon$ around 0.67) and demonstrates competitive results under large distribution shifts (e.g., Camelyon17) and high-resolution data with Stable Diffusion; it also supports unlimited sample generation for downstream tasks. The approach offers a practical, scalable alternative to training-based DP methods, leveraging public data foundations while preserving data privacy, and opens avenues for DP synthetic data in various modalities and deployment settings.
Abstract
Generating differentially private (DP) synthetic data that closely resembles the original private data is a scalable way to mitigate privacy concerns in the current data-driven world. In contrast to current practices that train customized models for this task, we aim to generate DP Synthetic Data via APIs (DPSDA), where we treat foundation models as blackboxes and only utilize their inference APIs. Such API-based, training-free approaches are easier to deploy as exemplified by the recent surge in the number of API-based apps. These approaches can also leverage the power of large foundation models which are only accessible via their inference APIs. However, this comes with greater challenges due to strictly more restrictive model access and the need to protect privacy from the API provider. In this paper, we present a new framework called Private Evolution (PE) to solve this problem and show its initial promise on synthetic images. Surprisingly, PE can match or even outperform state-of-the-art (SOTA) methods without any model training. For example, on CIFAR10 (with ImageNet as the public data), we achieve FID <= 7.9 with privacy cost ε = 0.67, significantly improving the previous SOTA from ε = 32. We further demonstrate the promise of applying PE on large foundation models such as Stable Diffusion to tackle challenging private datasets with a small number of high-resolution images. The code and data are released at https://github.com/microsoft/DPSDA.
