- Introduced by
- Donald Rubin
- Year
- 1993
- Type
- Privacy-preserving data synthesis
- Family
- Privacy-preserving analysis
What does it do?
Synthetic data generation is a statistical disclosure limitation technique introduced by Donald Rubin in 1993, in which values in a confidential dataset are replaced by draws from a fitted posterior predictive distribution rather than released directly.
The resulting artificial records are designed to preserve the joint statistical structure of the original data while reducing the risk that real individuals can be identified, so analysts can work with a releasable dataset that behaves like the original for many inferential purposes. Synthesis reduces disclosure risk but does not eliminate it.
The intuition behind the method
Imagine a sculptor who, instead of lending you a priceless original statue, hands you a cast made from a model of its shape. You can measure its dimensions and study its proportions without handling the original. Synthetic data works similarly: a model learns the 'shape' of the real data and generates artificial records that share that shape, so researchers get analytically useful material without receiving the original records. As with any copy, a very faithful one can still reveal details of the original, so the risk is lowered rather than removed.
History
Donald Rubin proposed synthetic data generation in a 1993 paper on statistical disclosure limitation, adapting the multiple-imputation framework he had developed for missing data. Subsequent work distinguished fully synthetic releases, in which every value is replaced, from partially synthetic releases, in which only some variables are replaced. Deep generative models such as generative adversarial networks and variational autoencoders have since been used as synthesizers for complex tabular and longitudinal data.
When to use it
Use synthetic data generation when a dataset contains sensitive personal or commercially confidential information that legally or ethically cannot be shared in its original form, yet releasing some version of the data would benefit research or policy analysis. It is well-suited to large, complex microdata files where simple masking techniques would destroy analytical utility. Key assumptions are that the synthesis model captures the relevant joint distribution and that the intended analysis is consistent with what the synthesizer was designed to support. Choosing between release types: in a fully synthetic release every value is replaced, so no original record appears in the output; in a partially synthetic release only selected (typically sensitive or identifying) variables are replaced and the rest keep their original values. Partial synthesis retains more of the observed data but leaves original values in the file, which gives it a different disclosure profile. The choice also determines which variance combining rule analysts must use. It is a poor fit when the research question depends on individual-level records being authentic, when the synthesis model is badly misspecified, or when adversarial re-identification attacks exploiting subtle distributional artifacts are a serious concern. Alternatives include differential privacy, data enclaves, and query-based access systems. Note that model-based synthesis as described here differs from condensation-based approaches, which build synthetic records from group statistics of anonymized clusters rather than from a posterior predictive distribution.
Limitations and considerations
- Inferential validity depends critically on correct specification of the synthesis model; a misspecified model produces synthetic data with biased distributions that mislead analysts.
- Combining rules require knowledge of whether data are fully or partially synthetic and how many replicates were produced, details that must accompany the release.
- Generating high-fidelity synthetic data for variables with extreme skewness, sparse categories, or complex hierarchical structures remains technically demanding.
- Synthetic output is not unconditionally private. A synthesizer that reproduces training records closely can leak whether a person was in the original data or reveal their attribute values, so formal privacy guarantees usually require an additional mechanism such as differential privacy.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Releases a self-contained dataset that analysts can use with standard software and workflows without special infrastructure.
- Grounded in a Bayesian multiple-imputation framework, which supports valid variance estimation when the appropriate combining rule is applied.
- Can reproduce complex multivariate relationships, rare subgroup distributions, and longitudinal structures that simple masking methods distort.
- Partially synthetic releases keep original values for variables that are not synthesized, so the released records retain more of the observed data than a fully synthetic release does, at the cost of a different disclosure profile.
Applications
- National statistical agencies releasing public-use microdata files from censuses and household surveys while protecting respondent identities.
- Healthcare researchers sharing patient-level records for epidemiological analysis without exposing protected health information under health-data rules such as HIPAA or GDPR.
- Technology companies generating synthetic user-behavior logs for training and benchmarking machine-learning models when real logs are too sensitive to use directly.
How it works
How it works
A generative model, ranging from Bayesian parametric models to sequential regression or deep generative networks, is fitted to the confidential original dataset. The goal is to capture the full joint distribution of all variables, including their correlations and marginal characteristics, so that the synthesizer encodes what an analyst would need for downstream inference.
Formula
p(X_{\text{synth}} \mid X_{\text{obs}}) = \int p(X_{\text{synth}} \mid \theta)\, p(\theta \mid X_{\text{obs}})\, d\thetaRather than using a single point estimate of the model parameters, the synthesis procedure samples a fresh parameter vector from the posterior distribution given the observed data. This Bayesian step propagates parameter uncertainty into each synthetic replicate, preventing over-confident inferences and aligning the synthesis framework formally with Rubin's multiple-imputation theory.
Formula
\theta^{*} \sim p(\theta \mid X_{\text{obs}})Using the drawn parameter vector, a new dataset of the same dimensions as the original is simulated. This step is repeated M times (typically M = 5–20) to produce M synthetic replicates, each reflecting a different parameter draw, so that the variability due to parameter estimation is carried into the replicates.
Formula
X_{\text{synth}}^{(m)} \sim p(X \mid \theta^{*}), \quad m = 1, \ldots, MAnalysts run their statistical procedure on each of the M synthetic datasets, obtaining M point estimates and variance estimates. The overall point estimate is the average of the M estimates. The displayed variance formula, which adds the average within-replicate variance to the between-replicate variance scaled by (M+1)/M, is the multiple-imputation-style rule used for partially synthetic releases. Fully synthetic releases use a different variance rule, so analysts must apply the rule that matches how the data were produced, and the release documentation should state which one applies.
Formula
\bar{Q} = \frac{1}{M} \sum_{m=1}^{M} \hat{Q}^{(m)}, \quad T = \frac{1}{M}\sum_{m=1}^{M} U^{(m)} + \frac{M+1}{M} B_MCommon pitfalls
- Releasing only a single synthetic replicate (M = 1) invalidates the combining-rules framework and produces overconfident standard errors.
- Fitting the synthesis model on a non-representative subsample and then generating synthetic records at population scale introduces systematic bias that analysts may not detect.
- Treating synthetic data as a perfect substitute for real data in analyses that require individual authenticity — such as record linkage or geographic micro-targeting — leads to substantively wrong conclusions.
- Omitting rare but analytically important subgroups from the synthesis model can cause those groups to be absent or severely distorted in the synthetic output.
Frequently asked questions
How many synthetic replicates (M) do I need?
Combining rules need at least two replicates to estimate between-replicate variability, and a single replicate (M = 1) cannot support valid inference. The page's guidance of M = 5 to 20 is a typical range. More replicates make the between-replicate variance estimate less noisy, with diminishing returns, and the right number depends on how much of the total uncertainty comes from synthesis relative to sampling variability.
Is synthetic data the same as anonymized data under GDPR?
Not automatically. Regulators generally treat synthetic data cautiously. If the synthesis model memorizes or closely reproduces individual records, the output may still be treated as personal data. Whether a release counts as anonymized depends on whether re-identification is reasonably impossible in context, and formal guarantees such as differential privacy applied within the synthesis procedure are one way to support that assessment. Legal classification should be checked with the relevant data protection authority or legal counsel.
Can I use deep generative models instead of Bayesian regression synthesizers?
Yes. GANs, VAEs, and diffusion models have been applied as synthesizers and can capture highly nonlinear dependencies that parametric models miss. However, they lack the principled posterior-sampling interpretation underpinning Rubin's combining rules. Additional work is needed to quantify synthesis uncertainty, because releasing M replicates from a generative network does not automatically give independent posterior draws and may yield replicates that are too similar to support valid inference.
Related methods
Sources
Rubin, D. B. (1993). Statistical disclosure limitation. Journal of Official Statistics, 9(2), 461–468.
Open publication reference