Catalogue of Tools & Metrics for Trustworthy AI

These tools and metrics are designed to help AI actors develop and use trustworthy AI systems and applications that respect human rights and are fair, transparent, explainable, robust, secure and safe.

Counterfactual Fairness with Graph Uncertainty (CF-GU) is a procedure for evaluating bias in machine learning (ML) models that accounts for uncertainty about cause-and-effect relationships in the data. It builds on counterfactual fairness audits, which ask whether a model's decision about a person would change if a sensitive attribute, such as race or sex, were different. Such audits rely on a causal graph, a diagram showing how variables influence each other. However, the correct graph is rarely known with certainty in real-world settings, so audit conclusions may depend on an unverified assumption. CF-GU addresses this by building graph uncertainty into the audit. It was presented at the BIAS 2025 workshop at the European Conference on Machine Learning (ECML PKDD).

CF-GU works in three steps. First, it repeatedly runs a causal discovery algorithm, which infers likely causal relationships from data, on resampled versions of the dataset. Domain knowledge constraints can be added, such as rules that certain variables cannot cause others. This produces a set of plausible causal graphs rather than a single one. Second, CF-GU measures how much these graphs disagree, using normalised Shannon entropy. Third, it provides confidence bounds on counterfactual fairness metrics across the plausible graphs.

Experiments on synthetic data show how different domain knowledge assumptions can support or overturn an audit's conclusions. On the real-world COMPAS and Adult datasets, CF-GU identifies well-known biases with high confidence, even with minimal domain knowledge.

Auto-discovered on 2026-02-11 by OECD Catalogue Automation

About the metric


Metric type(s):




Lifecycle stage(s):


Usage rights:


Target users:


Risk management stage(s):

Modify this metric

Partnership on AI

Disclaimer: The tools and metrics featured herein are solely those of the originating authors and are not vetted or endorsed by the OECD or its member countries. The Organisation cannot be held responsible for possible issues resulting from the posting of links to third parties' tools and metrics on this catalogue. More on the methodology can be found at https://oecd.ai/catalogue/faq.