Data Plagiarism Index: Characterizing the Privacy Risk of Data-Copying in Tabular Generative Models

Joshua Ward, Chi-Hua Wang, Guang ChengarXiv 2024

This blog post summarizes the paper "Data Plagiarism Index: Characterizing the Privacy Risk of Data-Copying in Tabular Generative Models" by Joshua Ward, Chi-Hua Wang, and Guang Cheng.

TL;DR

The authors introduce the Data Plagiarism Index (DPI), a novel metric and Membership Inference Attack (MIA) designed to detect when tabular generative models "copy" training data instead of learning general patterns. Their findings reveal a troubling trend: high-performing models often achieve their utility by plagiarizing outliers and privileged sub-populations, creating significant privacy and fairness risks.

What Problem Does This Paper Address?

Tabular generative models (like CTGAN or Tab-DDPM) are designed to produce synthetic data that mimics real-world datasets while protecting individual privacy. Ideally, these models should be "creative"—learning the underlying distribution without memorizing specific training records.

However, models often overfit, resulting in data-copying. Existing ways to measure this have major gaps:

  1. Lack of Threat Models: Many similarity metrics (like Distance to Closest Record) describe geometry but don't translate that into a quantifiable privacy risk.
  2. Complexity: Tabular data is high-dimensional and contains mixed types (categorical and continuous), making density-based privacy audits computationally expensive or prone to failure.
  3. Statistical Flaws: Some methods rely on hypothesis testing where "failing to reject the null" is incorrectly treated as a guarantee of privacy.

Methods

The authors propose the Data Plagiarism Index (DPI). The core idea is simple: for any given target data point, look at its $k$-nearest neighbors in a space containing both synthetic data and a reference dataset (a holdout set from the same distribution).

The DPI score ($\rho$) is the ratio of synthetic points to reference points in that neighborhood: $$\rho(x) = \frac{\text{Count of Synthetic Points}}{\text{Count of Reference Points}}$$

  • $\rho = 1$: Balanced generation (no plagiarism).
  • $\rho > 1$: Data Plagiarism. The model is generating an excess of points near a specific training record.
  • $\rho < 1$: Under-fitting.
Visualizing DPI: (a) shows serious plagiarism with a high ratio of synthetic (red) to reference (green) points.

The authors then turn this into a Membership Inference Attack (DPI MIA). By comparing DPI scores of training points versus holdout points, an attacker can determine with high accuracy whether a specific record was used to train the model.

Datasets

The study primarily uses the Adult Census dataset, a staple in machine learning for benchmarking both generative models and algorithmic fairness. It contains 14 attributes (mixed type) related to demographics and income. The authors split the data into three equal parts: Training, Holdout, and Reference sets.

Key Insights and Ideas

  • The Utility-Privacy Paradox: There is a clear correlation between how "good" a model looks on utility metrics (like MMD or Wasserstein distance) and its privacy risk. Models that appear to capture the data distribution best are often the ones copying the most.
  • Plagiarism as a Fairness Issue: Data-copying isn't uniform. The DPI identifies that models like Tab-DDPM disproportionately copy "privileged" outliers—for example, married, white, middle-aged individuals with high capital gains.
  • Structural Unfairness: By over-representing these privileged outliers in the synthetic data, the model doesn't just leak privacy; it reinforces existing social biases, making the synthetic data dangerous for downstream fair-ML tasks.
Figure 1: A t-SNE plot of Tab-DDPM’s training data with corresponding top 1% DPI Scores in red on the Adult dataset. DPI identifies an outlier region in the bottom right corresponding to an extreme privileged class (married, white, middle aged, high capital gains, private industry, respondents making >50k in income). This provides evidence that Tab-DDPM copies the training data of outlier and privileged classes, creating serious fairness concerns for practitioners who use synthetic data in their downstream machine learning tasks. See Sec. 5.3 for detailed discussions.

Key Results

  • Competitive Performance: DPI MIA is highly effective, often outperforming or matching state-of-the-art attacks like GAN Leaks Calibrated. In tests on the Bayesian Network (BN) model, DPI MIA achieved an AUCROC of 0.532, indicating a successful membership leak.
  • Unique Detection: The authors found a low Pearson correlation between DPI scores and other distance-based metrics. This suggests DPI is picking up on a unique "proportional" type of data-copying that other metrics miss.
  • Efficiency: Unlike density-estimation attacks (like DOMIAS) which often fail to converge on high-dimensional tabular data, DPI MIA is fast and scales well due to its reliance on simple $k$-nearest neighbor searches.

Limitations and Future Work

  • Reference Set Requirement: The DPI MIA is a "calibrated" attack, meaning it assumes the attacker has access to a reference dataset from the same distribution. While this represents a "worst-case" privacy scenario, it may not always be feasible for every attacker.
  • Proving Privacy: The authors note that while DPI can prove a model is not private (by showing high plagiarism), it cannot definitively prove a model is private.
  • Future Directions: The authors suggest applying DPI to Differential Privacy (DP) auditing to help practitioners find tighter empirical lower bounds for privacy parameters ($\epsilon$). They also aim to explore how data-copying affects other pillars of Trustworthy AI, such as robustness and interpretability.

Summary updated

Abstract

The promise of tabular generative models is to produce realistic synthetic data that can be shared and safely used without dangerous leakage of information from the training set. In evaluating these models, a variety of methods have been proposed to measure the tendency to copy data from the training dataset when generating a sample. However, these methods suffer from either not considering data-copying from a privacy threat perspective, not being motivated by recent results in the data-copying literature or being difficult to make compatible with the high dimensional, mixed type nature of tabular data. This paper proposes a new similarity metric and Membership Inference Attack called Data Plagiarism Index (DPI) for tabular data. We show that DPI evaluates a new intuitive definition of data-copying and characterizes the corresponding privacy risk. We show that the data-copying identified by DPI poses both privacy and fairness threats to common, high performing architectures; underscoring the necessity for more sophisticated generative modeling techniques to mitigate this issue.
BibTeX
@misc{ward2024data,
  author = {Joshua Ward and Chi-Hua Wang and Guang Cheng},
  title = {{Data Plagiarism Index: Characterizing the Privacy Risk of Data-Copying in Tabular Generative Models}},
  year = {2024},
  eprint = {2406.13012},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.13012},
}
Figure