Post-processing Private Synthetic Data for Improving Utility on Selected Measures

Hao Wang, Shivchander Sudalairaj, John Henning, Kristjan Greenewald, Akash Srivastava

Introduction

Generating synthetic data that protects individual privacy while remaining useful for machine learning is a persistent challenge in data science. While Differential Privacy (DP) is the gold standard for privacy protection, most current DP synthetic data generators are "task-agnostic." They aim to capture the general distribution of a dataset but often fail to preserve the specific statistical nuances—such as correlations between key features—required for specialized downstream models. This results in a "utility gap" where the synthetic data is safe to share but lacks the precision needed for high-stakes predictive tasks.

In this work, researchers from the MIT-IBM Watson AI Lab propose a model-agnostic post-processing framework. Rather than building a new generator from scratch, they introduce a method to "nudge" existing synthetic datasets to better align with the real data on specific measures of interest, all while strictly maintaining DP guarantees.

The Problem: The Utility Gap in DP Synthetic Data

DP synthetic data generators typically add noise during the generation process to mask the presence of any single individual. However, this noise can distort the relationships between variables, such as the correlation between "Age" and "Income." If a data scientist requires these specific signals for a model to function correctly, they are often limited by the "black box" nature of existing generators, which are difficult to tune for specific use cases.

This paper addresses a fundamental question: Can we take a "good enough" synthetic dataset and refine it to be "great" for a specific task without breaking its privacy promises?

Methodology: Information Projection and Reweighting

The core of the proposed solution is Information Projection. The authors treat the initial synthetic data as a starting distribution and project it onto a new distribution that satisfies specific constraints defined by the user.

The Post-Processing Pipeline

  1. Utility Measures as Queries: The user identifies the statistical measures most important for their task (e.g., 1st and 2nd order moments to align a correlation matrix).
  2. DP Querying: The system retrieves these measures from the real dataset using a DP mechanism (such as the Laplace or Gaussian mechanism).
  3. Denoising: A linear or quadratic program is used to "clean up" these noisy answers, ensuring they remain physically consistent (e.g., ensuring probabilities sum to one).
  4. Optimal Reweighting: The authors formulate a convex optimization problem to find resampling weights for every point in the synthetic dataset. This is solved using a stochastic compositional proximal gradient algorithm, which is designed for high efficiency.
  5. Resampling: A new version of the synthetic dataset is created by sampling from the original set based on these weights. Points that do not align with the desired utility measures are downweighted or filtered out.

Because of the Post-Processing Property of Differential Privacy, as long as the only information extracted from the real data is obtained via DP queries, any subsequent manipulation of the synthetic data remains private.

Key Insights

Model-Agnosticism

The method is "plug-and-play." It does not matter if the synthetic data was produced by a GAN (like DPCTGAN), a marginal-based approach (like MST), or a workload-based generator (like AIM). The technique operates entirely on the output of these generators.

Preservation of Record Integrity

Unlike other methods that might alter the actual values within a dataset to meet constraints, this approach only reweights existing points. This ensures that the internal consistency and "quality" of individual data records are preserved; the method never creates "impossible" data points that the original generator didn't already produce.

Scalability via Dual Formulation

By utilizing a dual formulation of the optimization problem, the number of variables depends on the number of utility measures (e.g., 50 specific correlations) rather than the number of data points (e.g., millions of rows). This allows the algorithm to scale to massive datasets, such as the Home-Credit Default Risk dataset, in just minutes on a single GPU.

Violation Tolerance ($\gamma$)

The authors introduced a "violation tolerance" parameter ($\gamma$). By allowing the synthetic data to deviate slightly from the noisy real-world targets, the algorithm achieves better overall stability and utility, preventing the model from over-fitting to the noise in the DP queries.

Experimental Results

The authors evaluated their method across several standard benchmarks (Adult, Bank, Mushroom, Shopping) and the large-scale Home-Credit dataset (104 features, 307,000 records). They tested the framework against four state-of-the-art DP mechanisms: AIM, MST, DPCTGAN, and PATECTGAN.

  • Utility Improvement: On the Adult dataset, the method improved correlation alignment by up to 81% for GAN-based generators.
  • Downstream Performance: ML models (such as Logistic Regression) trained on the post-processed data consistently achieved higher or equal F1 scores on real test data compared to those trained on raw synthetic data.
  • Distributional Fidelity: Statistical measures like Jensen-Shannon (JS) distance confirmed that the post-processed data remained a faithful representation of the original marginal distributions while sharpening the specific features requested by the user.

Conclusion and Future Work

This post-processing framework provides a powerful tool for data scientists to reclaim utility lost during the DP generation process. While highly effective, the method does have limitations: it requires the user to know which measures are important beforehand, and it cannot "invent" data points that were missing from the original synthetic set's support.

Future research may explore using this technique to improve fairness in synthetic data. By resampling to eliminate algorithmic bias, this method could pave the way for datasets that are simultaneously private, high-utility, and equitable.

Summary updated

BibTeX
@inproceedings{wang2023post,
  author = {Hao Wang and Shivchander Sudalairaj and John Henning and Kristjan Greenewald and Akash Srivastava},
  title = {{Post-processing Private Synthetic Data for Improving Utility on Selected Measures}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=neu9JlNweE},
}
Figure