Data Privacy and Trustworthy Machine LearningData Privacy and Trustworthy Machine Learning
The authors discuss the conflicts between fairness, robustness, and interpretability constraints in trustworthy machine learning and data privacy, and quantify privacy risk using membership inference attacks.
- When training models on sensitive data, trustworthy machine learning constraints such as fairness, robustness, and interpretability may introduce new privacy risks; the article discusses the trade-offs between these objectives and data privacy.
- Using membership inference attacks to quantify privacy risk, it separately discusses the interaction of fairness-aware learning, model explanations, adversarial robust training, and poisoning robust training with privacy, and reports related experimental and theoretical results.
- The reported results include: the stronger the fairness constraint, the higher the privacy risk for the unprivileged group on the law school admissions data (Figure 3); explanation-based inference attacks are effective on the Texas hospital data (Figure 4); on CIFAR10, adversarial robust training has higher privacy risk than standard training (Figure 6); the authors consider poisoning robustness to be aligned with differential privacy.
- The authors point out: whether a fundamental trade-off exists between deployment robustness and privacy is not yet clear; whether the privacy risk of interpretability extends to all explanation types is unknown; privacy threats are not limited to membership inference, and the interaction of threats such as reconstruction, model extraction, and attribute inference with other objectives requires further study.
- Threat model
- The attacker can only observe the model and cannot access the training data, using inference algorithms to reconstruct information about the training data (indirect leakage). Membership inference attacks distinguish between white-box (access to model parameters) and black-box (only interacting with model predictions) settings; all experimental results in the article are obtained with threshold-based attacks.
- Evaluated models
- depth-10 decision treeneural network (Texas hospital dataset)neural network (CIFAR10)
- Benchmarks
- law school admission datasetTexas hospital datasetCIFAR10
- Metrics
- privacy risk (membership inference)fairness gap δ
Training machine learning models on sensitive and personal data brings privacy risks, which is one of the main concerns of trustworthy machine learning. There are trade-offs between data privacy and other goals of trustworthy machine learning, especially in fairness, robustness and interpretability.
Paper analysis
What problem does this paper attempt to solve?
Discuss the conflicts between fairness, robustness, and interpretability constraints in trustworthy machine learning and the privacy of training data.
Core question: do the training constraints imposed to satisfy trustworthy ML goals such as fairness, robustness and interpretability harm the privacy of training data?
- Problem setting: machine learning is applied in critical domains such as healthcare, finance, education and justice; the authors argue that beyond average prediction accuracy, one must also examine whether the model is fair, whether decisions are interpretable, and whether it resists manipulation.
- Gaps in existing research: the authors state that much research has examined the cost of trustworthy ML to prediction accuracy, but constraining the model may also bring privacy risks to training data, and this interaction is worth concern.
- Core observation: model parameters and predictions themselves contain information about training data; even if the training process is kept secret throughout (e.g., using secure multi-party computation), indirect leakage still occurs (Figure 2); the authors use membership inference attacks as a quantification tool to measure this leakage.
- Paper content: the article separately discusses the interactions between privacy and fairness, deployment-time robustness, training-time robustness, and interpretability, and relays relevant experimental and theoretical evidence.
- Threat model:
- Attacker goal: infer whether a given individual's data is in the training set (membership inference), or reconstruct training data information.
- Attacker knowledge: in the white-box setting, model parameters are accessible; in the black-box setting, only interaction with model predictions is possible.
- Attacker capability: observe the model's signal for each data point (predictions, loss, explanations, etc.), and use an attack algorithm to distinguish members from non-members.
- Victim system: a machine learning model trained on sensitive data; direct leakage (untrusted parties accessing data) is out of scope for this paper and can be prevented by access control and confidential computing.
What related research exists?
Related work falls into four groups: membership inference attacks, privacy and fairness, privacy and interpretability, and privacy and robustness.
Membership inference attacks and privacy measurement
- Shokri et al. [12] (2017) — design membership inference attacks, model the indistinguishability game between attacker and algorithm, and measure the model's information leakage about training data.
- Ye et al. [16] (2021), Sablayrolles et al. [11] (2019), Nasr et al. [9] (2018) — enhanced membership inference attacks, Bayes-optimal strategies under white-box and black-box settings, comprehensive privacy analysis of deep learning; this paper's definition of privacy risk cites the discussion in [16], and the experimental results use threshold-based attacks [11, 16].
- Reports by NIST [15] and the UK ICO [10] — list membership inference as a confidentiality violation and potential threat to training data.
Privacy and fairness
- Chang and Shokri [3] (2021) — propose membership inference attacks targeting specific groups, and find that fairness-aware learning raises the privacy risk of disadvantaged groups; Figure 3 of this paper reproduces their experiment on law school admissions data.
- Bagdasaryan et al. [1] (2019) — find that the accuracy drop caused by differentially private training affects different groups unevenly, with smaller disadvantaged groups harmed more.
- Cummings et al. [4] (2019) — give cases where differential privacy and exact group fairness constraints theoretically cannot be satisfied simultaneously.
Privacy and interpretability
- Shokri, Strobel and Zick [13] (2021) — show that membership inference attacks can be constructed based solely on model explanations; Figure 4 of this paper reproduces their results on Texas hospital data.
- Hardt et al. [6] (2016) — propose the fairness notion of equal opportunity, which this paper uses to formalize fairness constraints.
Privacy and robustness
- Song, Shokri and Mittal [14] (2019) — measure the privacy risk of robust training methods that defend against adversarial examples; Figure 6 of this paper reproduces their results on CIFAR10.
- Madry et al. [7] (2017) — give the minimax objective for robust supervised learning, whose formalization this paper cites.
- Dwork and Lei [5] (2009) — on differential privacy and robust statistics, based on which the authors consider robust mechanisms a good starting point for differentially private mechanisms.
Positioning: The authors position this paper as a discussion and review of these interactions, stating that the conflict between fairness and privacy already has relatively strong experimental [1, 3] and theoretical [4] evidence, whereas the relationship between robustness, interpretability and privacy remains unclear.
How does the paper address this problem?
Quantify privacy risk with membership inference attacks, and discuss the interaction between each trustworthy ML objective and privacy one by one.
The article proposes no new method; instead, it uses membership inference attacks as a unified privacy measurement tool and separately discusses the relationship of fairness, interpretability, deployment-time robustness, and training-time robustness with privacy.
Formalization of privacy risk
- Indistinguishability game: a hypothetical game between the algorithm designer and an attacker is designed: in world one the model is trained on a dataset containing individual x's data, in world two on data with x removed; the attacker interacts with the model without knowing the world and judges whether the training set contains x. The attacker's ability to win characterizes the degree of individual information leakage.
- Definition of average privacy risk: given a point set X ⊆ Rn and membership labels m : X → {0,1}, the average privacy risk is defined as maxA ∈ 𝒜 1/(|X|) ∑x ∈ X [A(s(x)) = m(x)], where s : X → Rk is the signal observable by the attacker (predictions, loss, explanations, etc.) and A is the set of attack algorithms; it means the attacker's best average success rate in distinguishing members from non-members.
- Lower bound: X is usually assumed balanced, and a random-guessing attacker achieves a privacy risk lower bound of 0.5.
Attack implementation
- Threshold-based attack: the attacker compares the signal with a preset threshold τ; for example, the loss of training members is usually lower than that of non-members, so a loss below the threshold is judged as a member and above the threshold as a non-member; the threshold can be obtained from the loss distribution on reference (shadow) models.
- Source of experiments: all experimental results in the article are obtained with threshold-based attacks and all reproduce the results of published work [3, 13, 14].
Fairness and privacy
- Fairness concept: taking equal opportunity [6] as an example: a classifier f satisfies δ-Equal Opportunity for two groups X1, X2 if the difference in false negative rates between the two groups does not exceed δ, i.e., |Px∼ X1[f(x)=0|y(x)=1] − Px∼ X2[f(x)=0|y(x)=1]| ≤ δ.
- Mechanistic explanation (reported by the authors): fairness constraints require the model to perform consistently across subgroups, while classification for unprivileged groups may be harder to learn (less data, higher variance, or a more complex task), forcing the model to memorize that group's data more, making it easier to distinguish members from non-members.
Interpretability and privacy
- Attack surface: gradient-based feature attribution methods (such as Guided Backprop, LRP, Integrated gradients, Gradient) provide attackers with an additional information source; high feature attribution values are a proxy for model uncertainty, and attackers can construct membership inference attacks based solely on explanations [13].
Robustness and privacy
- Deployment-time robustness: the robust learning objective is minθ E(x,y)∼ D [maxδ ∈ S L(fθ(x+δ, y))], i.e., minimizing the maximum loss an attacker can cause within the perturbation set S; the authors report: such defenses change the decision boundary near training points and can only enforce this objective on the training data, increasing the influence of individual training points and raising privacy risk.
- Training-time robustness: anti-poisoning robust training attempts to reduce sensitivity of training to changes in a small subset of data or to ignore outliers; the authors consider this, like differential privacy, a concept of insensitivity to changes in training data, and the two are aligned in direction.
What experiments did the paper conduct?
The article reproduces three published experiments: the privacy risk of fairness, model explanations, and robust training, respectively.
Experimental setup
- Nature of the experiments: this paper conducts no new experiments; Figures 3, 4, and 6 reproduce the results of Chang and Shokri [3], Shokri et al. [13], and Song et al. [14], respectively.
- Models tested: a depth-10 decision tree on the law school admissions data (Figure 3); a neural network on the Texas hospital data (Figure 4); a neural network on CIFAR10 data (Figure 6).
- Metrics: average privacy risk (the best average success rate of membership inference attacks; the lower bound of random guessing on balanced data is 0.5); fairness is measured by the fairness gap δ.
- Attack method: all experimental results are obtained with threshold-based membership inference attacks; the fairness experiments use membership inference attacks targeting specific groups, and fairness is enforced via the reductions approach.
- Sample size and number of repetitions: not reported in the paper.
Main results
Experiment Setup Results visible in the figures (according to Figure 3/4/6) Fairness (Figure 3) depth-10 decision tree, law school admissions data Horizontal axis δ takes values 0.1, 0.01, 0.001; vertical axis privacy risk is about 0.5–0.8; for the unconstrained model and δ=0.1, the privacy risk of both groups is close to 0.5; as δ decreases, the curve for the Unprivileged group rises and the Privileged group is close to 0.5 Interpretability (Figure 4) neural network, Texas hospital data Horizontal axis privacy risk is about 0.5–0.65; the four explanation methods Guided Backprop, LRP, Integrated gradients, and Gradient each correspond to one privacy risk value, all above 0.5 Deployment-time robustness (Figure 6) neural network, CIFAR10 Horizontal axis privacy risk is about 0.5–0.8; the four training methods Diff-Based, Dist-Based, PGD-Based, and Standard each correspond to one privacy risk value - The authors state: the larger the bias in the unconstrained model, the higher the privacy risk for the unprivileged group in the corresponding fair model; the stronger the fairness constraint, the higher the privacy risk.
- The authors state: model explanations can be exploited by inference attacks, and there is a conflict between explanations and individual privacy.
- The authors state: the current generation of robust algorithms that change training behavior all exhibit a robustness–privacy trade-off, but whether a fundamental trade-off exists is not yet clear.
Additional evidence on privacy and fairness
- What was measured: the study by Bagdasaryan et al. [1] on the effect of differentially private training on accuracy (reported, not an experiment in this paper).
- Results: the accuracy drop caused by differentially private training affects different groups unevenly, with smaller unprivileged groups suffering more.
- Authors' interpretation: the intuitive reason is likewise memorization—small groups rely more on memorization, and differentially private training suppresses memorization; Cummings et al. [4] give theoretical cases where differential privacy and exact group fairness cannot be satisfied simultaneously.
Training-time robustness and privacy
- What was measured: no experiments; this is a conceptual discussion.
- Authors' view: differential privacy and (anti-poisoning) robustness are both concepts of insensitivity to changes in training data; differential privacy concerns worst-case changes to a single point, while robustness concerns restricted changes to groups of data; the authors cite Dwork and Lei [5] as saying that robust mechanisms are a good starting point for differentially private mechanisms, and express cautious optimism.
Other ablations and analyses
- The paper has no ablation experiments; Figure 5 is illustrative: the authors state that many robust training algorithms change the decision boundary near training points in specific ways, and attackers can discover and exploit these patterns to construct more successful inference attacks.
What are some points that can be further explored?
The authors point out that the relationship between robustness, interpretability, and privacy is not yet clear, and call for research on privacy threats beyond membership inference.
Limitations and future directions noted by the authors
- Deployment-time robustness: whether a fundamental trade-off between robustness and privacy exists is not yet clear; the possibility of designing algorithms that are simultaneously robust, accurate, and privacy-preserving cannot be ruled out (Conclusions).
- Interpretability: some existing explanation methods are known to be vulnerable to attacks [13], but it is unknown whether this extends to all types of explanations (Conclusions).
- Other privacy threats: privacy issues are not limited to membership inference; the interaction of threats such as reconstruction attacks, model extraction, and attribute inference with other aspects of trustworthy machine learning requires further study (Conclusions).
- Overall call: more research is needed on the interaction between privacy and other objectives of trustworthy ML; these issues should not be viewed separately, but techniques that achieve both simultaneously should be developed (Conclusions).
Scope of experiments
- All experiments in the article reproduce published work: Figure 3 reproduces [3] (depth-10 decision tree, law school admissions data), Figure 4 reproduces [13] (neural network, Texas hospital data), Figure 6 reproduces [14] (neural network, CIFAR10 data).
- The privacy metric is uniformly the average privacy risk under threshold-based membership inference attacks; the paper does not report the sample size, number of repetitions, or specific attack success rate values for each experiment (only axis ranges and curve trends are readable in the figures).
- The fairness discussion uses equal opportunity as an example; the authors note that this is only one of many fairness concepts, and auditors could also compare false positive rates or approval rates.
- The relationship between training-time robustness (anti-poisoning) and privacy is only discussed conceptually, with no experiments in the paper.
- The paper does not discuss scenarios such as large language models, generative models, or prompt injection; all experiments are classification tasks.
Summarize the main content of the paper
Fairness, interpretability, and deployment-time robustness constraints in trustworthy machine learning increase membership inference privacy risk, whereas training-time robustness is aligned with privacy.
This is a review article discussing the trade-offs between data privacy and other trustworthy machine learning goals (fairness, robustness, interpretability).
- Problem: when training models on sensitive data, the constraints imposed to satisfy fairness, robustness and interpretability may create new privacy risks; the authors use membership inference attacks to quantify this risk — an attacker observing only model signals (predictions, loss, explanations) can infer whether an individual's data is in the training set.
- Fairness: the authors relay the experiment of Chang and Shokri [3] (Figure 3, depth-10 decision tree, law school admissions data): as the fairness gap δ is tightened from 0.1 to 0.001, the privacy risk of the disadvantaged group rises from about 0.5 to about 0.8; the authors state the mechanism is that fairness constraints force the model to memorize more of the disadvantaged group's data; Cummings et al. [4] give cases where differential privacy and exact group fairness theoretically cannot both be achieved.
- Interpretability: the authors relay the results of [13] (Figure 4, Texas hospital data): all four explanation methods — Guided Backprop, LRP, Integrated gradients, Gradient — can be used for membership inference attacks, and their privacy risk is above the 0.5 random-guess lower bound.
- Deployment-time robustness: the authors relay the results of [14] (Figure 6, CIFAR10): robust training methods such as Diff-Based, Dist-Based, PGD-Based have higher privacy risk than standard training; the authors state whether a fundamental trade-off exists is unclear.
- Training-time robustness: the authors consider robustness against poisoning and differential privacy to be both notions of insensitivity to changes in training data, with the two aligned in direction, and cite [5] in stating that robust mechanisms are a good starting point for differentially private mechanisms.
- Conclusion: the authors argue that trustworthy machine learning should not come at the cost of data privacy, call for research on the interactions among these goals and for developing techniques that address both, and note that threats beyond membership inference — such as reconstruction attacks, model extraction and attribute inference — also require further study.