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

Counterfactual Fairness Is Not Demographic Parity, and Other Observations

Ricardo SilvaarXiv 2024

Abstract: Blanket statements of equivalence between causal concepts and purely probabilistic concepts should be approached with care. In this short note, I examine a recent claim that counterfactual fairness is equivalent to demographic parity. The claim fails to hold up upon closer examination. I will take the opportunity to address some broader misunderstandings about counterfactual fairness.

Introduction

In the rapidly evolving field of AI ethics, there is a recurring temptation to simplify complex causal definitions into easier-to-calculate statistical ones. Specifically, a recent high-profile paper (Rosenblatt and Witter, AAAI 2023) claimed that Counterfactual Fairness (CF)—which asks "Would this person have received the same decision if their protected attribute (e.g., race) had been different?"—is essentially equivalent to Demographic Parity (DP)—which asks if the decision is independent of the protected attribute in the population.

This technical note serves as a rigorous "course correction," arguing that this conflation is not just a mathematical error but a fundamental misunderstanding of causality. Counterfactual fairness is a causal, individual-level concept that cannot be reduced to demographic parity, which is a purely statistical, group-level concept.

The Causal Hierarchy

The distinction between CF and DP is best understood through Judea Pearl’s "Ladder of Causality":

  • Rung 1 (Association): Seeing (Demographic Parity). This is purely observational.
  • Rung 2 (Intervention): Doing.
  • Rung 3 (Counterfactuals): Imagining (Counterfactual Fairness).

Causal assumptions are "Rung 3" operations that cannot be satisfied by "Rung 1" observations alone. The claim that CF equals DP usually relies on a "trivial causal model" where latent error terms are estimated from data. However, these estimated terms are merely mathematical residuals, not true causal variables. True counterfactuals require assumptions that are often unfalsifiable by data alone.

The Fallacy of Equivalence

To demonstrate the non-equivalence, we utilize Structural Causal Models (SCMs) to provide counterexamples. Even under mild assumptions, such as Gaussian distributions, a predictor can satisfy Demographic Parity while being flagrantly unfair from a counterfactual perspective due to unidentifiable correlation parameters (the "rho" between potential outcomes).

Causal diagrams illustrating different relationships between protected attributes (A), features (X), and predictions (Y-hat).

As shown in the diagrams above, the relationship between the protected attribute ($A$), observed features ($X$), and the prediction ($\hat{Y}$) depends heavily on the underlying causal structure—whether mediated by latent variables ($U$) or observed ancestors ($X_\prec$). CF acts as a variable selection protocol or filter; it identifies which information in $X$ is "tainted" by $A$ and should be removed or transformed. It is not a loss function to be optimized, but a structural constraint on the model's inputs.

Empirical Analysis: The LSAC Dataset

The paper re-evaluates experiments using the Law School Admission Council (LSAC) dataset, which includes features like race, sex, LSAT scores, and UGPA to predict first-year law school performance (ZFYA).

A common critique of CF models is that they produce different candidate rankings than "unfair" models. However, rank correlation analysis reveals that this is exactly the intended outcome. If a fair model produced the same ranking as an unfair one, the fairness intervention would be performative and useless. The goal of CF is to change the decision-making process at the individual level, which naturally alters aggregate rankings.

Clarifying Misunderstandings

Several other myths in the literature are addressed:

  • Ancestral Closure: It is often incorrectly assumed that protecting a variable requires protecting all its causal ancestors. This is a human value judgment, not a mathematical necessity of the original theory.
  • Individual vs. Group: CF is an individual-level notion. Even if two groups appear equal on average (satisfying DP), an individual can still be treated unfairly relative to their own counterfactual self.
  • Notational Rigor: The original "equality in distribution" definition of CF is robust. Interventional contrasts on mediators are often conceptually flawed because they attempt to compare groups that cannot exist under the assumed causal model.

Conclusion

While counterfactual fairness provides a rigorous technical path, it is inherently "metaphysical" and cannot be fully validated by experimental data alone. Future work should move toward partial identifiability, providing intervals of possible fair outcomes based on a range of plausible causal assumptions. Ultimately, the choice of causal model remains a societal and ethical consideration that equations alone cannot resolve.

Reference: Silva, R. (2024). Counterfactual Fairness Is Not Demographic Parity, and Other Observations. arXiv:2402.02663v1.

Summary updated

BibTeX
@misc{silva2024counterfactual,
  author = {Ricardo Silva},
  title = {{Counterfactual Fairness Is Not Demographic Parity, and Other Observations}},
  year = {2024},
  eprint = {2402.02663},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.02663},
}
Figure