Introduction
In machine learning, Equalized Odds (EO) is widely considered a gold standard for fairness. It requires that error rates—specifically false positives and false negatives—be balanced across protected groups, such as race or gender. However, this paper argues that EO is fundamentally "causally blind." By bridging the gap between statistical fairness and causal reality, the authors decompose the Equalized Odds metric into specific causal components. This framework allows practitioners to identify and control specific pathways of discrimination, ensuring that a classifier isn't just "statistically fair" while hiding deep-seated causal biases.
The Problem with Statistical Fairness
Two classifiers can exhibit the exact same statistical error rate disparity, yet arrive at those errors through entirely different mechanisms. One model might be discriminating directly (e.g., explicitly using race as a feature), while the other might be picking up spurious correlations (e.g., through a shared demographic factor like age or zip code).
Current legal frameworks often require a "strong causal connection" to prove discrimination, which statistical measures alone cannot provide. The challenge is twofold: explaining why a disparity exists in the data, and building classifiers that specifically target and mitigate the "unfair" causal paths without destroying predictive utility.
A Causal Framework for Fairness
To address this, the authors introduce a causal framework based on Structural Causal Models (SCMs) to analyze misclassification. They propose a Counterfactual Decomposition that breaks down the total statistical disparity into three distinct measures:
- Counterfactual Direct Error Rate ($ER^d$): The disparity caused by the direct path from the protected attribute $X$ to the prediction $\hat{Y}$.
- Counterfactual Indirect Error Rate ($ER^i$): The disparity mediated through other downstream variables (e.g., $X \to \text{Prior Convictions} \to \hat{Y}$).
- Counterfactual Spurious Error Rate ($ER^s$): The disparity arising from non-causal associations, typically unobserved or observed confounders.
The authors mathematically prove that the total statistical disparity in error rates is the exact sum of these three components. Because the underlying SCM is rarely fully known in practice, they derive adjustment formulas to estimate these counterfactual measures from observational data using Inverse Propensity Weighting (IPW).
Building on this, they propose the Ctf-FairLearning Algorithm. This learning procedure minimizes prediction loss subject to "box constraints" on these specific causal components. A practitioner can use this to, for example, zero out direct discrimination while allowing for "fair" indirect effects.
Key Insights: The Fairness Paradox
A major revelation in this work is the demonstration of a "Fairness Paradox": optimizing strictly for statistical Equalized Odds can actually increase direct discrimination. If you force a model to be statistically fair without looking at the causal paths, the model might "compensate" for one bias by introducing a more egregious direct bias to balance the overall numbers.
By breaking down disparity into causal paths, this framework aligns machine learning fairness with established legal doctrines (like Title VII in the US), which explicitly distinguish between "disparate treatment" (direct discrimination) and "disparate impact" (indirect discrimination). This provides a "causal lens" for data analysts to diagnose why a deployed model is behaving unfairly, moving beyond a single, opaque fairness score to a nuanced diagnostic report.
Experimental Results
The authors validated their approach on both synthetic and real-world datasets:
- Synthetic Tests: In a controlled environment, the authors showed that a standard "fair" classifier achieved lower overall statistical disparity but actually had a higher direct discrimination score ($ER^d = 0.620$) than a completely unconstrained model ($ER^d = 0.381$). Their proposed causal classifier (
Ctf-FairLearning) successfully reduced all three components simultaneously. - COMPAS Dataset: Using the real-world recidivism risk assessment dataset, the unconstrained model exhibited a direct discrimination effect of -0.066. By applying their algorithm and removing the "Prior Convictions" feature (identified as a source of non-explainable bias in this specific setup), they reduced the direct discrimination to nearly zero (-0.001) with only a minor drop in accuracy (from 74.6% to 72.1%).
Limitations and Future Work
While powerful, the method relies on the existence of a Causal Directed Acyclic Graph (DAG). Although the authors provide an algorithm to find valid adjustment sets, the initial graph must still be provided by domain experts or discovered from data—a non-trivial task. Additionally, some optimization simplifications assume discrete features, suggesting that extending this framework to high-dimensional, continuous latent spaces (like those in deep learning) is a necessary next step. Finally, completely unobserved confounding between the protected attribute and the outcome remains a persistent challenge.
Summary updated