Fair and Optimal Prediction via Post-Processing

Han Zhao

Introduction

In high-stakes domains such as healthcare, hiring, and criminal justice, machine learning models are increasingly scrutinized for their potential to perpetuate or amplify societal biases. The fundamental challenge in developing "fair" machine learning lies in the inherent tension between predictive accuracy and fairness constraints. Traditionally, practitioners have viewed fairness as a constraint to be integrated during the training phase, which often complicates optimization and obscures the fundamental limits of what a model can achieve.

In his presentation at AAAI-24, Han Zhao addresses these challenges by characterizing the fairness-accuracy tradeoff through the lens of Optimal Transport. This research provides a theoretical foundation for deriving optimal fair predictors via post-processing, demonstrating that achieving fairness does not necessarily require a more complex learning process.

The Geometry of Fairness

The core of Zhao’s work is the mathematical definition of the "cost of fairness." By framing fairness as a geometric problem, the research identifies that the loss in accuracy required to satisfy fairness criteria is equivalent to the mathematical distance between the prediction distributions of different demographic groups.

To bridge this gap, the framework utilizes Optimal Transport theory, specifically the Wasserstein-barycenter problem. The process involves three key conceptual steps:

  1. Distributional Alignment: Fairness is treated as a requirement for different demographic groups to share a similar distribution of outcomes.
  2. The Barycenter Solution: To achieve this alignment, the model identifies a "middle ground" distribution—the Wasserstein barycenter—that represents all groups equally.
  3. Post-Processing Transformation: Rather than retraining the model, the proposed method takes a pre-trained "Bayes score function" (the optimal unconstrained predictor) and maps its outputs onto this fair barycenter distribution.

Complexity and Optimality

A significant contribution of this research is the proof of Complexity Equivalence. Zhao demonstrates that learning an optimal fair predictor is no more computationally complex than learning a standard Bayes predictor. This insight reframes fairness not as a "harder" problem, but as a different calibration of the same underlying information.

Furthermore, the work challenges the notion that post-processing is a sub-optimal "quick fix." The research provides a closed-form characterization of the fairness-accuracy Pareto frontier, proving that post-processing can yield optimal predictors that achieve the maximum possible accuracy under strict fairness constraints.

A Unified Framework

Unlike many existing fairness interventions that are limited to binary classification, the Wasserstein-based approach offers a unified framework applicable to both classification and regression. By treating fairness as a problem of distributional alignment, the method remains robust across different types of prediction tasks. This theoretical consistency allows researchers to calculate the Pareto frontier of a model regardless of the specific output space.

Conclusion

Han Zhao’s research provides a rigorous theoretical bridge between fairness and optimal transport. By demonstrating that the cost of fairness can be precisely calculated and that optimal fair predictors can be efficiently derived through post-processing, this work offers a clear path for practitioners to navigate the tradeoff between accuracy and equity in machine learning systems.

Summary updated

BibTeX
@inproceedings{zhao2024fair,
  author = {Han Zhao},
  title = {{Fair and Optimal Prediction via Post-Processing}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i20.30302},
}
Figure