Skip to main content
QUICK REVIEW

[Paper Review] The Sensitivity of Counterfactual Fairness to Unmeasured Confounding

Niki Kilbertus, Philip Ball|arXiv (Cornell University)|Jul 1, 2019
Ethics and Social Impacts of AISocial Sciences23 references20 citations
TL;DR

This paper introduces sensitivity analysis tools to assess how unmeasured confounding affects counterfactual fairness in causal machine learning models, particularly within non-linear additive noise models (ANMs). It proposes a grid-based method for bivariate confounding and an optimization-based approach using automatic differentiation for multivariate cases, demonstrating that confounding can significantly alter fairness metrics even when causal graphs are nearly correct.

ABSTRACT

Causal approaches to fairness have seen substantial recent interest, both from the machine learning community and from wider parties interested in ethical prediction algorithms. In no small part, this has been due to the fact that causal models allow one to simultaneously leverage data and expert knowledge to remove discriminatory effects from predictions. However, one of the primary assumptions in causal modeling is that you know the causal graph. This introduces a new opportunity for bias, caused by misspecifying the causal model. One common way for misspecification to occur is via unmeasured confounding: the true causal effect between variables is partially described by unobserved quantities. In this work we design tools to assess the sensitivity of fairness measures to this confounding for the popular class of non-linear additive noise models (ANMs). Specifically, we give a procedure for computing the maximum difference between two counterfactually fair predictors, where one has become biased due to confounding. For the case of bivariate confounding our technique can be swiftly computed via a sequence of closed-form updates. For multivariate confounding we give an algorithm that can be efficiently solved via automatic differentiation. We demonstrate our new sensitivity analysis tools in real-world fairness scenarios to assess the bias arising from confounding.

Motivation & Objective

  • To address the critical gap in causal fairness research: the assumption that causal graphs are known and correct, which is often violated due to unmeasured confounding.
  • To develop tools that quantify how much counterfactual fairness can be compromised by unobserved confounders in real-world prediction systems.
  • To provide a systematic way to assess the robustness of fairness criteria under plausible model misspecification.
  • To extend sensitivity analysis beyond average treatment effects (ATE) to individual-level fairness measures like counterfactual fairness.

Proposed method

  • Models unmeasured confounding as covariance between error terms in non-linear additive noise models (ANMs), representing hidden common causes.
  • For bivariate confounding, uses a grid-based search over correlation values to compute the maximum change in counterfactual fairness, with closed-form updates under linear models with non-linear basis functions.
  • For multivariate confounding, formulates the problem as an optimization task constrained by positive-definite covariance matrices, solvable via automatic differentiation.
  • Employs structural equations to model relationships between protected attributes, outcomes, and mediators, with error terms capturing unobserved confounding.
  • Compares counterfactual predictions under a confounded model (with correlated errors) to those under an unconfounded model (independent errors) to compute fairness impact.
  • Uses a novel metric, CFU (Counterfactual Fairness Under confounding), to quantify the worst-case deviation in fairness due to confounding.

Experimental results

Research questions

  • RQ1How does unmeasured confounding affect the counterfactual fairness of a prediction model, even when the causal graph is otherwise correct?
  • RQ2What is the maximum possible degradation in counterfactual fairness due to a given level of unobserved confounding in the error terms?
  • RQ3Can we efficiently compute the worst-case fairness violation under confounding in both bivariate and multivariate settings?
  • RQ4How do different levels and signs of confounding correlation impact fairness metrics in real-world datasets?
  • RQ5How do the proposed sensitivity tools compare to baseline approaches that assume no confounding or use arbitrary error structures?

Key findings

  • In the law school dataset, CFU increases with confounding strength, peaking at moderate correlations (p_max ≈ 0.5), then plateauing before rising again at high p_max, likely due to numerical instability.
  • For the NHS staff survey dataset, CFU shows a similar pattern: initial rise for small p_max, plateau in the middle range, and a later increase at high p_max, with all values lower than baseline methods.
  • The grid-based approach for bivariate confounding provides a fast, closed-form solution under linear models with non-linear basis functions, enabling efficient sensitivity checks.
  • The optimization-based method using automatic differentiation successfully identifies worst-case fairness violations in multivariate ANMs where grid search is infeasible.
  • Both baseline methods (assuming independence or arbitrary error structures) consistently yield higher CFU than the proposed methods, indicating the new tools are more conservative and reliable.
  • The study reveals that small changes in p_max can cause large jumps in CFU for low confounding levels, suggesting high sensitivity to minor model misspecification in early stages.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.