Causally Constrained Data Synthesis for Privacy-Preserving Data PublicationCausally Constrained Data Synthesis for Private Data Release
The authors propose introducing a causal graph into VAE synthetic data generation; theoretically the causal model is claimed to have a lower privacy budget, and in experiments the causal model is more resilient to membership inference attacks.
The defender holds a sensitive dataset and wishes to release synthetic data with an ε-DP guarantee; the attacker is a membership inference (MI) adversary who can access synthetic data sampled from generative models trained with and without the target record, and trains a classifier to determine whether a record participated in training (the MI attack of Stadler et al., 2020).
- When releasing synthetic substitutes for sensitive data, differential privacy mechanisms involve a privacy-utility trade-off; correlations in tabular data mean the required noise often destroys usable signal, and measuring privacy by ε alone is insufficient to reflect actual resilience to membership inference attacks.
- Introduce a structured causal graph (SCG) as a prior in VAE generative model training, so that the generative process is factorized along the causal direction, and combine it with DP-SGD training; theoretically prove that the privacy budget of the causal model is no higher than that of the associational model.
- On EEDI, Pain1000, and Pain5000, without DP the causal model improves downstream utility by an average of 2.42 percentage points, while the non-causal model decreases by an average of 3.49 percentage points; the full causal graph plus DP reduces the MI adversary's advantage on the synthetic data, and the partial causal graph reduces the advantage under most combinations, but under certain feature extractor and classifier combinations the advantage instead increases.
- The authors note: the SCG must be provided externally, and automatically generating the SCG is future work; the interaction between partial causal information and DP, under certain combinations, instead increases attack effectiveness and requires further analysis; the impact of incorrect causal information remains to be studied.
- Evaluated models
- Causal VAENon-Causal VAE
- Benchmarks
- EEDIPain1000Pain5000Synthetic
- Metrics
- ε(privacy budget)adversary's advantage(MI 攻击准确率变化)下游分类效用变化(百分点)
The research proposes incorporating causal information into generative model training to improve the privacy-utility trade-off of differentially private data release. The authors theoretically prove that generative models trained with additional causal knowledge can provide stronger differential privacy guarantees; on VAE-based models, experiments show that causal information improves resistance to membership inference while downstream utility also improves.
Paper analysis
What problem does this paper attempt to solve?
To address the privacy-utility trade-off of DP in private data release, the authors propose using causal information to improve this trade-off.
Core problem: how to improve the unacceptable trade-off between privacy and utility when releasing synthetic tabular data with a formal differential privacy guarantee.
- Problem setting: sensitive data in scenarios such as healthcare and social justice cannot be released directly; if synthetic data are constructed improperly, they leak information about the original data, and the authors cite membership inference and attribute inference attacks to show that such leakage negates the privacy advantages of synthetic data.
- Shortcomings of existing methods: the authors state that differential privacy is the de facto standard for synthetic data release, but the correlations between records and between attributes in tabular data mean that the noise required to provide a meaningful guarantee often destroys the discernible signal; moreover, prior work made many assumptions about how synthetic data are used, yielding heuristic solutions that are hard to transfer.
- Core observation/hypothesis: the authors hypothesize that the data are produced by a data-generating process characterized by a causal graph (SCG), and that models factorized along the causal direction are more stable and have lower worst-case loss, hence lower sensitivity and a better privacy budget; prior work demonstrated the privacy benefits of causal learning only in a discriminative setting (Tople et al., 2020), and the authors state that their results are more general.
- Contributions of the paper: (1) theoretically prove that a causally consistent generative model has a lower privacy budget than its non-causal counterpart (Theorem 1); (2) a VAE-based causally consistent and differentially private data release mechanism; (3) empirical privacy evaluation using membership inference attacks, rather than relying only on ε values.
- Threat model:
- Defender's goal: hold a sensitive dataset Dp and release a synthetic dataset Ds with an ε-DP guarantee that is useful for downstream decision tasks.
- Attacker: a membership inference (MI) adversary, using the attack against generative models of Stadler et al. (2020).
- Attacker's capability: can obtain two types of synthetic data—samples from a generative model trained on a training set containing the target record, and samples from a model trained without that record; on this basis, train a classifier to determine whether the record is in the training set.
- Victim system: a (causal or non-causal, DP or non-DP) VAE generative model trained on sensitive data.
What related research exists?
Related work falls into three categories: private data generation, membership inference attacks, and the combination of causality and privacy; the authors state that this paper generalizes the privacy benefits of causality to the generative setting.
Private data generation
- PrivBAYES (Zhang et al., 2017) and Jälkö et al. (2019): add calibrated noise to latent representations using Bayesian networks; PrivSyn (Zhang et al., 2020b) uses a more clever mechanism to determine correlations.
- DP-GAN-type work (Jordon et al., 2018; Wu et al., 2019; Harder et al., 2020, etc.): generate synthetic data with GANs; the authors state that only a few of these provide formal privacy guarantees, and that techniques using attackers for evaluation are rare across the field (Mukherjee et al., 2019).
- Early DP data release (Xiao et al., 2010; Hardt et al., 2010; Cormode et al., 2019; Dwork et al., 2009): the authors state that these works make many assumptions about how synthetic data is used, and the schemes are hard to transfer.
Membership inference (MI)
- Shokri et al. (2017): popularized MI attacks; Yeom et al. (2018) linked MI to overfitting and proposed differentially private training as a candidate defense; the authors state that most work focuses on the discriminative setting.
- MI against generative models (Stadler et al., 2020; Hayes et al., 2019; Chen et al., 2020; Hilprecht et al., 2019): proposed various attacks, but the authors state that these works provide limited explanation of why the attacks work. This paper's MI evaluation directly adopts the attack of Stadler et al. (2020).
Causality and privacy
- Tople et al. (2020): demonstrated privacy benefits of causal learning in the discriminative setting; the authors state that this paper's results are more general, covering both discriminative and generative models.
- CAMA (Zhang et al., 2020a): modeling principles similar to this paper, but the authors point out that CAMA only focuses on prediction tasks and ignores variables outside the Markov blanket of the target variable, whereas this paper targets data generation and needs to consider the full causal graph; the authors state that their scheme generalizes CAMA.
Baselines and benchmarks: the comparison in the experiments is a non-causal (associational) VAE, compared with the causal VAE under the same ε; the datasets used are EEDI, Pain1000, Pain5000, and a Synthetic dataset with a known true causal graph (Table 1).
The authors position this paper as: introducing causal information into generative private data release, and supplementing the existing practice of measuring privacy by ε alone with an empirical MI attack.
How does the paper address this problem?
Introducing a causal graph into VAE training makes the generative factorization consistent with the causal direction, theoretically reducing sensitivity and ε, and is then combined with DP-SGD training.
Overall idea: encode domain causal knowledge (a structured causal graph, SCG) as a prior into the generation process of a causally consistent VAE, and train with DP-SGD to obtain a differential privacy guarantee; the theoretical core is proving that the causal model has lower worst-case loss, and thus lower sensitivity and privacy budget.
Problem setting and theoretical results
- Private data release: design fθ : Z → X that takes a sensitive dataset Dp as input and outputs a synthetic dataset Ds with a formal privacy guarantee that preserves downstream task properties; the privacy guarantee is ε-differential privacy, relying on the post-processing property: if the generative model training satisfies DP, then the synthetic data obtained by sampling also satisfies DP.
- Causally consistent model: a model that factorizes the joint distribution according to causal direction; e.g., when X1 → X2 it factorizes as P(X1)·P(X2|X1), and by the modularity property, the mechanism generating x2 from x1 is independent of the marginal distribution of x1, whereas the reverse (anti-causal) factorization does not have this property.
- Theorem 1: under strongly convex and Lipschitz continuous loss, ERM training, and a hypothesis space expressive enough to represent the true causal function, whether n→∞ or finite n (the latter requires Assumption 1), the privacy budget of the causal model is no higher than that of the associational model, i.e., εc ≤ εa.
- Key step of the proof: for a loss-maximization (LM) adversary, maxx Lx(fθc) ≤ maxx Lx(fθa), i.e., the worst-case loss of the causal model does not exceed that of the associational model; the intuition is that in the causal model the LM adversary is constrained by the data generation process, whereas in the associational model it is not. Then, by strong convexity and the Lipschitz property, the loss difference is converted into a parameter sensitivity difference, and ε is a monotone function of sensitivity.
- Assumption 1 for finite samples: the associational model has a non-trivial contribution from associational (non-causal) features; Remark in Appendix A points out that if the assumption is violated (e.g., n is too small or the associational model barely depends on associational features), the causal model's privacy budget may instead be higher.
Causal deep generative model
- Generation process consistent with the causal graph: taking Figure 1 as an example, variables X1, X2 satisfy X1 → X2, Z is an unobserved variable, and the model is p(x1, x2, z) = p(z)pθ1(x1|z)pθ2(x2|x1, z), with inference network qφ(z|x1, x2); the training objective is to maximize the ELBO: ELBO = Eqϕ(z|x)[log pθ(x|z)] − KL[qϕ(z|x)|p(z)].
- Reasons given by the authors: the causal model knows the correct factorization of the joint distribution, the learned factorized distribution is more stable and the model is well specified, with lower worst-case loss on unseen points; the associational model may fit spurious correlations.
- Source of the causal graph: the paper assumes the causal relationships are given; in practice they may come from domain experts or causal discovery algorithms.
Implementation and training
- Datasets: EEDI (2950 records, k=948, online education answer data, containing missing entries, handled with partial VAE techniques); Pain (neuropathic pain diagnosis simulator data), split into Pain1000 (1000 records) and Pain5000 (5000 records), k=222; plus Synthetic (1000 records, k=22). The causal graph is given (partially) by domain knowledge (Appendix C).
- DP training: DP-SGD (gradient clipping plus noise) implemented with opacus v0.10.0, grid search over clipping norm C and noise multiplier σ, ε computed with Renyi DP accounting; the causal and non-causal models report the same ε on the same dataset (Table 1: EEDI 12.42, Pain5000 5.62, Pain1000 2.36, Synthetic 3.9).
- Architecture and hyperparameters (Appendix B): encoder/decoder are both 3-layer feedforward networks, embedding dimension 10, learning rate 0.001; EEDI batch size 200, 1000 epochs, Pain batch size 100, 100 epochs, Synthetic batch size 100, 50 epochs (Table 3).
Evaluation methods
- MI attack (Algorithm 1, Stadler et al., 2020): for each target record, separately train generative models with and without it and sample, then train a discriminative classifier to determine membership; parameters nT=5, n=5, t=|D|, ns=100, s=100; feature extractors are Naive, Histogram, Correlations, Ensemble; EEDI did not use Correlations and Ensemble due to server compute limits.
- Utility evaluation: use k−1 attributes to predict the k-th attribute, randomly select 20 attributes, train 5 classifiers (linear SVC/kernel, svc, logistic regression, rf, knn), and compare predictive ability trained on original data versus synthetic data; additionally use 10 random attributes to draw pairplots for visual comparison.
What experiments did the paper conduct?
Comparing the downstream utility and MI attack resilience of causal/non-causal VAEs on 4 datasets, the authors state that the causal model has better utility at the same ε and is more resilient to MI.
Experimental setup
- Models tested: 4 models per dataset—causal VAE and non-causal VAE, each trained with and without DP.
- Datasets: EEDI (2950 records, k=948), Pain1000 (1000 records, k=222), Pain5000 (5000 records, k=222), Synthetic (1000 records, k=22, true causal graph known) (Table 1).
- Baseline: a non-causal (associational) VAE with the same ε on the same dataset; the utility reference is a classifier trained on the original data.
- Metrics: downstream utility change = original data utility − synthetic data utility (percentage points, negative values indicate improvement); MI evaluation uses adversary advantage degradation (positive values indicate effective defense), and Appendix F reports attack Accuracy, PA, NA.
- MI attack parameters: nT=5, n=5, ns=100, s=100 (§5.3); for EEDI, the Correlations and Ensemble extractors were not used (compute constraints).
- ε settings: the same for causal and non-causal models—EEDI 12.42, Pain5000 5.62, Pain1000 2.36, Synthetic 3.9 (Table 1).
Main results
Table 2 reports the downstream utility change (original − synthetic, negative values indicate improvement), given by dataset × DP setting × 5 classifiers. The paper summarizes: without DP, the non-causal model decreases by an average of 3.49 percentage points, and the causal model improves by an average of 2.42 percentage points (§6.1). Some cells (according to Table 2):
Swipe horizontally to read the table
Dataset DP Non-causal (kernel/rf) Causal (kernel/rf) EEDI Yes 6.83 / 6.54 -4.04 / 6.09 EEDI No 1.14 / 5.27 -6.83 / -0.03 Pain1000 Yes 9.56 / 5.86 -1.84 / 2.22 Pain5000 No 3.53 / 0.48 -0.64 / -4.62 - The authors state: DP training brings a utility decrease in both the causal and non-causal settings, but the decrease is smaller in the causal setting.
- The authors state: under the same ε-DP guarantee, the causal model has better utility, indicating that causal information improves the privacy-utility trade-off.
- In Figure 6 (utility-ε curves) of Appendix D, the authors state that at a fixed ε the causal model's utility is always higher than that of the associational model; the pairplot in Appendix D is used by the authors to support the similarity between synthetic data and original data.
MI attack: full causal graph (Synthetic)
- What was tested: a toy experiment with a known true SCG, comparing the change in adversary advantage under DP between causal and non-causal models (Figure 2).
- Results: in the figure, the advantage degradation under DP is mostly positive for both causal and non-causal models; the authors state that the causal model provides more advantage degradation on average, and that the ε is the same for both.
- Authors' interpretation: the authors state that this corroborates the theoretical claim in §3.1, and consider that ε cannot serve as the sole criterion for measuring the privacy of generative models—the same ε does not necessarily correspond to the same actual resistance to MI.
MI attack: partial causal graph (EEDI, Pain5000)
- Effect of DP alone (Figure 3): when switching from a non-DP model to a DP model, the adversary advantage decreases to varying degrees on both datasets; the authors state that DP training is a reliable defense against this type of adversary.
- Effect of causality alone (Figure 4): without DP, introducing causal information yields advantage degradation above zero on both datasets; the authors state that the effect is moderate on EEDI and more pronounced on Pain5000, and conjecture that the reason is that causal learning eliminates spurious correlations between attributes.
- Causal + DP (Figure 5): under most feature extractor and classifier combinations the advantage degradation is positive, but there are exceptions—on EEDI, with svc and svc kernel using Naive features, causal plus DP instead increases the attacker's advantage (Figure 5b); the authors state that this phenomenon is unexplained and offer two conjectures: the partial causal information does not fully eliminate spurious correlations, and the information in the graph is offset by DP training. Appendix E reports that on Pain1000, causal+DP likewise helps the attacker under some combinations.
Other ablations and analyses
- Appendix F (Tables 5–10): complete MI Accuracy/PA/NA for each dataset × causal/non-causal × DP × extractor × attack classifier; for example, on EEDI non-causal without DP, the knn+Naive attack Accuracy is 99.7, and with DP it is 100.0 (Table 5).
- Appendix D Table 4: baseline accuracy on the original data, e.g., EEDI 86.93–93.8, Pain5000 92.14–97.47 (corresponding to the ranges in parentheses in Table 2).
- Appendix B Table 3: batch size and number of epochs for the causal/non-causal models on each dataset.
- Negative results: partial causal graph + DP increases the attacker's advantage under specific feature extractor-dataset combinations (§6.2.2, Appendix E); the authors offer only conjectures and do not reach a conclusion.
What are some points that can be further explored?
The authors list three future directions: automatic generation of SCGs, the interaction between partial causal information and DP, and the impact of incorrect causal information.
Limitations and future directions noted by the authors
- SCG must be provided externally (§7): the method assumes the SCG is already given; the authors state that future work needs to automatically generate the SCG from observational data and incorporate it directly into VAE training.
- The interaction between partial causal information and DP is unclear (§7): under specific dataset and feature extractor combinations, adding DP on top of causal information instead increases attack effectiveness; the authors state that a more detailed analysis is needed.
- The impact of incorrect causal information is unknown (§7): the authors want to understand the impact of incorrect causal information on MI effectiveness.
- Theoretical assumptions may be violated (Appendix A Remark): Theorem 1 relies on Assumption 1 and a sufficiently large n; when the assumptions are violated (small samples, or the associational model barely depends on the associated features), the privacy budget of the causal model may be higher than that of the associational model.
Scope of experiments
- The models tested are of two types, causal VAE and non-causal VAE, each trained with and without DP, for 4 configurations in total, evaluated on 4 datasets (§6.2).
- The datasets are EEDI, Pain1000, Pain5000, and Synthetic (Table 1); the Pain data come from a causal simulator, and Synthetic is toy data with a known true causal graph.
- MI evaluation uses only one attack, Stadler et al. (2020), with parameters nT=5, n=5, ns=100, s=100; for EEDI, the Correlations and Ensemble extractors were not used due to compute constraints (§5.3, §6.2).
- Utility evaluation covers 5 classifiers and 20 randomly selected attributes to predict per dataset (§5.4); the paper does not report the number of repetitions or variance for the utility or MI experiments.
- For the partial causal graph experiments, the main text reports only EEDI and Pain5000; the Pain1000 results are in Appendix E (§6.2.2).
Summarize the main content of the paper
The authors propose causal-constrained DP-VAE data release: theoretically lower ε, and in experiments better utility and more resilience to MI under the same ε.
A defense-type work on private data release: introducing causal information into synthetic data generation to improve the privacy-utility trade-off of differential privacy.
- Problem: in DP synthetic data release, correlations in tabular data mean the required noise often destroys utility; and existing work mostly uses ε as the sole measure of privacy.
- Method: train a causally consistent VAE with an SCG as prior, so that the generative factorization is consistent with causal direction, and train with DP-SGD; Theorem 1 proves that under strongly convex, Lipschitz loss and ERM, the causal model has lower worst-case loss, hence εc ≤ εa (finite samples require Assumption 1).
- Utility results: without DP, the causal model improves average downstream utility by 2.42 percentage points relative to original data, while the non-causal model decreases by 3.49 percentage points on average; with DP, both decrease, but the causal model decreases less (Table 2, EEDI/Pain1000/Pain5000).
- Privacy results: on Synthetic data where the true causal graph is known, under the same ε the causal model reduces the MI adversary's advantage by more on average (Figure 2); under partial causal graphs, causal information alone reduces the adversary's advantage on both datasets (Figure 4), and causal plus DP reduces the advantage in most combinations (Figure 5).
- Exception: on EEDI with svc/svc kernel using Naive features, causal plus DP instead increases the attacker's advantage (Figure 5b), and a similar phenomenon occurs on Pain1000 (Appendix E); the authors give a conjecture but do not explain it.
- Authors' conclusion: causal information can amplify DP's privacy guarantee without reducing utility, ε cannot alone measure the privacy of generative models; future work needs to automatically obtain SCGs and analyze the interaction of partial/incorrect causal information with DP.