NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Causal Reasoning for Algorithmic Fairness

Joshua R. Loftus, Chris Russell, Matt J. Kusner, Ricardo SilvaarXiv 2018

Abstract

Traditional algorithmic fairness relies on statistical correlations, which often fail to capture the underlying mechanisms of bias. This paper proposes a framework based on Structural Causal Models (SCMs) to achieve "Counterfactual Fairness." By modeling how protected attributes causally influence outcomes, researchers can ensure decisions remain consistent across hypothetical scenarios, providing a more robust and ethically grounded approach to individual fairness.

Introduction

As machine learning models increasingly automate high-stakes decisions in hiring, lending, and criminal justice, the risk of inheriting and amplifying societal bias grows. The prevailing response has been the application of statistical fairness metrics, such as demographic parity. However, these observational approaches are fundamentally limited because they ignore the causal "why" behind data distributions. This paper argues for a shift toward causal reasoning to build truly fair algorithms.

The Limits of Statistical Fairness

Statistical fairness metrics focus on group-level outcomes without considering the processes that generated them. This leads to several critical failures:

  1. Mathematical Incompatibility: It is often mathematically impossible to satisfy multiple statistical fairness definitions simultaneously (e.g., calibration vs. equalized odds).
  2. Hidden Discrimination: A model can satisfy group-level metrics while still being discriminatory at the individual level. Conversely, a model might be unfairly penalized for "fair" causal paths, such as when a candidate's career choice—influenced by gender—legitimately impacts their job qualifications.

Structural Causal Models and Counterfactual Fairness

To address these limitations, the authors advocate for Structural Causal Models (SCMs). Unlike standard machine learning models that map inputs to outputs, an SCM describes the underlying "physics" of a social system. It utilizes:

  • Latent Variables ($U$): Unobserved background factors like innate talent or personal drive.
  • Structural Equations ($F$): Functions that define the causal relationships between variables.
Structural Causal Models (a) and their extension to counterfactual reasoning (b, c).

The centerpiece of this framework is Counterfactual Fairness. A predictor is considered counterfactually fair if, for a specific individual, the prediction would remain unchanged in a "counterfactual" world where only their protected attribute ($A$)—such as race or gender—was different, while all other background factors ($U$) remained the same. This approach captures the intuition of "other things being equal" at the individual level.

Path-Specific Fairness

Causal models also enable Path-Specific Fairness, allowing researchers to distinguish between "fair" and "unfair" causal pathways. For instance, in university admissions, a path from Gender to Admission through "Department Choice" might be considered fair, whereas a direct path from Gender to Admission would be discriminatory. By explicitly modeling these paths, policy-makers can "deactivate" unfair links while retaining useful, non-discriminatory information.

Case Studies: Berkeley and COMPAS

The paper applies these concepts to well-known datasets:

  • Berkeley Admissions (1973): Illustrates Simpson’s Paradox, where aggregate bias disappears when accounting for the causal mediator of department choice.
  • COMPAS Recidivism Scores: Demonstrates how conflicting statistical metrics in criminal justice audits can be reconciled by understanding the causal structure of the underlying social system.

Discussion and Future Directions

Causal fairness requires researchers to make their assumptions about the world explicit. While building SCMs demands domain expertise and relies on untestable counterfactual assumptions, it moves the fairness debate from "black box" statistics to transparent, falsifiable models. Future research aims to integrate multiple competing causal models to account for structural uncertainty and to reduce the computational overhead of causal inference for broader industry adoption.

Summary updated

BibTeX
@misc{loftus2018causal,
  author = {Joshua R. Loftus and Chris Russell and Matt J. Kusner and Ricardo Silva},
  title = {{Causal Reasoning for Algorithmic Fairness}},
  year = {2018},
  eprint = {1805.05859},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.05859},
}
Figure