Abstract
Differentially private (DP) synthetic data sets are a solution for sharing data while preserving the privacy of individual data providers. Understanding the effects of utilizing DP synthetic data in end-to-end machine learning pipelines impacts areas such as health care and humanitarian action, where data is scarce and regulated by restrictive privacy laws. In this work, we investigate the extent to which synthetic data can replace real, tabular data in machine learning pipelines and identify the most effective synthetic data generation techniques for training and evaluating machine learning models. We investigate the impacts of differentially private synthetic data on downstream classification tasks from the point of view of utility as well as fairness. Our analysis is comprehensive and includes representatives of the two main types of synthetic data generation algorithms: marginal-based and GAN-based. To the best of our knowledge, our work is the first that: (i) proposes a training and evaluation framework that does not assume that real data is available for testing the utility and fairness of machine learning models trained on synthetic data; (ii) presents the most extensive analysis of synthetic data set generation algorithms in terms of utility and fairness when used for training machine learning models; and (iii) encompasses several different definitions of fairness. Our findings demonstrate that marginal-based synthetic data generators surpass GAN-based ones regarding model training utility for tabular data. Indeed, we show that models trained using data generated by marginal-based algorithms can exhibit similar utility to models trained using real data. Our analysis also reveals that the marginal-based synthetic data generator MWEM PGM can train models that simultaneously achieve utility and fairness characteristics close to those obtained by models trained with real data.
Introduction
In sensitive sectors such as healthcare and humanitarian aid, the sharing of data is frequently impeded by stringent privacy regulations. Differentially private (DP) synthetic data has emerged as a promising solution, allowing organizations to release datasets that maintain the statistical properties of the original data while providing rigorous mathematical guarantees for individual privacy.
A significant challenge in current research is the reliance on original "real" data to evaluate the quality of synthetic datasets. In practical, privacy-preserving scenarios, the end-user may never have access to the real data. This study addresses this gap by investigating whether an end-to-end machine learning pipeline—encompassing training, model selection, and evaluation—can be constructed using only synthetic data, and whether the resulting models remain reliable when deployed in real-world environments.
Methodology
The researchers propose a framework that treats synthetic data as a complete surrogate for real data throughout the machine learning lifecycle. This approach compares two primary families of synthetic data generators:
- Marginal-based Synthesizers (e.g., MWEM PGM, MST, PrivBayes): These algorithms learn approximate data distributions by querying "noisy marginals" (counts of feature combinations) from the real data under DP constraints.
- GAN-based Synthesizers (e.g., DP-CTGAN, PATE-GAN): These utilize Generative Adversarial Networks modified with DP mechanisms, such as DP-SGD or PATE, to learn patterns through adversarial training.
The framework evaluates these generators across various privacy budgets ($\epsilon$), where a lower $\epsilon$ indicates higher privacy but increased noise.
Datasets
The study employs three benchmark tabular datasets frequently used in fairness research:
- UCI Adult Dataset: A task to predict if an individual's income exceeds \$50k/year, with gender as the protected attribute.
- ProPublica COMPAS Dataset: A recidivism prediction task, with race as the protected attribute.
- Fair COMPAS: A preprocessed version of the COMPAS dataset designed to remove intrinsic bias, used to determine if synthetic generators can preserve "fair" ground truths.
Results and Discussion
The analysis yielded several key insights into the performance of DP synthetic data:
- Superiority of Marginal-based Methods: While GANs are effective for image data, they struggle with the discrete and heterogeneous nature of tabular data under DP constraints. Marginal-based methods proved more robust and efficient at capturing tabular structures.
- Validation of Synthetic Evaluation: A critical finding is that synthetic data can effectively serve as an evaluation set. Models performing well on a synthetic test set typically show similar performance on real test data, particularly when generated using high-quality marginal-based methods like MWEM PGM.
- Fairness Preservation: DP noise does not inherently degrade fairness. Models trained on MWEM PGM synthetic data demonstrated fairness metrics (e.g., Statistical Parity and Equal Opportunity) remarkably similar to those trained on real data. In contrast, GAN-based models often fluctuated or failed to predict positive cases at strict privacy levels.
- Utility Benchmarks: For the COMPAS dataset at $\epsilon > 5.0$, models trained on MWEM PGM achieved an AUC of 0.684, matching the performance of models trained on real data. MWEM PGM consistently ranked first across datasets for both training and evaluation utility.
Conclusion
This research demonstrates that marginal-based synthetic data generators, specifically MWEM PGM, can effectively replace real tabular data in end-to-end machine learning pipelines without sacrificing significant utility or fairness. While these findings are robust for tabular data, future work is required to determine if these results scale to higher-dimensional data or complex time-series, where the relative performance of GAN-based methods might differ.
Summary updated