Quantifying the privacy risk of learning high-dimensional graphical modelsQuantifying the Privacy Risks of Learning High-Dimensional Graphical Models
The authors give a theoretical upper bound for membership inference attacks on high-dimensional graphical models (Bayesian networks): the power-error tradeoff satisfies zα+z1−β≈√(C(G)/n), and they verify its tightness on three real datasets.
The attacker observes a graphical model hG, θ̂i trained on n samples (the pool) and published, and can obtain a reference population by independently sampling from the population; the goal is to determine whether the target sample x belongs to the training set (IN/OUT). The paper does not describe this setting using black-box/white-box terminology; the attack is based on the likelihood ratio test, which by the Neyman-Pearson lemma is the strongest at a given error.
- Publishing high-dimensional models trained on sensitive data leaks training set membership information, but theoretical analysis covers only simple models such as independent statistics, and attacks on complex models are only measured empirically after the fact, so risk cannot be quantified before training.
- Taking the likelihood ratio test (LR test) as the strongest attack, they derive an upper bound on its power against graphical models: zα+z1−β≈√(C(G)/n), depending only on model complexity C(G) and training set size n, independent of the specific attack algorithm and data distribution.
- On the three datasets Location, Purchase and Genome, the empirical attack AUC is close to the theoretical upper bound (e.g., for Genome at η=3, 0.9058 vs. 0.9292, Table 2); the higher the complexity, the larger the AUC; for an underfit model (Genome η=0), the empirical value is below the upper bound.
- The upper bound assumes parameters are estimated from sufficiently many samples and take non-trivial values; for Genome at η=0 the upper bound overestimates the actual power; under biased sampling of the pool, the power can exceed the upper bound (Appendix K.4). Experiments cover only three binary/genetic datasets and Bayesian network structures, and the paper has no dedicated limitations section.
- Evaluated models
- Bayesian networks
- Benchmarks
- Location(Foursquare 曼谷签到,446 属性)Purchase(600 属性)Genome(OpenSNP/23andme,1000 个 SNP)
- Metrics
- power(true positive rate)error(false positive rate)AUC
The study theoretically quantifies the privacy risk of learning high-dimensional graphical models (with a focus on Bayesian networks), giving a tight upper bound on the true positive rate of membership inference (tracing) attacks relative to the false positive rate. This bound can be computed from the model structure before parameters are learned and does not depend on the specific attacker's knowledge or algorithm. It can be used to compare which structures leak more information and to assess the effect of adding parameters or training samples on privacy risk.
Paper analysis
What problem does this paper attempt to solve?
How to theoretically quantify, before training a model, the maximum leakage risk that publishing a high-dimensional graphical model poses to the privacy of its training set members.
Core question: For high-dimensional graphical models trained on sensitive data and then released, how large is the maximum privacy leakage risk to the members of their training set, and can it be computed before training.
- Problem setting: Models leak information about their training data, allowing an attacker to infer whether a given sample was in the training set (membership inference / tracing attack). The authors focus on the setting of releasing high-dimensional probabilistic graphical models (Bayesian networks), such as models trained on location check-ins, purchase records, or genomic data.
- Shortcomings of existing methods: The authors state that theoretical analyses cover only simple models with independent statistics (e.g., product distributions); for complex models such as deep networks, attacks have only been measured empirically after training is complete and the attack is carried out, the results depend on the specific training data, and there is no measure of attack confidence or untapped potential.
- Core observation: The authors base the attack on the likelihood ratio (LR) test, which by the Neyman-Pearson lemma is the most powerful of all decision rules at a given error, so its power can serve as an upper bound on any attack.
- Contributions of the paper: They prove that for a given model structure, the maximum power and error satisfy zα + z1−β ≈ √(C(G)/n) (Theorem 1), i.e., leakage is proportional to the square root of model complexity (the number of independent parameters) and inversely proportional to the square root of the training set size; this bound can be computed before learning the parameters, and they validate it empirically on three real sensitive datasets.
- Threat model:
- Goal: For any target sample x, decide whether it belongs to the model's training set (pool, IN) or is an independent sample from the population (OUT).
- Knowledge: The attacker observes the released model hG, θ̂i (structure and parameters) and can independently sample from the population to obtain a reference population.
- Capability: Use the reference population to estimate the population model parameters, compute the likelihood ratio statistic and set a threshold; the paper does not restrict the specific attack algorithm, and the upper bound is independent of the attacker's knowledge and algorithm.
- Victim system: A probabilistic graphical model whose parameters are estimated by MLE or MAP on n samples and then released (the main text focuses on Bayesian networks; the authors state the framework also applies to Markov random fields).
What related research exists?
Related work falls into three branches: theory of attacks that track independent statistics, empirical membership inference attacks on complex models, and defense frameworks such as differential privacy.
Tracing attacks against independent statistics (theoretical analysis)
- Homer et al. [12] proposed a likelihood-ratio-based statistical test to infer whether an individual's genome is present in a mixed sample given allele frequencies.
- Sankararaman et al. [23] extended this work, giving tight bounds on the power of tracing attacks for an arbitrary attacker, with the test statistic based on the likelihood ratio; this paper's hypothesis testing framework generalizes that work (from product distributions to graphical models with dependency edges). Backes et al. [2] extended it to continuous Gaussian variables (microRNA data).
- Dwork et al. [8] gave a general framework for tracing attacks when noisy statistics are released, based on a distance metric; Im et al. [13] used related statistics to perform tracing attacks on regression coefficients; [25, 27] attacked genomic data using statistics released by association studies. The paper notes that [2, 8, 12, 13, 23] all assume independence among attributes, whereas this paper handles the case of correlated attributes.
Empirical membership inference attacks on complex machine learning models
- Shokri et al. [24] performed membership inference on black-box models: the attacker trains shadow models to mimic the target model's behavior and treats the attack as a binary classification problem; Salem et al. [22] followed this framework and relaxed assumptions about the attacker's knowledge and capabilities.
- Other empirical attacks include work on aggregated location data [20], generative adversarial networks [11], and collaborative learning settings [17, 18]; Nasr et al. [18] used the gradient of the loss with respect to the parameters to make decisions in a white-box setting.
- Sablayrolles et al. [21] gave a theoretical formalization of the Bayes-optimal attack against neural networks; the paper relays their conclusion that shadow-model-based techniques approximate this optimal attack and that the optimal attack has the same power on black-box and white-box models, but that work gives no bound on power; this paper gives a power upper bound independent of the training data and the attacker's auxiliary knowledge.
Privacy defenses
- Differential privacy [6] is called the de facto privacy standard in the paper; Zhang et al. [29] (PrivBayes) learn Bayesian networks with differential privacy and generate synthetic data; Bindschaedler et al. [4] proposed the concept of plausible deniability and a synthetic data mechanism. The paper states that differential privacy by definition reduces tracing attack power, and its effect on this upper bound is discussed in Appendix I using f-differential privacy [5].
Positioning: The authors state that this paper fills the gap between "simple models have theoretical analyses and complex models have only empirical attacks": it gives a power upper bound for high-dimensional graphical models that is independent of the data distribution and attack algorithm.
Baselines and benchmarks: This is a theoretical upper bound work with no attack method baselines; the empirical validation compares the empirical power of the LR test with the theoretical upper bound on the three datasets Location, Purchase and Genome (Table 2, Figure 1).
How does the paper address this problem?
Taking the likelihood ratio test as the strongest attack, approximating its statistic distribution via the maximum entropy principle, and deriving a power-error upper bound containing only C(G) and n.
Overall approach: membership inference is formalized as a hypothesis test, using the likelihood ratio test (LR test) as the most powerful attack at a given error, then deriving the asymptotic distribution of this statistic under the two hypotheses to obtain a power upper bound independent of the data and the attack algorithm.
Problem setting and formalization
- Setting: the pool is n m-dimensional samples drawn independently from the population, on which the parameters of the graphical model hG, θ̂i are estimated by MLE or MAP and published; the paper makes no assumptions about the population distribution.
- Two hypotheses: HOUT is that the target x is drawn from the population independently of the pool; HIN is that x is drawn from the pool. This generalizes the test of Sankararaman et al. [23] for product distributions.
- Complexity definition: C(G) = ∑i=1m |V(PaGXi)|(|V(Xi)|−1), i.e., the total number of independent parameters of the Bayesian network (Equation 2).
- Evaluation metrics: power β (true positive rate, Pr[IN|x∈pool]), error α (false positive rate), ROC curve and AUC.
Attack: likelihood ratio test
- Statistic: L(x) = log (Pr[x; ⟨ G, θ ⟩])/(Pr[x; ⟨ G, θ̂ ⟩]) (Equation 3), where θ are parameters learned on a large reference population and θ̂ are the parameters of the published model.
- Decision rule: the attacker selects a tolerable error α, estimates from the reference population the distribution F of L(x) under HOUT, and takes the threshold F⁻¹(α); if L(x) ≤ threshold it is judged IN, otherwise OUT.
- Optimality: by the Neyman-Pearson lemma, the LR test is most powerful at a given error, and no other decision rule has a higher AUC; hence its power is the attack upper bound.
Derivation of the theoretical upper bound (Theorem 1)
- Decomposition: using the conditional decomposition of the Bayesian network, L(x) is written as a sum of per-attribute contributions Li (Equations 5, 6), and moments are computed term by term.
- Moments and approximation: under HOUT the mean is μ0 = C(G)/2n and the variance σ0² = C(G)/n; under HIN the mean is μ1 = −C(G)/2n and the variance σ1² = C(G)/n (Appendix B, with O-order error terms). The distribution of L(x) is approximated by a Gaussian using the maximum entropy principle; the authors state that in high-dimensional models L(x) is a sum of many independent variables, the Gaussian approximation is good enough, and the contribution of higher-order moments is small.
- Main result: zα + z1−β ≈ √(C(G)/n) (Equation 4), where zs is the quantile of the standard normal at level 1−s. For graphs with no edges and binary nodes (independent marginals), C(G)=m, reducing to the relation of Sankararaman et al. (Equation 8).
- Assumptions: each published parameter is estimated from sufficiently many samples (central limit theorem applies) and takes values far from 0 and 1; the authors state this is a reasonable assumption for publishers and cite as an example that NCRAS, when learning a Bayesian network on the CAS database, uses only parameters estimated from at least 50 samples.
Meaning and uses of the upper bound (Section 4.1)
- Depends only on metadata: the upper bound contains only the pool size n, the number of attributes m and the structure G, and can be used before training parameters to compare leakage across structures, assess the effect of adding or removing attributes or dependency edges, and determine the training set size needed to achieve the same leakage.
- Mechanism: the authors state that parameter estimation error (the difference between the pool estimate and the true population value) leaks membership information, and that the estimation errors of the Bayesian network's parameters are mutually independent (Appendix H argues this via the zero off-diagonal entries of the Fisher information matrix), so the number of independent parameters characterizes the potential leakage.
- Differential privacy case: Appendix I notes that if the learning mechanism satisfies µ-GDP (the f-DP framework [5]), the upper bound becomes zα+z1−β ≤ µ, which can be converted to (ε, δ)-DP via its Corollary 1.
What experiments did the paper conduct?
On the three datasets Location, Purchase and Genome, the AUC and power of the empirical LR attack closely track the theoretical upper bound, falling below it only under underfitting.
Experimental setup
- Victim models: Bayesian networks learned on three datasets, with structure learned by a correlation-based greedy scoring algorithm (Appendix J.1) and parameters estimated by a Bayesian method with a uniform Dirichlet prior (Appendix J.2); η denotes the maximum number of parents allowed per node, taking values 0–3.
- Datasets (Table 1): Location (Foursquare Bangkok check-ins, 446 binary attributes, 5010 original records, augmented to 30000); Purchase (600 binary attributes, 30000 records); Genome (23andme-sequenced individuals in OpenSNP, 1000 SNPs randomly selected from chromosome 1, 2497 records after preprocessing, augmented to 10000). Because the original data for Location and Genome are small, they were augmented with synthetic data independently sampled from an η=3 Bayesian network learned on the original data, and the full augmented set served as the population.
- Sampling and repetition: The pool and reference population were sampled independently from the population; the pool was 3000 and the reference population 15000 for Location/Purchase, and the pool was 1000 and the reference population 5000 for Genome; each experimental group performed 50 independent splits and reported averaged statistics.
- Evaluation method: Theoretical values were computed directly from Theorem 1 for power, error and AUC; empirical values were obtained by sweeping the LR test threshold from −∞ to +∞, taking the maximum achievable power at each false positive rate, and computing power and false positive using all available samples in the population.
- Metrics: power (true positive rate), error (false positive rate), AUC.
Main results
Table 2: Comparison of empirical attack AUC and theoretical upper bound AUC across datasets and η (pool size 3000 for Location/Purchase, 1000 for Genome).
Swipe horizontally to read the table
Dataset η Complexity C(G) AUC (empirical) AUC (theoretical) Location 0 446 0.5928 0.6074 Location 3 1905 0.6998 0.7134 Purchase 0 600 0.5700 0.6241 Purchase 3 3431 0.7541 0.7752 Genome 0 1000 0.6729 0.7602 Genome 3 4323 0.9058 0.9292 (According to Table 2; the intermediate rows for η=1, 2 are omitted, and their values lie monotonically between the two rows.)
- Higher complexity means greater leakage: On all three datasets, AUC rises as C(G) increases; the authors explain that each parameter is estimated from pool individuals, so more parameters mean more leakage.
- The upper bound fits: Columns 2 and 3 of Figure 1 show that at η=0 and η=3 the empirical power curves are close to the theoretical upper bound curves; the authors state that the upper bound effectively characterizes the empirically observed power.
- Exception: For the Genome data at η=0, the empirical value is below the upper bound (0.6729 vs. 0.7602); the authors explain that when the model is underfit and does not capture dependencies among attributes, parameter estimation errors become correlated and the amount of information usable for membership inference decreases.
Leakage from statistically insignificant edges (Appendix K.1)
- What was measured: Attack power for two models of similar complexity—structure learned from data vs. randomly generated structure (Figure 2: Location 719 vs. 789, Purchase 1964 vs. 1942, Genome 1750 vs. 1729).
- Results: Attack power was similar in the two cases.
- Authors' interpretation: For statistically insignificant edges, the conditional probabilities still take different values in the pool and the population, so "statistically insignificant edges leak as much membership information as significant edges."
Effect of underfitting on threshold choice (Appendix K.2)
- What was measured: Comparison of the threshold estimated by the attacker from the reference population with the theoretical threshold (Figure 3, rows for η=0 and η=3).
- Results: At η=0 the theoretical threshold is higher than the estimated threshold; at η=3 the two are close.
- Authors' interpretation: Under underfitting, parameter estimation errors are correlated and leakage is reduced, so using the theoretical threshold overestimates leakage; the theoretical threshold is therefore suboptimal when the model is underfit.
Other ablations and analyses
- More complex population model (Appendix K.3): A model with η=1 is released, and the attacker instead uses a complex model with η=3 to compute the HOUT likelihood; Figure 4 shows that the likelihood ratio distributions for members and non-members are then indistinguishable (values 20–70, far higher than the concentration near 0 when using the released structure), and Figure 5 shows that power decreases; the authors state that knowing population statistics beyond the released statistics cannot improve attack power.
- Biased sampling (Appendix K.4): Pool sampling selects attributes with value 1 with probability 1−bias (structure learned on Genome, synthetic data, pool 2000, reference population 4000); Figure 6 shows that at bias 0.1 and 0.3 the power is higher than the theoretical curve at bias=0 and rises as bias increases; the authors state that when the pool distribution differs slightly from the population distribution, power can exceed the upper bound.
What are some points that can be further explored?
The paper has no limitations section; exceptions in the assumptions and experiments (underfitting, biased sampling) mark the boundaries of the upper bound's applicability.
Limitations and future directions noted by the authors
The paper does not specifically discuss limitations (there is no Limitations/Future Work section). The following are the conditions for the upper bound to apply and the exceptions the authors explicitly state in their analysis:
- Parameter estimation assumptions (Section 4): the upper bound assumes each published parameter is estimated from sufficiently many samples (the central limit theorem holds) and takes values far from 0 and 1; the authors state this is a reasonable assumption for publishers.
- Upper bound is high under underfitting (Section 5.2, Appendix K.2): when the published model does not capture all dependencies in the data, parameter estimation errors are correlated and leakage is reduced, the empirical power is below the upper bound, and the theoretical threshold is suboptimal for the attacker.
- Power can exceed the upper bound under biased sampling (Appendix K.4): when the pool distribution differs from the population distribution, attack power increases, "can be greater than provided bounds".
- Gaussian approximation (Section 4, Appendix B.1): the exact distribution of L(x) is a sum of mixtures of chi-square distributions, with mixture weights depending on the data-generating distribution; the authors state that in high dimensions a Gaussian approximation using the first two moments is sufficient, and the contribution of higher-order moments to the privacy risk estimate is "marginal".
Scope of experimental coverage
- Models tested: Bayesian networks learned on the three datasets Location, Purchase and Genome, with η from 0–3 and complexity from 446 to 4323 (Table 2); the paper states the framework also applies to Markov random fields, but the experiments only ran Bayesian networks.
- Data form: all three datasets are binary attributes or SNP data processed by allele frequency; Appendix F gives a theoretical extension to multi-valued categorical variables, but the experiments report no results on multi-valued attribute datasets.
- Attacker setting: the attacker has the published model and a reference population from the same population; the empirical attack is the LR test sweeping thresholds to take the maximum power at each error, and no experiments comparing heuristic attacks such as shadow models against the upper bound were implemented (Section 4.1 only describes this comparison method).
- Number of repetitions: 50 independent pool/reference population splits per experimental group, reporting the average (Section 5.1).
- Defenses: the effect of differential privacy is given only in Appendix I as a theoretical conversion in µ-GDP form (zα+z1−β ≤ µ), with no DP training experiments in the paper.
Summarize the main content of the paper
Gives a tight upper bound containing only complexity and training set size for membership inference attacks on high-dimensional graphical models, and verifies its tightness on three sensitive datasets.
A theoretical analysis paper on membership inference (tracing) attacks: for high-dimensional probabilistic graphical models trained on sensitive data and then released (focusing on Bayesian networks), it quantifies the maximum privacy leakage to training set members.
- Problem addressed: Previous theoretical analyses covered only simple models with independent statistics, and attacks on complex models were only measured empirically after training and carrying out the attack, making it impossible to assess risk or compare model structures before release.
- Method highlights: Taking the likelihood ratio test as the most powerful attack at a given error (Neyman-Pearson lemma), they derive the asymptotic Gaussian distribution of its statistic under HOUT/HIN, obtaining the power-error trade-off zα + z1−β ≈ √(C(G)/n) (Theorem 1): leakage is proportional to the square root of the number of independent parameters and inversely proportional to the square root of the training set size, independent of the data distribution and attack algorithm, and computable before training.
- Main results:
- On the three datasets Location, Purchase and Genome, the empirical LR attack AUC is close to the theoretical upper bound, e.g., for Genome at η=3 (C(G)=4323), 0.9058 vs. 0.9292, and for Purchase at η=3, 0.7541 vs. 0.7752 (Table 2).
- AUC rises monotonically with model complexity, e.g., for Purchase from 0.5700 at η=0 to 0.7541 at η=3 (Table 2).
- Exceptions: for Genome at η=0 (underfit), the empirical AUC of 0.6729 is below the upper bound of 0.7602; under biased sampling, power can exceed the upper bound (Appendix K.4).
- At similar complexity, randomly generated structures and learned structures leak similarly; the authors state that statistically insignificant edges also leak membership information (Appendix K.1).
- Authors' conclusions and implications: The authors state that the bound allows comparing the leakage of model structures before learning parameters, quantifying the effect of adding or removing attributes or dependency edges, determining the training set size needed to achieve the same leakage, and serving as a benchmark for evaluating the effectiveness of specific attack algorithms; Appendix I gives the conversion under differentially private (µ-GDP) training, where the bound becomes zα+z1−β ≤ µ.
Related papers
- On the Privacy Risks of Model ExplanationsAttacksarXiv