Abstract: Differentially private ML approaches seek to learn models which may be publicly released while guaranteeing that the input data is kept private. One issue with this construction is that further model releases based on the same training data (e.g. for a new task) incur a further privacy budget cost. Privacy-preserving synthetic data generation is one possible solution to this conundrum. However, models trained on synthetic private data struggle to approach the performance of private, ad-hoc models. In this paper, we present a novel method based on sum-product networks that is able to perform both privacy-preserving classification and privacy-preserving data generation with a single model. To the best of our knowledge, ours is the first approach that provides both discriminative and generative capabilities to differentially private ML. We show that our approach outperforms the state of the art in terms of stability (i.e. number of training runs required for convergence) and utility of the generated data.
The Privacy Budget Problem
Differential Privacy (DP) is the gold standard for protecting sensitive training data. It works by injecting a calibrated amount of noise into the learning process, quantified by a "privacy budget" ($\epsilon$). The catch? Every time you train a new model on the same dataset, you spend more of this budget, degrading the privacy guarantee.
A popular workaround is to train a single DP generative model to create synthetic data. Thanks to the DP "post-processing theorem," you can train as many models as you want on this synthetic data without spending any additional privacy budget. Unfortunately, models trained on synthetic data usually suffer a massive drop in utility (accuracy) compared to models trained directly on the real data. Furthermore, many DP generative models (like GANs) are highly unstable, requiring multiple training restarts to get a good result—which, ironically, burns through the privacy budget anyway.
To address this, the authors introduce Differentially Private Sum-Product Networks (DPSPNs), a single probabilistic model capable of both privacy-preserving classification and high-fidelity synthetic data generation. By combining generative and discriminative capabilities into one highly stable architecture, DPSPNs save privacy budget while outperforming existing synthetic data generators in utility.
Methods: Building a Private SPN
The authors build on Sum-Product Networks (SPNs), which are rooted, directed acyclic graphs that represent multivariate probability distributions. SPNs are unique because they allow for exact and tractable probabilistic inference.
To make SPN training differentially private, the authors modify the standard top-down learning algorithm, which alternates between splitting rows and splitting columns:
- Private Instance Splitting (Rows): To group similar data points, they use a DP version of K-means clustering. Because K-means relies on counts and sums, they bound the sensitivity of the data and add Laplacian noise.
- Private Variable Splitting (Columns): Standard SPNs use statistical tests (like the G-test) to find independent columns. Doing this privately is incredibly expensive for the privacy budget. The authors' clever workaround is to use random binary splitting. Because this split is entirely independent of the data, it costs zero privacy budget, yet still yields highly competitive network structures.
- Private Distribution Learning (Leaves): The leaf nodes use DP histograms smoothed with geometric noise to handle unseen values.
- Classification: To enable classification, they add a root sum node where the children represent different classes, weighted by noisy class probabilities.
To guarantee strict privacy bounds, the algorithm hard-caps the total number of privacy-consuming operations (like K-means or leaf generation) at a maximum depth $t$.
Datasets
The authors evaluated DPSPNs across two main tasks:
- Classification & Synthetic Data Generation: 5 standard tabular datasets with mixed data types (continuous, discrete, binary): Adult, Cervical Cancer, Diabetes, German-Credit, and Bank Marketing.
- Density Estimation: 20 standard binary datasets commonly used to benchmark SPNs (e.g., NLTCS, KDD, Plants, Baudio).
Key Insights
- Randomness is a privacy freebie: The most surprising insight is that you don't need to waste privacy budget figuring out which variables are independent. Randomly partitioning the columns works remarkably well for SPN structure learning and completely bypasses the privacy cost of statistical independence tests.
- Stability saves budget: Many DP models (like PATE-GAN) are highly sensitive to initialization. If a model fails to converge, you have to throw it out and try again, spending more privacy budget each time. DPSPNs are incredibly stable across runs, meaning a single training run is usually sufficient to get a highly performant model.
- Two birds, one model: Because SPNs learn the joint probability distribution of the data, the exact same trained model can be used to classify new instances (via Most Probable Explanation inference) and sample high-fidelity synthetic data top-down.
Key Results
DPSPNs demonstrate significant improvements in both utility and stability compared to existing methods.
- High Stability: Across 50 independent training runs, DPSPNs showed significantly lower variance in AUROC compared to the baselines (as seen in the sharp peaks in the density plots above), consistently outputting usable models without the need for budget-burning restarts.
- Superior Utility at Low Budgets: At a strict privacy budget of $\epsilon = 0.1$, predictive models trained on DPSPN-generated synthetic data achieved higher mean AUROC than those trained on data from state-of-the-art baselines (PATE-GAN, MST, or PrivBayes). For example, on the Adult dataset, DPSPN synthetic data yielded an AUROC of 0.86, compared to PrivBayes (0.78) and PATE-GAN (0.49).
- Density Estimation: As the privacy budget $\epsilon$ increases to 10, the log-likelihood performance of DPSPNs closely approaches the performance of non-private SPN baselines across the 20 binary benchmark datasets.
Limitations and Future Work
- Strict vs. Approximate DP: The current methodology adheres to strict pure $\epsilon$-DP. The authors note that extending the method to approximate $(\epsilon, \delta)$-DP could allow for more flexible mechanisms and potentially higher utility.
- Budget Allocation: Currently, the privacy budget is distributed evenly. The authors suggest that allocating more privacy budget to the lower layers of the network (where fine-grained data representation happens) could improve performance.
- High-Dimensionality: While DPSPNs handle mixed tabular data well, approximating very high-dimensional distributions remains an open challenge for future exploration.
Summary updated