Synthetic Data Evaluation

Description

Synthetic data evaluation checks whether an artificial dataset made to stand in for sensitive real records is safe to share and still useful, and reports the trade-off between the two. Privacy is tested by simulating an attacker who holds the synthetic data and some facts about a person, and measuring how accurately the attacker can use the data to infer that person's sensitive values. Fidelity is tested by comparing the synthetic and real data column by column and in pairs of columns. Another check trains a classifier to tell the two apart, and a classifier that cannot beat chance suggests they are statistically alike. Utility is tested by running the analyses or training the models the data is meant for on the synthetic data and comparing the results with those from the real data.

Example Use Cases

Privacy

A hospital research office wants to share synthetic outpatient records with university partners. Before release it simulates an attacker who knows each patient's age band, sex and postcode district and tries to infer their diagnosis from the synthetic table, and it withholds the data if the attack does better than guessing from overall diagnosis rates.

Reliability

A national statistics office gives researchers synthetic microdata for exploratory analysis. After the researchers settle on their models, the office runs the same models on the real data inside a secure environment and compares the estimates, to tell the researchers whether their exploratory conclusions can be trusted.

A bank's fraud team generates synthetic card transactions to share with an external vendor. It compares how often each fraud type appears and how amount, merchant type and time of day relate in the real and synthetic data, then checks that a model trained on the synthetic data still catches rare fraud in held-out real transactions.

Limitations

  • Stronger privacy protection usually costs data quality, so the three scores pull against each other. There is no neutral threshold: where to set the balance depends on how sensitive the data is and what it will be used for, and the evaluation reports the trade-off without settling it.
  • Attack-based privacy tests only probe the attacks and attacker knowledge that were tried. A dataset that resists them may still leak to an attacker with more auxiliary information or a better method, so a good result is not proof of safety.
  • Fidelity and utility scores depend on which metrics, models and analyses are chosen. A synthetic dataset can match the real data on the columns and column pairs checked yet differ in ways that matter for a particular analysis, and general and analysis-specific utility scores can disagree.
  • Scores summarise the whole table, so rare events and small subgroups can be lost without moving the totals much. A fraud pattern or a minority group that the generator has smoothed away may show up only if the evaluation is designed to look for it.
  • The tests need statistical, privacy-engineering and domain expertise to set up and read. A classifier-based fidelity check can be misled by over-fitting or under-fitting the classifier, and weak settings can make poor synthetic data look good.

Resources

Research Papers

General and Specific Utility Measures for Synthetic Data
Joshua Snoke et al.•Mar 7, 2018

Data holders can produce synthetic versions of data sets when concerns about potential disclosure restrict the availability of the original records. The paper is concerned with methods to judge whether such synthetic data have a distribution that is comparable with that of the original data: what we term general utility. We consider how general utility compares with specific utility: the similarity of results of analyses from the synthetic data and the original data. We adapt a previous general measure of data utility, the propensity score mean-squared error pMSE, to the specific case of synthetic data and derive its distribution for the case when the correct synthesis model is used to create the synthetic data. Our asymptotic results are confirmed by a simulation study. We also consider two specific utility measures, confidence interval overlap and standardized difference in summary statistics, which we compare with the general utility results. We present two contrasting examples of data syntheses: one illustrating synthetic data that is evaluated as being useful by both general and specific measures and the second where neither is the case. For the second case we show how the general utility measures can identify the deficiencies of the synthetic data and suggest how this can inform possible improvements to the synthesis method.

Software Packages

sdv-dev/SDMetrics: Metrics to evaluate quality and efficacy of synthetic datasets
Oct 1, 2026

Metrics to evaluate quality and efficacy of synthetic datasets.

Tutorials

Quality Report | SDMetrics
Sep 28, 2026

Documentations

Welcome to TAPAS's documentation! — tapas 0.1 documentation
Tapas-privacy Developers•Jan 1, 2023
SDMetrics | Synthetic Data Metrics
Jan 28, 2026

Tags

Privacy Dimensions

Reliability Dimensions