TL;DR
TAPAS is an open-source toolbox designed to stress-test the privacy of synthetic data generators through a suite of adversarial attacks. By providing a unified, modular framework for threat modeling, it allows researchers to empirically audit privacy claims, detect implementation bugs, and even estimate "effective" differential privacy bounds.
What Problem Does This Paper Address?
Synthetic data generation (SDG) is often pitched as a "silver bullet" for data sharing: by creating artificial records that mimic the statistical properties of a real dataset, organizations hope to enable machine learning research without risking individual privacy. However, synthetic data is not inherently private. If a generator overfits or reproduces too many specific statistics of the original data, a motivated attacker can still perform Membership Inference Attacks (MIA)—determining if a specific person was in the training set—or Attribute Inference Attacks (AIA)—guessing sensitive values for a known individual.
The challenge is that existing privacy evaluations are often ad-hoc, limited to specific threat models, or rely solely on theoretical guarantees (like Differential Privacy) that might not be tight or could be undermined by implementation bugs. TAPAS addresses this by providing a standardized "adversarial toolbox" to evaluate privacy across diverse scenarios.
Methods
The core of TAPAS is a modular threat modeling framework that defines an attack based on three axes:
- Attacker Knowledge of the Dataset: Ranging from "Exact" (knowing all but one record) to "Auxiliary" (knowing a general population distribution).
- Attacker Knowledge of the Generator: Ranging from "No-box" to "Black-box" (knowing the algorithm) and "White-box" (knowing model weights).
- Attacker Goal: Usually MIA (is record $t$ in the data?) or AIA (what is the value of attribute $a$ for record $t$?).
The toolbox implements a library of attacks, including:
- Shadow-Modeling: The attacker trains their own "shadow" generators on similar data to learn how the presence of a target record affects the resulting synthetic output. TAPAS introduces a novel targeted counting queries feature map that outperforms previous methods.
- Local Neighborhood Attacks: These use distance metrics (like Hamming distance) to see if a target record has a "near neighbor" in the synthetic set.
- Inference-on-Synthetic: Treating the synthetic data itself as a model and checking for overfitting.
Finally, TAPAS includes a rigorous procedure to estimate Effective Epsilon ($\epsilon_{eff}$), providing a statistically significant lower bound on the privacy budget that can be used to verify Differential Privacy (DP) claims.
Datasets
The authors showcase TAPAS using the 2011 Census Microdata Teaching File from the UK Office for National Statistics (ONS). This dataset contains approximately 570,000 anonymized records with 15 categorical attributes.
They evaluate three different synthetic data generators on this data:
- PrivBayes: A Bayesian network-based generator providing $\epsilon$-DP.
- MST (Maximum Spanning Tree): A graphical model-based generator providing $(\epsilon, \delta)$-DP.
- CT-GAN: A popular GAN-based generator that does not provide formal DP guarantees.
Key Insights and Ideas
- The "Gap" in DP: One of the most striking findings is the gap between theoretical privacy and empirical risk. For a generator set to $\epsilon=10$ (a relatively loose theoretical bound), TAPAS found an $\epsilon_{eff}$ between 0.86 and 1.39. This suggests that either the theoretical analysis is very conservative, or current attacks aren't yet powerful enough to exploit the full theoretical leakage.
- Shadow Modeling Wins: The shadow-modeling approach, particularly when using the authors' new random-query features, consistently proved to be the most effective attack method.
- Context is King: Privacy isn't a fixed property of a dataset; it's a property of the process and the attacker's knowledge. TAPAS allows researchers to see how privacy degrades as an attacker gains more auxiliary information.
Key Results
In Experiment 1, the authors compared various attacks across the three generators. As seen in the summary statistics, different attacks perform better depending on the generator's architecture.
In Experiment 2, focusing on the MST generator ($\epsilon=10$), the authors generated ROC curves to visualize attack performance. The Shadow-Modeling attack with random-query features (purple line) significantly outperformed others, achieving an AUC of 0.70.
Limitations and Future Work
- Computational Cost: Empirical privacy auditing is expensive. Estimating $\epsilon_{eff}$ requires generating thousands of synthetic datasets, which may be prohibitive for very large or slow generative models.
- Reconstruction Attacks: The current version of TAPAS focuses on MIA and AIA. The authors note that full dataset reconstruction attacks remain an underexplored area for synthetic data.
- The "Tightness" Mystery: The significant gap between theoretical $\epsilon$ and empirical $\epsilon_{eff}$ warrants further study. Is it due to the randomness of the sampling step in SDG, or do we simply need more sophisticated "worst-case" datasets to reach the theoretical limits?
Summary updated