[Paper Review] Generating Private Synthetic Data with Genetic Algorithms
This paper proposes Private-GSD, a differentially private genetic algorithm that generates synthetic data for both differentiable and non-differentiable statistical queries without requiring objective function differentiability or data discretization. By using zeroth-order optimization via genetic operators—crossover and mutation—it achieves state-of-the-art accuracy on non-differentiable queries like prefix and halfspace queries, while matching performance on differentiable marginals, outperforming RAP++ in non-differentiable settings.
We study the problem of efficiently generating differentially private synthetic data that approximate the statistical properties of an underlying sensitive dataset. In recent years, there has been a growing line of work that approaches this problem using first-order optimization techniques. However, such techniques are restricted to optimizing differentiable objectives only, severely limiting the types of analyses that can be conducted. For example, first-order mechanisms have been primarily successful in approximating statistical queries only in the form of marginals for discrete data domains. In some cases, one can circumvent such issues by relaxing the task's objective to maintain differentiability. However, even when possible, these approaches impose a fundamental limitation in which modifications to the minimization problem become additional sources of error. Therefore, we propose Private-GSD, a private genetic algorithm based on zeroth-order optimization heuristics that do not require modifying the original objective. As a result, it avoids the aforementioned limitations of first-order optimization. We empirically evaluate Private-GSD against baseline algorithms on data derived from the American Community Survey across a variety of statistics--otherwise known as statistical queries--both for discrete and real-valued attributes. We show that Private-GSD outperforms the state-of-the-art methods on non-differential queries while matching accuracy in approximating differentiable ones.
Motivation & Objective
- To address the limitation of first-order optimization methods in differentially private synthetic data generation, which require differentiable objectives and fail on non-differentiable queries such as prefix or halfspace queries.
- To enable efficient synthetic data generation for mixed-type data (discrete and real-valued attributes) without discretizing real-valued features.
- To eliminate the error introduced by surrogate loss functions used in prior methods like RAP++ that relax non-differentiable objectives.
- To develop a zeroth-order optimization framework based on genetic algorithms that directly minimizes the original error objective.
- To empirically evaluate Private-GSD against state-of-the-art baselines on real-world datasets across diverse statistical queries.
Proposed method
- Private-GSD employs a population-based genetic algorithm that evolves synthetic datasets over G generations, starting from E randomly initialized datasets.
- At each generation, the algorithm maintains an elite set of top-performing synthetic datasets based on query error.
- Crossover operations combine parameters from elite datasets to generate new candidates, while mutation perturbs individual entries in the synthetic data to explore new solutions.
- The algorithm integrates differential privacy via the Laplace mechanism applied to query error gradients during selection, ensuring privacy per the (ε, δ)-DP definition.
- It incorporates an early stopping rule based on convergence of the elite population to reduce runtime without sacrificing accuracy.
- The method supports mixed-type data by directly handling real-valued attributes without discretization, enabling optimization of non-differentiable queries such as CDFs and halfspaces.

Experimental results
Research questions
- RQ1Can a zeroth-order optimization approach based on genetic algorithms effectively generate differentially private synthetic data for non-differentiable statistical queries?
- RQ2Does Private-GSD outperform first-order methods like RAP++ on non-differentiable queries such as prefix and halfspace queries?
- RQ3How does the choice of mutation and crossover rates affect the convergence and accuracy of Private-GSD?
- RQ4Can Private-GSD maintain high accuracy on differentiable queries (e.g., marginals) while avoiding the error introduced by surrogate loss functions?
- RQ5Is the performance of Private-GSD robust across diverse real-world datasets with mixed-type attributes?
Key findings
- Private-GSD significantly outperforms RAP++ on non-differentiable queries, achieving an average error of 0.0476 for 2-way range queries on ACSmob-CA, compared to RAP++'s reliance on surrogate functions.
- On differentiable queries such as 2-way marginals, Private-GSD matches the accuracy of first-order methods like RAP++ and GEM, with error comparable to state-of-the-art baselines.
- A mutation rate and crossover rate of 1 yielded the best balance of error and runtime, with 0.0476 average error and 83 seconds of runtime on ACSmob-CA, outperforming higher rates that increased error and runtime.
- When mutation and crossover rates were increased to 25, average error rose to 0.1922 and runtime reached 264 seconds, indicating that excessive perturbation destabilizes convergence.
- The ablation study confirms that higher mutation and crossover rates degrade performance, suggesting that fine-grained, localized changes are more effective than large-scale modifications.
- Private-GSD achieves strong performance on mixed-type data without discretization, enabling direct optimization of real-valued queries like CDFs and halfspaces that are infeasible for gradient-based methods.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.