Inferensys

Glossary

Propensity Score Matching

A statistical utility metric that evaluates synthetic data quality by measuring how well a classifier can distinguish between real and synthetic records, with lower discriminability indicating higher fidelity.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
SYNTHETIC DATA UTILITY METRIC

What is Propensity Score Matching?

Propensity Score Matching (PSM) is a statistical evaluation framework that measures synthetic data fidelity by training a classifier to distinguish between real and generated records, where lower discriminability indicates higher quality.

Propensity Score Matching for synthetic data evaluation operates by combining real and synthetic records into a single pool, then training a binary classifier—typically a logistic regression or gradient-boosted tree—to predict whether each record originated from the real or synthetic distribution. The resulting probability scores, or propensity scores, represent the likelihood that a given record is synthetic. When the synthetic data faithfully captures the original distribution, the classifier performs no better than random chance, yielding propensity scores tightly clustered around 0.5 and an Area Under the Receiver Operating Characteristic Curve (AUC) approaching 0.5.

This methodology extends beyond simple univariate comparisons by evaluating the joint distributional fidelity of the entire feature space. A high AUC or systematic deviation in propensity scores reveals specific regions where the synthetic generator failed to model complex interactions, such as multivariate correlations or rare category combinations. Unlike marginal distribution tests, PSM provides a single, interpretable summary statistic—the propensity score mean squared error (pMSE) —that quantifies overall utility while enabling practitioners to diagnose which feature subspaces require generator retraining or architectural adjustment.

SYNTHETIC DATA QUALITY METRIC

Key Characteristics of Propensity Score Matching

Propensity Score Matching (PSM) is a statistical utility metric that evaluates synthetic data fidelity by measuring how well a classifier can distinguish between real and synthetic records. Lower discriminability indicates higher fidelity, meaning the synthetic data is statistically indistinguishable from the original.

01

The Propensity Score Calculation

The propensity score is the predicted probability that a given record belongs to the synthetic dataset rather than the real dataset. A classifier—typically logistic regression or a gradient-boosted tree—is trained on a combined dataset where real records are labeled 0 and synthetic records are labeled 1. The model outputs a score between 0 and 1 for each record.

  • Score near 0.5: The classifier cannot distinguish the record's origin, indicating high fidelity.
  • Score near 0 or 1: The classifier easily identifies the record as real or synthetic, revealing distributional gaps.
  • The distribution of propensity scores across all records forms the basis for the utility metric.
0.5
Ideal Propensity Score
02

Propensity Mean Squared Error (pMSE)

The pMSE is the primary summary statistic derived from propensity scores. It is calculated as the mean squared difference between each record's propensity score and the expected proportion of synthetic records in the combined dataset (typically 0.5 for balanced datasets).

  • Formula: pMSE = (1/N) * Σ (p̂ᵢ - c)², where c is the proportion of synthetic records.
  • Lower pMSE values indicate better utility, with 0 representing perfect indistinguishability.
  • A null baseline pMSE can be calculated by repeatedly splitting the real data in half and computing the metric, establishing an expected value for identical distributions.
  • The ratio of the observed pMSE to the null baseline provides a standardized utility score.
< 0.001
Excellent pMSE Threshold
03

Distributional Overlap Assessment

PSM evaluates whether the synthetic data covers the same regions of the feature space as the real data. A well-synthesized dataset should have propensity scores concentrated around 0.5, forming a unimodal distribution centered at the midpoint.

  • Bimodal distributions with peaks near 0 and 1 indicate the generator failed to capture certain modes of the real data or introduced artifacts.
  • Density plots of propensity scores for real and synthetic records should overlap substantially.
  • This assessment catches mode collapse—a common failure in GANs where the generator produces only a subset of the real data's diversity.
  • Unlike univariate metrics, PSM captures multivariate distributional fidelity in a single scalar value.
Unimodal
Target Distribution Shape
04

Feature-Level Diagnostics

Beyond the aggregate pMSE, PSM enables feature-level utility analysis by examining which variables most influence the classifier's decisions. Feature importance scores from the propensity model reveal where the synthetic data deviates from the real distribution.

  • High-importance features indicate columns where the generator struggled to replicate marginal distributions or inter-attribute correlations.
  • This diagnostic guides iterative model improvement: data scientists can focus on specific columns for preprocessing adjustments or generator architecture changes.
  • Partial dependence plots of propensity scores against individual features show exactly where in the feature space the synthetic data diverges.
  • This granularity makes PSM more actionable than single-number utility metrics like the Hellinger distance.
Per-Feature
Diagnostic Granularity
05

Comparison with Other Utility Metrics

PSM complements but does not replace other synthetic data evaluation methods. Each metric captures a different dimension of fidelity:

  • Univariate statistics (mean, variance, KS test): Compare marginal distributions column-by-column but miss multivariate relationships.
  • Pairwise correlation matrices: Assess bivariate relationships but scale poorly to high-dimensional data.
  • Discriminative metrics like PSM: Capture joint distributional fidelity across all features simultaneously.
  • Domain-specific utility: Measures whether synthetic data produces the same downstream model performance as real data.
  • Best practice is to report multiple utility dimensions—PSM for overall distributional fidelity, univariate tests for column-level accuracy, and task-specific benchmarks for practical utility.
Multi-Dimensional
Recommended Evaluation
06

Implementation in Private Synthetic Data Factories

In sovereign AI infrastructure, PSM is executed entirely within the on-premises synthetic data vault, ensuring that real sensitive data never leaves the controlled environment during quality assessment.

  • The combined real-synthetic dataset is constructed in-memory within the secure enclave.
  • The propensity classifier is trained using differentially private algorithms if the scores themselves could leak information.
  • Automated CI/CD pipelines run PSM as a quality gate before synthetic datasets are released to downstream consumers.
  • Thresholds for acceptable pMSE are defined in the disclosure control framework and enforced programmatically.
  • Results are logged to tamper-proof audit trails for regulatory compliance and model governance.
On-Premises
Execution Environment
PROPENSITY SCORE MATCHING EXPLAINED

Frequently Asked Questions

Clear, technically precise answers to the most common questions about using propensity score matching to evaluate synthetic data fidelity and privacy preservation.

Propensity score matching (PSM) is a statistical utility metric that evaluates synthetic data quality by measuring how well a classifier can distinguish between real and synthetic records. The core mechanism involves training a discriminator model—typically logistic regression or a gradient-boosted tree—to predict whether each record in a combined dataset originated from the real distribution or the synthetic generator. The resulting probability, called the propensity score, represents the likelihood that a given record is synthetic. When synthetic data exhibits high fidelity, the classifier struggles to differentiate between the two sources, producing propensity scores clustered around 0.5. The final utility metric is often expressed as the propensity score mean squared error (pMSE), where lower values indicate greater indistinguishability and thus higher synthetic data quality. This approach provides a single scalar summary that captures multivariate distributional similarity without requiring manual feature-by-feature comparisons.

UTILITY METRIC COMPARISON

PSM vs. Other Synthetic Data Utility Metrics

Comparing Propensity Score Matching against alternative statistical methods for evaluating synthetic data fidelity and discriminability.

MetricPropensity Score MatchingWasserstein DistanceKullback-Leibler Divergence

Core Mechanism

Trains classifier to distinguish real vs. synthetic; lower accuracy = higher fidelity

Measures minimum cost to transform synthetic distribution into real distribution

Quantifies information loss when synthetic distribution approximates real distribution

Discriminability Assessment

Handles Mixed Data Types

Interpretable Score Range

0.0 to 1.0 (0.5 = indistinguishable)

0 to ∞ (0 = identical)

0 to ∞ (0 = identical)

Sensitive to Outliers

Computational Complexity

Moderate (classifier training)

High (optimal transport calculation)

Low (probability ratio summation)

Requires Paired Samples

Privacy Leakage Detection

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.