A Fairness Analysis on Private Aggregation of Teacher Ensembles

Cuong Tran, My H. Dinh, Kyle Beiter, Ferdinando FiorettoarXiv 2021

TL;DR

This paper investigates whether the PATE (Private Aggregation of Teacher Ensembles) framework, a popular method for privacy-preserving machine learning, introduces or amplifies bias and unfairness. The authors identify key algorithmic and data properties that contribute to disparate impacts and propose a novel "soft labels" approach to mitigate these fairness issues without sacrificing accuracy.

What Problem Does This Paper Address?

Machine learning models are increasingly used for critical decisions affecting individuals, such as loan applications or hiring. While Differential Privacy (DP) is a crucial tool for protecting sensitive data, recent research suggests that DP mechanisms can inadvertently lead to biased outcomes, disproportionately affecting certain groups. The PATE framework, a widely used DP technique, combines multiple "teacher" models to train a "student" model, offering strong privacy guarantees. However, it's unclear how PATE itself might contribute to or exacerbate fairness issues. This paper aims to understand why PATE might lead to unfairness by dissecting its algorithmic and data dependencies and to propose solutions.

Methods

The authors analyze PATE through the lens of "excessive risk," which quantifies the difference between private and non-private model risks. They delve into two main areas:

  1. Algorithmic Parameters: They examine how the privacy parameter ($\sigma$), the number of teacher models ($k$), and the regularization parameter ($\lambda$) of the student model influence fairness.
  2. Data Properties: They investigate how characteristics of the training data, specifically input norms ($||x||$) and closeness to the decision boundary ($s(x)$), affect fairness.

A key theoretical contribution is a bound on the "model sensitivity" (the difference between private and non-private model parameters), linking it to algorithmic and data properties. Based on their findings, they propose a mitigation strategy using "soft labels" instead of traditional "hard labels" for training the student model. This involves using probabilistic outputs from teachers, weighted by their confidence, to train the student, aiming to make the model less sensitive to noisy voting outcomes.

Datasets

The paper evaluates its findings and proposed solution on several standard UCI datasets:

  • Bank: Predicting term deposit subscriptions.
  • Income (Adult): Predicting low vs. high income.
  • Parkinsons: Predicting UPDRS score for Parkinson's patients.
  • Credit Card: Predicting loan defaults.

Key Insights and Ideas

  • PATE isn't inherently fair: The paper demonstrates that PATE, despite its privacy strengths, can introduce or worsen accuracy disparities between different groups.
  • Algorithmic knobs matter: The number of teachers ($k$) and the regularization parameter ($\lambda$) significantly influence fairness. Increasing $k$ generally improves fairness but can decrease accuracy. Increasing $\lambda$ can improve fairness by reducing model sensitivity but also hurts accuracy.
  • Data characteristics are critical: Samples with larger input norms ($||x||$) and those closer to the decision boundary are more susceptible to increased excessive risk, leading to unfairness. This is because these characteristics amplify model sensitivity.
  • "Soft labels" offer a solution: By using probabilistic teacher outputs (soft labels) instead of deterministic ones (hard labels), the student model becomes less sensitive to the noise introduced by DP, leading to improved fairness without sacrificing accuracy. This is analogous to how soft labels can improve robustness against adversarial attacks.

Key Results

  • The paper provides theoretical bounds showing how algorithmic parameters ($k$, $\lambda$) and data properties ($||x||$, $s(x)$) impact model sensitivity and, consequently, fairness.
  • Empirical results across multiple datasets demonstrate that increasing the number of teachers ($k$) reduces flipping probability and group excessive risk differences, while potentially lowering accuracy.
  • The proposed "soft labels" mitigation strategy consistently reduces disparate impacts (excessive risk differences between groups) across all tested datasets and privacy levels, often with comparable or even improved accuracy compared to the "hard labels" approach.

Limitations and Future Work

  • Bias-Variance Tradeoff: The paper notes that very large ensembles ($k$) can reduce accuracy due to the bias-variance tradeoff, where each teacher has less data to train on. This is identified as an interesting direction for future work.
  • Advanced Voting Schemes: The authors suggest that more advanced voting schemes (like interactive GNMAX) might yield different fairness results and could introduce their own sampling biases, warranting further investigation.
  • Generalization to other DP mechanisms: While the focus is on PATE, the findings on data properties influencing fairness might be relevant to other DP mechanisms.
  • No Protected Attribute Needed: A significant benefit of the soft label approach is that it doesn't require explicit protected group information during training, making it applicable in privacy-sensitive contexts like GDPR.

Summary updated

BibTeX
@misc{tran2021fairness,
  author = {Cuong Tran and My H. Dinh and Kyle Beiter and Ferdinando Fioretto},
  title = {{A Fairness Analysis on Private Aggregation of Teacher Ensembles}},
  year = {2021},
  eprint = {2109.08630},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.08630},
}
Figure