A density ratio framework for evaluating the utility of synthetic data
Thom Benjamin Volker, Peter-Paul de Wolf, Erik-Jan van Kesteren
TL;DR
The paper tackles the challenge of evaluating synthetic data utility under privacy constraints and proposes a density ratio framework that directly compares observed and synthetic distributions through $r(\mathbf{x}) = p_{obs}(\mathbf{x}) / p_{syn}(\mathbf{x})$. Using nonparametric estimators with automatic hyperparameter tuning (via the densityratio R package), the framework yields both global divergence measures and local, pointwise diagnostics, enabling more nuanced utility assessment. Through univariate and multivariate simulations and a real CPS application, the authors show that density-ratio–based utilities can outperform traditional measures like $pMSE$ and KL divergence in ranking synthesis quality, while also providing actionable local information and potential for downstream reweighting. The work provides a practical, open-source workflow for synthetic data validation and model refinement, with broad applicability and clear avenues for future research into kernel choices, categorical handling, and privacy implications.
Abstract
Synthetic data generation is a promising technique to facilitate the use of sensitive data while mitigating the risk of privacy breaches. However, for synthetic data to be useful in downstream analysis tasks, it needs to be of sufficient quality. Various methods have been proposed to measure the utility of synthetic data, but their results are often incomplete or even misleading. In this paper, we propose using density ratio estimation to improve quality evaluation for synthetic data, and thereby the quality of synthesized datasets. We show how this framework relates to and builds on existing measures, yielding global and local utility measures that are informative and easy to interpret. We develop an estimator which requires little to no manual tuning due to automatic selection of a nonparametric density ratio model. Through simulations, we find that density ratio estimation yields more accurate estimates of global utility than established procedures. A real-world data application demonstrates how the density ratio can guide refinements of synthesis models and can be used to improve downstream analyses. We conclude that density ratio estimation is a valuable tool in synthetic data generation workflows and provide these methods in the accessible open source R-package densityratio.
