SDMetrics is an open-source Python library that provides a comprehensive suite of metrics for evaluating the quality of synthetic data. It quantifies statistical fidelity, privacy risk, and downstream utility by comparing generated datasets against real reference data, producing standardized diagnostic reports.
Glossary
SDMetrics

What is SDMetrics?
SDMetrics is an open-source Python library for evaluating synthetic data quality by computing statistical, privacy, and efficacy metrics in a standardized reporting framework.
The library automates the detection of issues like column shape divergence, pairwise correlation distortion, and boundary adherence violations. By integrating with the Synthetic Data Vault (SDV) ecosystem, SDMetrics enables data scientists to systematically validate whether synthetic datasets are safe and effective substitutes for real data in machine learning pipelines.
Core Capabilities of SDMetrics
SDMetrics is an open-source Python library that provides a standardized, extensible framework for evaluating the quality, privacy, and utility of synthetic data. It computes a comprehensive suite of metrics to ensure generated datasets are statistically faithful, protect sensitive records, and perform effectively in downstream machine learning tasks.
Frequently Asked Questions
Clear answers to common questions about evaluating synthetic data quality with SDMetrics, covering metrics, privacy diagnostics, and reporting workflows.
SDMetrics is an open-source Python library within the Synthetic Data Vault (SDV) ecosystem that provides a standardized framework for evaluating synthetic data quality. It works by computing a comprehensive battery of metrics that assess three critical dimensions: statistical fidelity, privacy risk, and downstream utility. The library programmatically compares a synthetic dataset against the real dataset it was modeled from, generating numerical scores and visual diagnostic reports. SDMetrics automates the detection of column shape deviations, correlation structure breakdowns, boundary adherence violations, and potential re-identification risks, giving data scientists a rigorous, reproducible quality assurance pipeline before synthetic data is released for analytics or machine learning.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
SDMetrics integrates with a broader ecosystem of privacy-preserving and generative modeling tools. These related concepts form the foundation for evaluating and understanding synthetic data quality.
Statistical Fidelity
The core concept SDMetrics quantifies. Statistical fidelity measures how well synthetic data preserves the univariate distributions, multivariate correlations, and aggregate statistics of the original real data.
- Column Shapes: Kolmogorov-Smirnov and Total Variation Distance
- Pair Trends: Correlation similarity and mutual information
- Boundary Adherence: Respecting min/max constraints
Privacy-Utility Trade-off
The fundamental balancing act that SDMetrics helps navigate. Stronger privacy guarantees—like differential privacy—inevitably reduce statistical fidelity. SDMetrics provides the quantitative framework to find the optimal operating point.
- Privacy metrics: Membership inference risk, re-identification scores
- Utility metrics: TSTR performance, column shape preservation
- Visual reports for stakeholder communication
Train-Synthetic-Test-Real (TSTR)
The gold-standard evaluation paradigm for measuring synthetic data utility. A model is trained entirely on synthetic data and tested on held-out real data. SDMetrics automates this workflow.
- Compares performance against Train-Real-Test-Real baseline
- Supports classification, regression, and clustering tasks
- Quantifies the downstream cost of using synthetic data
Synthetic Data Quality Report
The standardized diagnostic output generated by SDMetrics. This report quantifies fidelity, privacy, and utility in a single, auditable document.
- Overall Quality Score: Weighted aggregate across all metrics
- Column-level diagnostics: Per-feature distribution and correlation scores
- Privacy risk assessment: Identification and inference attack scores
- Exportable as HTML, JSON, or integrated into CI/CD pipelines
CTGAN
The Conditional Tabular GAN that SDMetrics frequently evaluates. CTGAN is specifically designed to model non-Gaussian, multi-modal distributions and mixed data types in structured databases.
- Handles continuous and categorical columns simultaneously
- Mode-specific normalization prevents minority class collapse
- SDMetrics validates CTGAN output for column shapes and pair trends

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us