TL;DR
Synthetic data offers a privacy-preserving alternative to real data, but its privacy guarantees are not always straightforward. This paper introduces TAPAS, a comprehensive toolbox and framework for rigorously auditing the privacy of synthetic data generators through a variety of adversarial attacks. TAPAS aims to provide a more realistic and context-aware assessment of privacy risks than traditional formal guarantees alone.
What Problem Does This Paper Address?
The increasing availability of large datasets fuels innovation but also raises significant privacy concerns. Synthetic data generation is a promising solution, creating artificial datasets that mimic real data's statistical properties without directly exposing individuals. However, simply generating synthetic data doesn't automatically guarantee privacy. Attackers can still infer sensitive information about the original data through various means, such as memorization by the generator or by exploiting statistical correlations. Existing privacy evaluation methods are often limited in scope, focusing on specific threat models or relying on formal guarantees that may not reflect real-world attack capabilities. This paper addresses the need for a more robust and flexible framework to evaluate the privacy of synthetic data generators against a wide range of potential adversaries.
Methods
TAPAS introduces a modular threat modeling framework that defines attacks based on three key attributes:
- Attacker's knowledge of the real dataset: This can range from having no information to knowing the dataset is one of two specific neighboring datasets (useful for verifying differential privacy).
- Attacker's knowledge of the generator: This includes "no-box" (no knowledge), "black-box" (can query the generator), and "white-box" (access to generator parameters like weights). TAPAS also includes an "uncertain-box" where the generator is parameterized and the attacker has uncertainty about these parameters.
- Attacker's goal: Common goals include Targeted Membership Inference (MIA) to determine if a specific record is in the original dataset, and Targeted Attribute Inference (AIA) to infer a sensitive attribute of a record. Reconstruction attacks are also mentioned but are less explored.
Based on this framework, TAPAS implements a library of attacks, including:
- Shadow-Modeling Attacks: The attacker trains a "shadow" generator to mimic the target generator and then uses this to perform attacks.
- Local Neighborhood Attacks: These attacks leverage the proximity of synthetic data points to a target record to infer information.
- Inference-on-Synthetic Attacks: This approach trains a model directly on the synthetic data to perform attacks, assuming the generator might have "overfit" to the real data.
TAPAS also provides reporting mechanisms, including classification metrics (accuracy, AUROC), ROC curves, and an "effective epsilon" ($\epsilon_{eff}$) estimation for empirically verifying differential privacy.
Datasets
The paper uses the Office for National Statistics' 2011 Census Microdata Teaching File for evaluation. This dataset contains approximately 570,000 records with 15 categorical attributes, representing a 1% sample of the 2011 Census of England and Wales. This dataset is described as already being recognized as non-disclosive, making it an interesting testbed for evaluating advanced privacy auditing techniques.
Key Insights and Ideas
- Formal DP is not enough: The paper highlights that even generators designed with differential privacy guarantees may not be truly private in practice, especially when considering the sampling process of synthetic data generation. The $\epsilon_{eff}$ metric is introduced to provide a more realistic privacy assessment.
- Context-aware attacks are crucial: The modular threat modeling framework emphasizes that the effectiveness of an attack depends heavily on the attacker's knowledge and goals. TAPAS allows for flexible configuration to simulate various realistic attack scenarios.
- Shadow modeling is a powerful technique: The paper demonstrates that shadow-modeling attacks, particularly those using novel "random-query" features, can be highly effective in inferring private information.
- Empirical privacy evaluation is challenging but necessary: Estimating privacy guarantees like $\epsilon_{eff}$ is computationally intensive and requires careful experimental design. The paper shows that empirical estimates can sometimes contradict theoretical guarantees, pointing to potential gaps in either the theoretical models or the attack strategies.
Key Results
The paper showcases TAPAS through two experiments using the Census dataset and three generators (PrivBayes, MST, and CT-GAN).
- Experiment 1: Evaluated attribute inference attacks. The results, presented in Figure 1(a), compare the accuracy, privacy gain, and AUC of various attacks. The paper notes that the shadow-modeling attack with random-query features performed well.
- Experiment 2: Focused on empirically estimating $\epsilon_{eff}$ for the MST generator. The ROC curves in Figure 1(b) show that the shadow-modeling attack with random-query features achieved an AUC of 0.70, outperforming other attacks. However, the estimated $\epsilon_{eff}$ fell outside the theoretical confidence interval for the DP-guaranteed generator, suggesting potential issues with the tightness of the privacy analysis or the attack's optimality.
Limitations and Future Work
- Reconstruction attacks are underexplored: The paper states that reconstruction attacks, where the goal is to reconstruct the entire original dataset, are currently an underexplored research area within TAPAS.
- Tightness of privacy analysis: The discrepancy between theoretical DP guarantees and empirical $\epsilon_{eff}$ estimates in Experiment 2 suggests that further work is needed to understand why these gaps exist. This could involve investigating the tightness of the privacy analysis, the design of worst-case datasets, or the optimality of the attacks used for estimation.
- Computational cost of $\epsilon_{eff}$ estimation: The paper acknowledges that empirical estimation of DP guarantees is computationally intensive.
- Future work: The authors suggest further research into reconstruction attacks and a deeper analysis of the factors contributing to the observed gaps between theoretical and empirical privacy evaluations. The TAPAS toolbox itself is open-source, encouraging community contributions and further development.
Summary updated