Fair Inference on Outcomes

Razieh Nabi, Ilya Shpitser

Abstract

Algorithmic fairness is often evaluated using associative metrics that fail to account for the underlying causal mechanisms of discrimination. This paper presents a framework for fair inference based on causal mediation analysis. By defining discrimination as the effect of a sensitive attribute acting through specific "disallowed" causal pathways in a Directed Acyclic Graph (DAG), the authors provide a rigorous method for learning fair models. The approach utilizes constrained optimization and robust statistical estimators to ensure fairness guarantees even under model misspecification. Empirical results on the COMPAS and Adult datasets demonstrate that this causal approach effectively reduces bias while preserving more predictive utility than traditional feature-blindness methods.

Introduction

The rapid deployment of automated decision-making systems has sparked significant concern regarding algorithmic bias. Traditional fairness metrics, such as equalized odds or demographic parity, are primarily associative; they measure correlations between sensitive attributes (e.g., race, gender) and outcomes. However, correlation does not imply causation. In many contexts, the fairness of a decision depends on the pathway through which a sensitive attribute exerts its influence. For instance, a direct influence of gender on hiring is typically considered discriminatory, whereas an indirect influence through job-relevant qualifications might be permissible. Furthermore, associative metrics are vulnerable to unobserved confounding, where hidden variables influence both the sensitive attribute and the outcome, leading to misleading fairness assessments.

Causal Mediation for Fairness

To address these limitations, Nabi and Shpitser (2018) propose a framework rooted in causal mediation analysis. The data-generating process is represented as a Directed Acyclic Graph (DAG), where nodes represent variables and edges represent direct causal effects.

Causal diagrams representing various data-generating processes, illustrating how sensitive attributes (A) influence outcomes (Y) through mediators (M) and are influenced by confounders (C, U).

The core concept is the Path-Specific Effect (PSE). Instead of evaluating the total effect of a sensitive attribute $A$ on an outcome $Y$, the framework isolates the effect along specific "disallowed" paths. This allows practitioners to specify which causal influences are discriminatory based on policy and domain expertise.

Methodology

The authors frame fair learning as a constrained optimization problem. The goal is to find a "fair" distribution $p^*$ that is close to the observed "unfair" distribution $p$, subject to the constraint that the PSE along disallowed paths remains within a predefined fair range (e.g., near zero). To ensure the robustness of these fairness guarantees, the authors employ advanced statistical techniques:

  1. Inverse Probability Weighting (IPW): Used to estimate effects by reweighting the sample to simulate a counterfactual distribution.
  2. Triply Robust Estimators: These provide protection against the misspecification of the various components of the causal model (e.g., the propensity score or the outcome model).
  3. Constrained BART: A Bayesian approach using Bayesian Additive Regression Trees (BART) combined with rejection sampling to generate fair predictions.

Empirical Evaluation

The framework was evaluated on two benchmark datasets: the COMPAS recidivism dataset and the UCI Adult income dataset.

Causal models (a) and (b) used to represent the relationships in the COMPAS and Adult datasets, incorporating mediators and unobserved confounders.

In the COMPAS study, the unconstrained model exhibited significant racial bias, with African Americans having 1.3 times higher odds of a high-risk recidivism prediction. By applying causal constraints, the authors significantly reduced this bias. Notably, the fair causal model achieved 66.4% accuracy, outperforming the "fairness through blindness" approach (64.0%), which simply removes the race attribute. This suggests that causal modeling retains more relevant information than simple feature deletion.

In the Adult dataset, gender bias was modeled as acting through marital status (treated as a disallowed path). The causal framework reduced the massive PSE from 3.16 to a fair level. While accuracy dropped from 82% to 72%, it remained far superior to the feature-blindness approach, which saw accuracy fall to 42%.

Conclusion

Causal fairness offers a more nuanced and rigorous alternative to associative metrics. While it requires explicit assumptions about the causal structure of the data—which can be challenging to define in complex real-world scenarios—it aligns more closely with human intuitions of justice by focusing on the mechanisms of influence. Future work remains in addressing the identifiability of path-specific effects in the presence of hidden confounders and improving the computational efficiency of the optimization process.

Summary updated

BibTeX
@inproceedings{nabi2018fair,
  author = {Razieh Nabi and Ilya Shpitser},
  title = {{Fair Inference on Outcomes}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.11553},
}
Figure