Fair Machine Learning Through Post-processing: The Case of Predictive Parity

Joachim Baumann, Anikó Hannák, Christoph HeitzEwaf 2023

Introduction

In the rapidly evolving landscape of algorithmic decision-making—ranging from loan approvals to recidivism prediction—the definition of "fairness" remains a complex and contested topic. While much of the existing literature focuses on criteria such as Statistical Parity (ensuring equal selection rates across groups) or Equality of Opportunity (ensuring equal true positive rates), this paper investigates a critical but less understood metric: Predictive Parity.

Predictive parity, also known as precision parity, ensures that a model's predictions carry the same meaning across different demographic groups. For instance, if a model predicts a 70% chance of success for an individual, that probability should be equally accurate whether the individual belongs to Group A or Group B. This research, originally presented at FAccT 2022, explores how to optimally adjust model outputs through post-processing to satisfy this constraint while maximizing a decision-maker's utility.

Defining the Fairness Constraints

The authors treat fairness as a constrained optimization problem where a decision-maker seeks to maximize utility (such as profit or overall accuracy) subject to mathematical fairness requirements. The paper formally defines three key criteria related to predictive performance across groups:

Table 1: Mathematical definitions of fairness criteria including Predictive Parity, FOR Parity, and Sufficiency.

As shown in the table above, Predictive Parity requires the Positive Predictive Value (PPV) to be equal across groups. FOR Parity requires the False Omission Rate (FOR) to be equal, and Sufficiency requires both to be satisfied simultaneously. While previous research suggested that most fairness constraints can be met by simply adjusting a "lower-bound threshold" (e.g., accepting everyone with a score above 0.7), this paper proves that predictive parity necessitates a much more complex and counter-intuitive approach.

The Upper-Bound Paradox

The most striking finding of this research is the emergence of the "Upper-Bound Paradox." In many scenarios, the mathematically optimal way to achieve predictive parity is not to raise the bar for a disadvantaged group, but to impose an upper-bound threshold on a higher-performing group.

Figure 2: Visualization of density distributions for two groups. Group 0 uses a standard lower-bound threshold, while Group 1 utilizes an upper-bound threshold to achieve parity.

As illustrated in the figure, to align the average precision (PPV) of two groups with different underlying score distributions, a decision-maker might be forced to "dilute" the high-performing group. This is achieved by rejecting the most qualified individuals (those with the highest probabilities of success) or accepting individuals with lower probabilities. In the visualization, Group 1's decision rule involves accepting individuals below a certain threshold $t_2$, effectively capping the group's performance to match the other group's average.

Ethical and Practical Implications

This mathematical reality presents a profound ethical dilemma: the tension between between-group fairness and within-group fairness. By forcing groups to appear equal on a statistical level (between-group parity), the system creates significant unfairness for individuals within those groups. In a criminal justice context, this could lead to the release of high-risk individuals while keeping low-risk individuals detained, simply to balance the precision metrics of the algorithm.

Furthermore, the authors demonstrate that satisfying the most stringent criterion—Sufficiency—often requires randomization. Much like the requirements for Equalized Odds, achieving sufficiency may necessitate "flipping a coin" for certain individuals, a practice that is difficult to justify in high-stakes human environments.

Conclusion and Future Directions

The paper successfully characterizes the optimal decision rules for predictive parity as group-specific thresholds, but it also serves as a cautionary tale. The "rational" maximization of utility under fairness constraints can lead to outcomes that are morally and socially "irrational."

While post-processing can mitigate some forms of historical and measurement bias, it is not a panacea—especially when the ground-truth labels themselves are biased. The authors conclude that imposing certain fairness criteria without considering their individual-level consequences may inadvertently result in systems that are more ethically problematic than the biased models they were intended to fix. Future work must focus on reconciling these mathematical optima with broader human notions of justice and meritocracy.

Summary updated

BibTeX
@inproceedings{baumann2023fair,
  author = {Joachim Baumann and Anikó Hannák and Christoph Heitz},
  title = {{Fair Machine Learning Through Post-processing: The Case of Predictive Parity}},
  booktitle = {Ewaf},
  year = {2023},
}
Figure