Is API Access to LLMs Useful for Generating Private Synthetic Tabular Data?
Marika Swanberg, Ryan McKenna, Edo Roth, Albert Cheu, Peter Kairouz
TL;DR
This work investigates whether API access to foundation models can meaningfully improve differentially private (DP) synthetic tabular data generation. It develops two approaches: (i) adapting Private Evolution to the tabular domain with a workload-aware distance, and (ii) a one-shot API-based method that leverages Gemini-generated public data in offline mode. Across experiments, API-based methods do not consistently surpass strong baselines, highlighting the importance of data domain and robust baselines in DP tabular tasks. The study provides practical insights into when API access helps, and suggests avenues for improvement, such as tabular-focused LLMs and hybrid strategies that combine private evolutions with one-shot public-data methods.
Abstract
Differentially private (DP) synthetic data is a versatile tool for enabling the analysis of private data. Recent advancements in large language models (LLMs) have inspired a number of algorithm techniques for improving DP synthetic data generation. One family of approaches uses DP finetuning on the foundation model weights; however, the model weights for state-of-the-art models may not be public. In this work we propose two DP synthetic tabular data algorithms that only require API access to the foundation model. We adapt the Private Evolution algorithm (Lin et al., 2023; Xie et al., 2024) -- which was designed for image and text data -- to the tabular data domain. In our extension of Private Evolution, we define a query workload-based distance measure, which may be of independent interest. We propose a family of algorithms that use one-shot API access to LLMs, rather than adaptive queries to the LLM. Our findings reveal that API-access to powerful LLMs does not always improve the quality of DP synthetic data compared to established baselines that operate without such access. We provide insights into the underlying reasons and propose improvements to LLMs that could make them more effective for this application.
