Abstract
Synthetic data is seen as the most promising solution to share individual-level data while preserving privacy. Shadow modeling-based Membership Inference Attacks (MIAs) have become the standard approach to evaluate the privacy risk of synthetic data. While very effective, they require a large number of datasets to be created and models trained to evaluate the risk posed by a single record. The privacy risk of a dataset is thus currently evaluated by running MIAs on a handful of records selected using ad-hoc methods. We here propose what is, to the best of our knowledge, the first principled vulnerable record identification technique for synthetic data publishing, leveraging the distance to a record's closest neighbors. We show our method to strongly outperform previous ad-hoc methods across datasets and generators. We also show evidence of our method to be robust to the choice of MIA and to specific choice of parameters. Finally, we show it to accurately identify vulnerable records when synthetic data generators are made differentially private. The choice of vulnerable records is as important as more accurate MIAs when evaluating the privacy of synthetic data releases, including from a legal perspective. We here propose a simple yet highly effective method to do so. We hope our method will enable practitioners to better estimate the risk posed by synthetic data publishing and researchers to fairly compare ever improving MIAs on synthetic data.
Introduction
Synthetic data has emerged as a powerful tool for sharing high-utility, individual-level data while theoretically safeguarding privacy. By mimicking the statistical properties of a real dataset without containing actual records, synthetic data aims to provide a safe alternative for research and analysis. However, the privacy of these datasets must be rigorously audited using Membership Inference Attacks (MIAs), which attempt to determine if a specific individual's data was used to train the generative model.
Currently, the gold standard for these audits is shadow modeling. This process involves training thousands of "shadow" generators to distinguish between models trained with and without a specific target record. While effective, this approach is computationally exhaustive; auditing even a small dataset of 1,000 records can take upwards of 250 days of compute time. Consequently, practitioners often audit only a small subset of records. If these records are chosen using ad-hoc methods, the audit may fail to identify "Achilles' heels"—highly vulnerable records that the model has memorized—leading to a false sense of security.
Methodology
This paper introduces a principled approach to identifying these vulnerable records using a distance-based metric.
The Vulnerability Score ($V_k$)
The authors propose a Vulnerability Score ($V_k$), defined as the mean distance of a record to its $k$ closest neighbors within the original private dataset. The underlying intuition is geometric: records located in "low-density" areas of the feature space are more difficult for generative models to generalize. To maintain statistical accuracy, the model may inadvertently memorize these isolated points, making them significantly easier to detect in the resulting synthetic output.
Technical Implementation
To calculate this score across diverse data types, the researchers developed a generalized distance metric:
- Categorical Attributes: Handled via one-hot encoding and cosine similarity.
- Continuous Attributes: Handled via min-max scaling.
Additionally, the study introduces a new MIA called Target Attention. This model utilizes an attention mechanism to compare a target record against the entire synthetic dataset, allowing the attack to focus on the most relevant synthetic records to predict membership more accurately than traditional methods.
Experimental Setup
The method was evaluated using two benchmark datasets:
- UK Census (2011): 570,000 records with 17 categorical columns.
- Adult (1994 US Census): 48,000 records with a mix of categorical and continuous columns.
These datasets were processed through three synthetic data generators: SynthPop (tree-based), BayNet (Bayesian Network-based), and PrivBayes (BayNet with Differential Privacy guarantees).
Key Results and Discussion
Superior Identification Performance
The distance-based $V_k$ score consistently outperformed existing ad-hoc baselines, including Random selection, Rare Value identification, and Log-likelihood metrics. On average, the proposed method improved the Area Under the Curve (AUC) for vulnerability identification by 7.2 percentage points (p.p.). In specific scenarios, such as the UK Census dataset processed via BayNet, the method identified records with a privacy risk 18.6 p.p. higher than the random baseline.
Robustness and Stability
A critical finding is the metric's robustness to parameter selection. The identification of vulnerable records remained stable regardless of whether $k$ (the number of neighbors) was set to 1 or 50. This suggests that geometric isolation is a fundamental and reliable predictor of privacy leakage in synthetic data.
Efficacy Under Differential Privacy
Even when synthetic data generators were protected by Differential Privacy (DP), the $V_k$ score accurately identified which records remained at the highest risk. As the privacy budget ($\epsilon$) increased, the distance metric continued to pinpoint the records most susceptible to membership inference, proving its utility even in privacy-hardened environments.
Conclusion
The identification of vulnerable records is as critical to privacy auditing as the accuracy of the attacks themselves. By providing a simple, distance-based method to locate these "Achilles' heels," this research enables more efficient and reliable privacy assessments. Future work may refine the distance metric to better handle ordinal data or explore the application of this score as a defensive filter to remove high-risk records before synthetic data generation begins.
Summary updated