- For sufficiently high utility synthetic data, GSDS and synthetic data should be drawn from similar superpopulations.
The basic idea is to combine (stack) the GSDS and synthetic data and see how well a predictive model distinguishes (i.e., discriminates) between synthetic observations and confidential observations.
Poor model performance in distinguishing records indicates high-utility synthesis.
- It is possible to use logistic regression for the predictive modeling, but optimization-based models like decision trees, random forests, and boosted trees are more common.
Discriminant modeling involves:
- Training a flexible discriminator model on combined data.
- Evaluating model failure on out-of-sample data to assess synthesis quality.
General strategies:
- Use flexible models that generalize well.
- Train using holdout data excluded from synthesis.
- Evaluate using metrics that reflect poor model fit including pMSE ratio, SPECKS, and AUC.
Discriminant based models can assess the quality of synthetic data, which essentially tests how well a predictive model can distinguish between synthetic and confidential records. This approach assumes that both datasets are drawn from the same superpopulation, meaning they should reflect similar underlying distributions.
The basic idea is to combine (stack) the confidential data and synthetic data and see how well a predictive model distinguishes (i.e., discriminates) between synthetic observations and confidential observations. If the model struggles to distinguish between the two, this suggests the synthetic data closely mimics the confidential data, indicating a high quality data synthesis.
Modeling Techniques While logistic regression can be used for this binary classification task, more commonly used methods include: decision trees, random forests, and boosted trees. These models are often preferred due to their flexibility and ability to capture complex patterns.
Discriminant model metrics have two stages:
Model Training: Fit a black-box model (known as a discriminator) trained on a subset of combined confidential and synthetic data as to whether each record originated from the confidential or synthetic data (i.e., binary classification).
Model Evaluation: Assess the success (or lack of) with this model on out-of-sample data. If the model performs poorly (i.e., struggles to distinguish between the records), this indicates that the synthetic data are of high quality and closely resembles the confidential data.
General strategies:
- Discriminator models should be trained with generalization in mind and should generally be as flexible as possible.
- To accommodate discrimator model generalizability assessments, we recommend using holdout data (i.e., data withheld from the synthesis process).
- Use model evaluation metrics that assess lack of model fit.
Most discriminant based methods are propensity score based, allowing the method to compare the similarity of two datasets of the same structure of any dimension without making assumptions on the distributions of the attributes. Mathematically, these methods use the following steps. Let \(\mathbf{Y}\) be the confidential dataset with \(n\) observations and \(p\) variables.
- Combine the confidential and synthetic datasets, each of size \(n\). Create an indicator variable \(T\) where \(T_i=1\) if record \(i\) is from the synthetic data and \(T_i=0\) otherwise for \(i=1,\ldots, 2n\).
- Calculate the propensity score for each record \(i\), \(e_i=\Pr(T_i=1 \mid Y_i)\), through a classification algorithm, with the data attributes as input features.
What is done with the propensity scores next depends on the discriminant based method. Woo et al. (2009a) computes the mean squared error (MSE) of the propensity score against the true proportion of synthetic cases. Snoke et al. (2018b) enhances Woo et al. (2009a)’s approach by computing the average MSE between the propensity scores and the expected probabilities called the propensity score mean squared error (pMSE). Essentially, pMSE normalizes the MSE statistic by its expected null value and standard deviation, helping with its interpretability and differentiating the synthetic dataset apart from the confidential dataset.
Snoke et al. (2018b) also develops the pMSE ratio, which is one of the most popular discriminant based methods. The pMSE ratio is the average pMSE score across all records, divided by the null model, where the null model is the expected value of the pMSE score under the best case scenario when the model used to generate the data reflects the confidential data perfectly. Sakshaug and Raghunathan (2010) discretizes the propensity scores based on how the Chi-squared test is formulated.
Finally, Bowen, Liu, and Su (2021) calculates the eCDFs of the propensity scores of the synthetic and confidential data and then computes the KS (Kolmogorov-Smirnov) distance, a method called SPECKS. In other words, the SPECKS method considers the worst-case separation between the synthetic dataset and the confidential dataset.
What the discriminant based metrics actually measure for assessing the synthetic data quality varies depending on the method and the classification algorithm. For instance, Bowen and Snoke (2021) compares several utility metrics, such as the pMSE ratio and SPECKS, to evaluate differentially private synthetic datasets for a data challenge. The authors find that the utility metric algorithms produce mixed results in ranking the best performing differentially private synthetic data method. Conducting a study to analyze what features of the synthetic data are captured by various discriminant based methods using different classification models would be invaluable to the field (Drechsler 2022). However, to the best of our knowledge, no such study exists for synthetic data with and without differential privacy or formal privacy guarantee.