[Paper Review] Private Synthetic Data for Multitask Learning and Marginal Queries
This paper proposes RAP++, a differentially private synthetic data generation algorithm that natively handles mixed categorical and numerical features without binning, using tempered sigmoid annealing and random linear projections to enable accurate moment-matching for marginal queries and linear classifier training. RAP++ achieves 2–5× faster runtime and superior accuracy in both marginal query preservation and linear model performance compared to prior methods, especially when numerical features are predictive.
We provide a differentially private algorithm for producing synthetic data simultaneously useful for multiple tasks: marginal queries and multitask machine learning (ML). A key innovation in our algorithm is the ability to directly handle numerical features, in contrast to a number of related prior approaches which require numerical features to be first converted into {high cardinality} categorical features via {a binning strategy}. Higher binning granularity is required for better accuracy, but this negatively impacts scalability. Eliminating the need for binning allows us to produce synthetic data preserving large numbers of statistical queries such as marginals on numerical features, and class conditional linear threshold queries. Preserving the latter means that the fraction of points of each class label above a particular half-space is roughly the same in both the real and synthetic data. This is the property that is needed to train a linear classifier in a multitask setting. Our algorithm also allows us to produce high quality synthetic data for mixed marginal queries, that combine both categorical and numerical features. Our method consistently runs 2-5x faster than the best comparable techniques, and provides significant accuracy improvements in both marginal queries and linear prediction tasks for mixed-type datasets.
Motivation & Objective
- Address the limitation of prior private synthetic data methods that require numerical features to be discretized into high-cardinality categorical bins, which harms scalability and accuracy.
- Enable direct, differentiable optimization over mixed-type queries—specifically mixed marginals and class-conditional linear threshold functions—without binning.
- Develop a scalable, differentiable optimization framework that maintains privacy while preserving statistical relationships critical for downstream machine learning.
- Improve the efficiency and accuracy of private synthetic data generation for real-world datasets with numerous numerical features.
- Demonstrate that native handling of numerical features leads to significant performance gains in both query accuracy and model training fidelity.
Proposed method
- Introduce RAP++, an extension of the RAP framework, that directly processes mixed categorical and numerical features using differentiable optimization for moment-matching.
- Define two key query classes: mixed marginals (joint distributions over mixed feature types) and class-conditional linear threshold functions (preserving linear classifier performance).
- Apply sigmoid approximation to non-differentiable threshold functions in linear threshold queries, using a smooth, differentiable surrogate: $ \frac{1}{1 + \exp(-\sigma(x - b))} $.
- Implement tempered sigmoid annealing: dynamically increase the inverse temperature $ \sigma $ based on gradient norms to balance approximation fidelity and optimization stability.
- Use random linear projection queries to efficiently represent and optimize over high-dimensional mixed-type feature spaces.
- Leverage stochastic gradient descent (SGD) or Adam for end-to-end optimization of synthetic data generation under differential privacy constraints.
Experimental results
Research questions
- RQ1Can a differentially private synthetic data generation method preserve mixed-type marginal queries—combining categorical and numerical features—without requiring binning of numerical values?
- RQ2How can non-differentiable threshold functions in class-conditional linear threshold queries be approximated effectively to enable differentiable optimization in private synthetic data generation?
- RQ3Does dynamic adjustment of the sigmoid approximation's steepness (via tempered sigmoid annealing) improve optimization stability and accuracy in the absence of a fixed optimal $ \sigma $?
- RQ4To what extent does native handling of numerical features improve runtime and accuracy in both query release and downstream machine learning tasks compared to binning-based approaches?
- RQ5Can private synthetic data generated by RAP++ support training of more accurate linear classifiers than existing private baselines, particularly when numerical features are predictive?
Key findings
- RAP++ consistently outperforms PGM, DP-CTGAN, and DP-MERF in preserving mixed marginal queries and class-conditional linear threshold queries on US Census datasets, especially at low privacy budgets ($ \epsilon \leq 1 $).
- RAP++ achieves 2–5× faster runtime than the best comparable method (PGM), with significant speedups observed across all evaluated datasets and privacy levels.
- In single-task learning, RAP++ achieves higher F1 scores than all baselines across all three ACS single-task datasets (e.g., income, employment, coverage) at $ \epsilon = 0.15 $ and $ \epsilon = 1 $, with performance closely tracking the non-private gold standard.
- In multitask learning, RAP++ significantly outperforms PGM on the income prediction task—where numerical features are predictive—achieving higher F1 scores, especially at small $ \epsilon $.
- On tasks where numerical features are less predictive (e.g., employment), PGM slightly outperforms RAP++, but RAP++ still maintains competitive performance and superior runtime.
- Despite strong performance on linear models, more complex models trained on RAP++-generated synthetic data do not surpass linear model performance, suggesting a gap in enabling non-linear learning from private synthetic data.
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.