Abstract
In domains such as criminal justice, medicine, and social welfare, decision makers increasingly have access to algorithmic Risk Assessment Instruments (RAIs). RAIs estimate the risk of an adverse outcome such as recidivism or child neglect, potentially informing high-stakes decisions such as whether to release a defendant on bail or initiate a child welfare investigation. It is important to ensure that RAIs are fair, so that the benefits and harms of such decisions are equitably distributed. The most widely used algorithmic fairness criteria are formulated with respect to observable outcomes, such as whether a person actually recidivates, but these criteria are misleading when applied to RAIs. Since RAIs are intended to inform interventions that can reduce risk, the prediction itself affects the downstream outcome. Recent work has argued that fairness criteria for RAIs should instead utilize potential outcomes, i.e. the outcomes that would occur in the absence of an appropriate intervention. However, no methods currently exist to satisfy such fairness criteria. In this paper, we target one such criterion, counterfactual equalized odds. We develop a post-processed predictor that is estimated via doubly robust estimators, extending and adapting previous post-processing approaches to the counterfactual setting. We also provide doubly robust estimators of the risk and fairness properties of arbitrary fixed post-processed predictors. Our predictor converges to an optimal fair predictor at fast rates. We illustrate properties of our method and show that it performs well on both simulated and real data.
Introduction: The Intervention Paradox
In high-stakes machine learning applications—such as bail decisions, medical triage, or child welfare—Risk Assessment Instruments (RAIs) are deployed to predict adverse outcomes. However, a fundamental challenge arises: RAIs are designed to inform interventions. If a model predicts a high risk for an individual and a successful intervention is subsequently staged, the adverse outcome may never occur.
Standard observational fairness metrics, such as Equalized Odds, interpret this success as a "false positive" error. This "intervention paradox" means that if certain demographic groups historically received more interventions, observational metrics will systematically underestimate their risk and miscalculate the model's fairness. To address this, researchers argue for a shift toward counterfactual fairness, focusing on what would have happened in the absence of an intervention.
Methodology: Post-Processing and Double Robustness
This research introduces a post-processing method to achieve counterfactual equalized odds. Unlike in-processing methods that require retraining models, this approach takes an existing "black box" model and adjusts its outputs by strategically flipping predictions based on specific probabilities.
Optimization via Linear Programming
The search for optimal flipping probabilities is framed as a linear programming (LP) problem. The objective is to minimize prediction error (loss) while satisfying a "fairness budget" that constrains differences in counterfactual error rates across groups.
Doubly Robust (DR) Estimation
Because counterfactual outcomes are never directly observed, the authors employ doubly robust (DR) estimators to solve the LP. This technique combines two models:
- Outcome Regression: Predicts the potential outcome.
- Propensity Score: Predicts the likelihood of an intervention.
The DR estimator remains accurate if either of these models is correctly specified, allowing the fair predictor to converge to an optimal solution at a fast rate ($\sqrt{n}$), even with imperfect underlying models.
Experimental Results
The method was evaluated using simulated data, the COMPAS recidivism dataset, and child welfare data from Allegheny County, PA.
On the COMPAS dataset, the original model exhibited significant counterfactual disparities: African-American defendants had a counterfactual False Positive Rate (cFPR) 24% higher than Caucasians. By applying the proposed post-processing method, this disparity was reduced to within 5%. This correction came with a minimal "accuracy tax," as the overall loss increased by only approximately 0.03, requiring the adjustment of only 9% of the original scores.
In the Child Welfare context, the method highlighted the complexities of balancing false positives and false negatives in environments where the costs of errors are highly asymmetrical.
Discussion and Limitations
A primary limitation of this approach is the "Ignorability" (No Unmeasured Confounding) assumption. The validity of the counterfactual estimates depends on having recorded all variables that influenced both historical intervention decisions and final outcomes—a difficult requirement in complex social systems like criminal justice.
While post-processing offers a practical solution for existing proprietary models, future work may involve extending these doubly robust techniques to the training phase (in-processing) to integrate fairness more deeply into the model architecture.
Summary updated