Counterfactual Fairness with Graph Uncertainty

Davi Valério, Chrysoula Zerva, Mariana Pinto, Ricardo Santos, André Carreiro
1/6/2026
2 citations
cs.LGcs.AIcs.CY

No official code found. Best implementation: DaviGiordano/simplified-counterfactual-fairness-graph-uncertainty (0 stars, Jupyter Notebook, last commit 2026-01-08).

Abstract

Evaluating machine learning (ML) model bias is key to building trustworthy and robust ML systems. Counterfactual Fairness (CF) audits allow the measurement of bias of ML models with a causal framework, yet their conclusions rely on a single causal graph that is rarely known with certainty in real-world scenarios.

Show full abstract

We propose CF with Graph Uncertainty (CF-GU), a bias evaluation procedure that incorporates the uncertainty of specifying a causal graph into CF. CF-GU (i) bootstraps a Causal Discovery algorithm under domain knowledge constraints to produce a bag of plausible Directed Acyclic Graphs (DAGs), (ii) quantifies graph uncertainty with the normalized Shannon entropy, and (iii) provides confidence bounds on CF metrics. Experiments on synthetic data show how contrasting domain knowledge assumptions support or refute audits of CF, while experiments on real-world data (COMPAS and Adult datasets) pinpoint well-known biases with high confidence, even when supplied with minimal domain knowledge constraints.

View on arXivView PDF

Code Implementations(1)

00Jupyter Notebook, PythonOct 2, 202510 months ago

Similar Papers

Cite this paper

@article{valrio2026counterfactual,
  title  = {Counterfactual Fairness with Graph Uncertainty},
  author = {Davi Valério and Chrysoula Zerva and Mariana Pinto and Ricardo Santos and André Carreiro},
  year   = {2026},
  eprint = {2601.03203},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.03203v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.03203.svg)](https://codeofpaper.com/paper/2601.03203)

Discussion