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

Causal Fairness Analysis

Drago Plecko, Elias BareinboimarXiv 2022 · DOI

Abstract

This paper introduces a comprehensive mathematical framework for Causal Fairness Analysis, bridging the gap between observed data disparities and the underlying causal mechanisms. By leveraging Structural Causal Models (SCMs), the authors demonstrate that standard statistical fairness metrics often fail to detect actual discrimination. The work provides a "Fairness Map" and "Cookbook" to help practitioners decompose disparities into direct, indirect, and spurious effects, enabling more precise bias detection and mitigation.

Introduction: Beyond Statistical Parity

Most machine learning fairness approaches rely on purely statistical measures, such as demographic parity, which ensures outcomes are equal across groups. However, statistics alone cannot distinguish between different types of discrimination. A disparity in outcomes might be due to direct discrimination or legitimate indirect factors. The authors address the Fundamental Problem of Causal Fairness Analysis (FPCFA): how to decompose observed statistical disparities into direct, indirect, and spurious causal effects to understand why a system is unfair.

Causal diagram of the UC Berkeley admissions example, showing direct and indirect paths from Gender to Admission.

For example, a gap in university admissions between genders could be due to blatant sexism (a direct causal path) or because groups apply to different departments with different baseline acceptance rates (an indirect path). Legally and ethically, these scenarios are treated differently—the former is "disparate treatment," while the latter might be a "business necessity."

The Causal Fairness Framework

The authors leverage Structural Causal Models (SCMs) and directed acyclic graphs (DAGs) to formalize fairness. The proposed framework follows a structured pipeline from foundational causal models to specific fairness tasks.

The Causal Fairness Analysis workflow, mapping SCMs to fairness measures and empirical tasks.

Key components of this framework include:

  • Standard Fairness Model (SFM): A template categorizing variables into protected attributes ($X$), confounders ($Z$), mediators ($W$), and outcomes ($Y$), making causal modeling accessible even without a perfect graph.
  • The Fairness Map: A theoretical hierarchy organizing fairness criteria based on properties like admissibility (whether the measure vanishes when no discrimination exists) and power (sensitivity to subtle bias).
  • The Fairness Cookbook: A step-by-step algorithmic procedure for bias detection and quantification.
  • Causally Aware Mitigation: New versions of pre-processing and in-processing algorithms that ensure fairness across specific causal pathways.

Key Insights and Theorems

A major contribution is the "Fair Prediction Theorem," which proves that forcing a model to have zero statistical disparity (Total Variation = 0) during training almost never ensures causal fairness. In fact, standard constraints can sometimes mask or amplify underlying discriminatory mechanisms.

The authors also demonstrate Decomposability: Total Variation (TV) can be mathematically broken down into a "structural basis": $TV = \text{Direct Effect} - \text{Indirect Effect} - \text{Spurious Effect}$. This allows analysts to isolate illegal discrimination by "subtracting" acceptable portions of disparity, such as job-related qualifications.

Empirical Results

The framework was validated on several datasets:

  • COMPAS Analysis: While popular fair-ML algorithms reduced statistical gaps, causal analysis revealed that significant direct and indirect effects remained, suggesting these models often "fair-wash" the data.
  • US Census Salary Gap: In 2018 Census data, a $14,000 gender salary gap was analyzed. The "Cookbook" attributed $9,980 specifically to direct gender discrimination (disparate treatment), even after accounting for education and experience.

Conclusion and Future Work

Causal Fairness Analysis provides the tools to move beyond "blind" statistical metrics. While the framework faces challenges like identifiability constraints (requiring knowledge of the true SCM) and hidden confounding, it offers a rigorous path forward. Future work will extend these methods to "Fair Decision-Making," involving long-term policy interventions and feedback loops.

Summary updated

BibTeX
@misc{plecko2022causal,
  author = {Drago Plecko and Elias Bareinboim},
  title = {{Causal Fairness Analysis}},
  year = {2022},
  eprint = {2207.11385},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2207.11385},
}
Figure