Differentially Private Fair Learning

Matthew Jagielski, Michael J. Kearns, Jieming Mao, Alina Oprea, Aaron Roth, Saeed Sharifi-Malvajerdi, Jonathan Ullman

Introduction

In the quest for algorithmic fairness, researchers and practitioners often face a technical conundrum: ensuring a model does not discriminate based on sensitive attributes (such as race or gender) typically requires access to those very attributes during training. However, stringent privacy regulations often restrict or outright forbid the collection and use of such sensitive data.

While some have proposed using Secure Multiparty Computation (MPC) to train models without exposing raw sensitive data, MPC alone is insufficient. It protects the process of training but not the output. A trained model—such as a Support Vector Machine that stores training points as support vectors—can still leak individual sensitive information.

This paper introduces the first algorithms for "fair learning" that also satisfy differential privacy (DP). The authors reveal a fundamental three-way tradeoff between privacy, accuracy, and fairness, demonstrating how to build models that are statistically fair without leaking sensitive individual data.

Proposed Methods

The authors propose two primary differentially private algorithms to tackle this challenge:

  1. DP-postprocessing: Building on prior work in fairness, this algorithm takes an existing, potentially unfair classifier and adjusts its outputs to satisfy "Equalized Odds." To ensure privacy, Laplace noise is added to aggregate statistics (like false positive rates) before they are used to calculate the adjustment. While simple and effective, it strictly requires access to sensitive attributes at test time.
  2. DP-oracle-learner: This is an "in-processing" method that builds fairness directly into the training phase. It frames the problem as a zero-sum game between a Learner (minimizing error) and an Auditor (finding fairness violations). Privacy is achieved by adding noise to the Auditor's gradients and using a private learning oracle (like the exponential mechanism) for the Learner. Crucially, this version does not necessarily need sensitive attributes at test time.

The theoretical guarantees, assumptions, and test-time requirements for these algorithms are summarized below:

Summary of theoretical results for the proposed DP fair learning algorithms.

Key Insights

  • The Three-Way Tradeoff: There is an inherent tension between privacy, accuracy, and fairness. Requiring all three properties simultaneously introduces new costs that do not appear when only two are considered. For example, increasing the privacy budget (a smaller $\epsilon$) forces a steeper tradeoff between error and fairness violations.
  • The "Disparate Treatment" Advantage: Using sensitive attributes at test time (often called "disparate treatment") is controversial and sometimes legally restricted. However, the authors demonstrate mathematically that if it is allowed, it significantly softens the tradeoffs, enabling higher accuracy and better fairness for a given privacy level.
  • Sensitivity and Blindness: The "sensitivity" of finding an optimal fair classifier is much higher if the model is prohibited from seeing sensitive attributes at test time. Consequently, more noise must be added to maintain privacy, which inevitably leads to higher error rates.

Experimental Results

The authors evaluated their algorithms on the Communities and Crime dataset from the UCI Machine Learning Repository, a standard benchmark where the goal is to predict high rates of violent crime while ensuring fairness across demographic groups.

The experimental results illustrate the Pareto frontiers for both algorithms, mapping the tradeoff between error and fairness violation across different privacy levels ($\epsilon$).

Pareto frontiers for DP-oracle-learner and DP-postprocessing algorithms.

Post-processing vs. In-processing: On the relatively small Communities dataset ($m \approx 2,000$), the simpler DP-postprocessing algorithm achieved better tradeoffs at meaningful privacy levels.

Scaling: The DP-oracle-learner (in-processing) is theoretically superior but requires much larger datasets to overcome the "privacy cost" of its more complex, iterative training procedure. The authors provide formal bounds showing that error and fairness violations scale with $1/\epsilon$ and $1/\sqrt{m}$, confirming that more data can help "buy back" the accuracy lost to privacy and fairness constraints. They suggest that on datasets of roughly 20,000 points, the in-processing method would become highly effective.

Limitations and Future Work

  • Dataset Size: The in-processing algorithm is inherently "data-hungry." Its performance on small datasets is bottlenecked by the amount of noise required to keep the iterative Learner-Auditor game private.
  • Legal and Ethical Tensions: The finding that using sensitive attributes at test time improves tradeoffs highlights a direct conflict between the goal of "blindness" (not using protected attributes at test time) and the goal of "fairness" (ensuring equal outcomes).
  • Oracle Efficiency: While the algorithms are theoretically "oracle-efficient," implementing private learning oracles in practice often relies on heuristics (like private logistic regression) which may not always reach the theoretical optimum. Future work could involve developing more robust private oracles for a wider variety of model classes.

Summary updated

BibTeX
@inproceedings{jagielski2019differentially,
  author = {Matthew Jagielski and Michael J. Kearns and Jieming Mao and Alina Oprea and Aaron Roth and Saeed Sharifi-Malvajerdi and Jonathan Ullman},
  title = {{Differentially Private Fair Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
  url = {https://openreview.net/forum?id=rJE9A5bd-S},
}
Figure