Review of Mathematical frameworks for Fairness in Machine Learning

Eustasio del Barrio, Paula Gordaliza, Jean-Michel Loubes

Abstract

This paper provides a rigorous mathematical unification of algorithmic fairness, framing it as a problem of achieving independence between model outcomes and protected attributes. The authors quantify the "price for fairness"—the unavoidable drop in accuracy when enforcing equity—and derive novel closed-form solutions for optimal fair predictors in Gaussian regression and binary classification settings.

What Problem Does This Paper Address?

As machine learning moves from experimental labs to high-stakes domains like criminal justice and healthcare, the "black box" nature of algorithms poses a risk: they often inherit and amplify historical biases present in training data.

The challenge is that "fairness" is a nebulous concept. The authors tackle the lack of a unified mathematical framework to:

  1. Define Fairness: Moving beyond intuition to formal probabilistic criteria.
  2. Measure the Trade-off: Determining exactly how much predictive power is lost when a model is forced to be fair (the "Price for Fairness").
  3. Identify Incompatibilities: Proving why certain fairness definitions (like Statistical Parity and Equality of Odds) cannot mathematically coexist in most real-world scenarios.

Methods

The paper treats fairness through the lens of probabilistic independence. They focus on two primary criteria:

  • Statistical Parity (SP): The prediction $\hat{Y}$ must be independent of the sensitive attribute $S$ ($\hat{Y} \perp S$).
  • Equality of Odds (EO): The prediction $\hat{Y}$ must be independent of $S$ given the true outcome $Y$ ($\hat{Y} \perp S | Y$).

These criteria are often conceptualized through graphical models representing how bias enters the data generation process, whether through features $X$ or outcomes $Y$.

Graphical models representing different sources of bias: (a) bias in features X influenced by sensitive attribute S, and (b) bias in outcomes Y influenced by S.

Key Mathematical Tools: * Wasserstein Distance (Optimal Transport): The authors use the $W_2$ distance to quantify the "distance" between the distributions of different demographic groups. They show that "repairing" data to be fair is equivalent to finding a Wasserstein Barycenter—a mathematical "middle ground" distribution that removes the influence of the sensitive attribute. * Constrained Optimization: They frame fair learning as Empirical Risk Minimization (ERM) where fairness is either a hard constraint or a penalty term in the loss function. * Closed-form Derivations: For the specific case of linear regression with Gaussian noise, they derive the exact coefficients for the "optimal fair predictor" under Equality of Odds.

Datasets

The paper is primarily theoretical and does not introduce new empirical benchmarks. However, it uses:

  • Synthetic Gaussian Simulations: To validate their "Price for Fairness" theory, the authors simulated data where $S \sim \mathcal{N}(0, 10)$ and $X$ is a 2D Gaussian vector. They used 1,000 replications to show how the excess risk converges as sample size increases.
  • Literature Review References: The authors cite and discuss results from standard fairness datasets like COMPAS (recidivism), Adult (income), and various credit/health datasets to contextualize their mathematical findings.

Key Insights and Ideas

  • The "Accuracy Tax" is Quantifiable: The authors prove that the "Price for Fairness" is directly related to the Wasserstein distance between the conditional distributions of the Bayes optimal predictor. If two groups look very different in the data, making them "equal" in the model will naturally cost more in terms of accuracy.
  • The Impossibility of Perfection: They highlight "impossibility theorems," showing that unless a model is 100% accurate or the base rates of the groups are identical, you cannot satisfy Statistical Parity, Equality of Odds, and Predictive Parity simultaneously. Choosing a fairness metric is a value judgment, not just a technical one.
  • Fairness as Data Repair: One of the most powerful ideas discussed is that fairness can be achieved by "repairing" the input data using Optimal Transport before any training happens. This makes the resulting model "fair by design" regardless of the specific algorithm used.

Key Results

  • Optimal Fair Rule (Prop 3.7): The authors provide a specific formula for recalibrating a standard Bayes classifier to satisfy Equality of Odds. This involves shifting the decision threshold based on group-specific success probabilities.
  • Linear Fair Predictor (Prop 3.5): Under Gaussian assumptions, they provide the exact vector of correction ($C_{S,X,Y}$) needed to transform a biased linear regression into a fair one.
  • Convergence: Simulations demonstrate that the average minimal excess risk (the cost of being fair) stabilizes and becomes predictable as the dataset grows, suggesting that the "Price for Fairness" is a stable property of the underlying data distribution.

Limitations and Future Work

  • Gaussian Assumptions: Several of the novel closed-form results rely on the data being jointly Gaussian. While this provides excellent theoretical intuition, real-world data is rarely so well-behaved.
  • Computational Complexity: The authors acknowledge that enforcing fairness constraints often leads to non-convex optimization problems, which are difficult to solve for large-scale neural networks.
  • Causality Gap: The paper focuses on observational fairness (statistical correlations). The authors note that a "causal" view of fairness—understanding why the bias exists—is a vital next step that was outside the scope of this specific review.
  • The "Human in the Loop": The paper concludes that while math can define the trade-offs, it cannot decide which fairness definition is "right" for a specific societal context.

Summary updated

BibTeX
@misc{barrio2020review,
  author = {Eustasio del Barrio and Paula Gordaliza and Jean-Michel Loubes},
  title = {{Review of Mathematical frameworks for Fairness in Machine Learning}},
  year = {2020},
  eprint = {2005.13755},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.13755},
}
Figure