Introduction
Generating synthetic data under the umbrella of Differential Privacy (DP) is a "holy grail" for data sharing. Once a private synthetic dataset is created, it can be analyzed and reused indefinitely without further privacy risk.
However, existing methods struggle with "mixed-type" data. Most algorithms either use deep generative models (which are notoriously hard to optimize under DP) or "moment-matching" approaches. The latter usually require numerical features (like income or age) to be discretized into "bins." This creates a nasty trade-off:
- Too few bins: You lose accuracy and the ability to answer fine-grained queries.
- Too many bins: The data becomes high-dimensional and "sparse," making the algorithm slow and the privacy noise overwhelming.
To bridge this gap, researchers introduce RAP++ (Relaxed Adaptive Projection ++). By handling numerical features natively without binning, RAP++ achieves 2-5x faster runtimes and significantly better accuracy for statistical queries and multitask machine learning compared to existing state-of-the-art methods.
The RAP++ Approach
RAP++ builds on the previous "Relaxed Adaptive Projection" framework. The core innovation lies in how it handles non-differentiable queries.
Tempered Sigmoid Annealing
Statistical queries often involve thresholds (e.g., "Is value $x$ less than threshold $\tau$?"). These are step functions, which have zero gradients almost everywhere, making them impossible to optimize using standard gradient-based methods like SGD.
RAP++ replaces these step functions with sigmoids. However, sigmoids introduce a "Goldilocks" problem:
- If the sigmoid is too flat (low inverse temperature $\sigma$), it's easy to optimize but a poor approximation of the real data.
- If the sigmoid is too sharp (high $\sigma$), it's a great approximation but the gradients become "flat," causing the optimizer to get stuck.
To solve this, the authors use Tempered Sigmoid Annealing. They start with a low $\sigma$ and dynamically double it whenever the optimization plateaus. This "annealing" allows the algorithm to find a good neighborhood first and then refine the details.
Class Conditional Linear Threshold Queries
To support multitask learning, RAP++ focuses on preserving the fraction of points for each class label that fall above a particular half-space. This specific type of query is the mathematical "secret sauce" needed to ensure that a linear classifier trained on synthetic data will perform similarly to one trained on real data.
Experimental Setup and Key Results
The researchers evaluated RAP++ using a suite of datasets derived from the US Census via the folktables package. The evaluation covered 5 distinct prediction tasks (Income, Employment, Health, Transportation, and Housing) across the 5 largest US states. Each multitask dataset contained 25 categorical features, 9 numerical features, and 5 binary target labels.
Key Findings: * Native Numerical Handling is a Game Changer: By treating numerical features as continuous rather than binned, RAP++ avoids the dimensionality explosion that plagues methods like PGM (Probabilistic Graphical Models). * Speed and Accuracy: RAP++ consistently runs 2-5x faster than PGM, the strongest existing baseline. On mixed-marginal queries, RAP++ significantly reduced error compared to PGM, especially at lower privacy budgets (small $\epsilon$). * Multitask Synergy: Because the algorithm preserves "class-conditional" thresholds, a single synthetic dataset can be used to train multiple different classifiers without needing to re-run the private generation process for each task. Models trained on RAP++ synthetic data achieved higher F1 scores than those trained on data from other generators, particularly when numerical features were highly predictive of the outcome.
Limitations and Future Work
While RAP++ excels at preserving data for linear classifiers (like Logistic Regression), the authors note that the performance gains don't always translate to more complex, non-linear models (like deep neural networks). Additionally, although RAP++ performs well in practice, the optimization step is a heuristic; there is no formal guarantee that the algorithm will always find the global optimum of the "relaxed" objective.
Finding ways to produce synthetic data that enables high-accuracy non-linear machine learning remains an important open challenge for the field.
Summary updated