UC Irvine Shows AI Fairness Audits Miss Hidden Bias Pathways in Clinical Models
A new benchmark shows that the choice of causal discovery algorithm dramatically changes fairness conclusions in clinical models, with structural errors hiding real bias.
ProTakeaways
- New benchmark evaluates PC, GES, and FCI causal discovery algorithms on clinical fairness decomposition tasks.
- Expert-built ground-truth graphs cover synthetic Alzheimer's and real heart failure clinical records data.
- PC achieved best structural recovery on Alzheimer's data with F1 of 0.50 and SHD of 13.
- FCI won on heart failure data, handling latent confounders that trip up PC and GES.
- Ejection fraction alone contributed 3.37 percentage points to the indirect sex-to-death effect.
- Code and expert graphs released on GitHub for reproducibility.
Fairness audits of clinical prediction models increasingly rely on causal graphs to trace how a protected attribute like sex flows through mediators, confounders, and direct pathways into an outcome. The catch: those graphs are usually learned from data by a causal discovery algorithm, and nobody in healthcare has a real ground truth to check them against. A new study from UC Irvine and the University of Orléans builds proxy ground-truth graphs with clinicians and then stress-tests the most common discovery algorithms to see whether their outputs are trustworthy enough to drive fairness decisions.
Why fairness needs a graph
Modern causal fairness frameworks decompose the total disparity in an outcome into three pieces: a direct effect from the protected attribute, an indirect effect that flows through mediators such as clinical measurements, and a spurious effect from shared confounders. Causal fairness frameworks decompose total variation into direct, indirect, and spurious components, enabling a nuanced understanding of which pathways contribute to disparity. That decomposition is powerful because it tells clinicians which specific pathway to intervene on, but it only works if you already know which variables are mediators and which are confounders. That is exactly what a causal graph encodes, and it is exactly what is missing in real clinical datasets.
The paper targets this gap by asking a very practical question: if you run a standard causal discovery algorithm on health data and then plug the resulting graph into a fairness analysis, how wrong can the fairness numbers get?
Building a ground truth by hand

The authors work with two datasets. The first is a synthetic Alzheimer's disease dataset generated from a known structural causal model, with variables like age, education, APOE4 genetic risk, tau biomarker, MOCA cognitive score, and brain volume. The second is the well-known heart failure clinical records dataset comprising 299 participants with a combination of demographic and clinical features, including ejection fraction, serum creatinine, serum sodium, and a mortality outcome.
For the heart failure data, the team sat down with a domain expert and hand-drew a causal graph grounded in cardiology literature. Smoking serves as a significant accelerator by causing elevated blood pressure and doubling the risk of developing heart failure. Similarly, untreated hypertension eventually causes heart failure and a subsequent reduction in ejection fraction. That graph becomes the proxy ground truth against which the algorithms are scored.

The algorithms under test
Three families of discovery algorithms were compared:
- Peter-Clark (PC), a constraint-based method that uses conditional independence tests with a Fisher-Z test at alpha 0.05.
- Greedy Equivalence Search (GES), a score-based method using BIC.
- Fast Causal Inference (FCI), an extension of PC that extends PC to handle latent confounders and selection bias, which are common in observational clinical data.
On the Alzheimer's data the team also ran three continuous-optimization approaches, NOTEARS, DAGMA, and DAG-GNN, which learn a graph by solving a differentiable optimization with an acyclicity constraint.
What the numbers show
On the synthetic Alzheimer's benchmark, PC came out on top with an F1 of 0.50 and a structural Hamming distance of 13, while the neural approach DAG-GNN collapsed to an F1 of 0.13. The continuous-optimization methods struggled on the mixed-type variables. On the real heart failure data the ranking flipped: FCI hit F1 of 0.38 with SHD of 20, while PC and GES landed at 0.18 and 0.16 with false discovery rates above 0.75.
The more interesting finding is what happens downstream in the fairness decomposition. Discovered graphs PC and GES collapsed to direct effect only, with Ctf-IE and Ctf-SE equal to zero. In other words, when the discovered graph misses mediator edges, the fairness audit silently reports zero indirect bias even though the ground truth shows real pathways carrying disparity. On the heart failure dataset, ejection fraction contributed most to Ctf-IE at 3.37%, meaning a meaningful chunk of sex-based disparity in mortality flows through that single clinical measurement.
The fairness-utility ratio, path by path
The team also computed a Causal Fairness Utility Ratio (CFUR) for each pathway, quantifying how much fairness you gain per unit of accuracy you sacrifice when you block a given path. On Alzheimer's, blocking the direct sex to ventricular volume path gave the biggest fairness bang for the buck, while blocking spurious confounder paths mostly hurt accuracy without helping. On heart failure, the pattern reversed: indirect and spurious paths showed positive CFUR under the ground truth, suggesting interventions on mediators like ejection fraction may be the right lever.
What is actually usable
The reproducibility story is straightforward. All experiments, algorithms, and the expert-defined graphs are available in the authors' GitHub repository, and the causal discovery pipeline is built on top of the open-source causal-learn library plus gcastle for the neural methods. If you are building a clinical ML model and planning a fairness audit, the practical takeaways are:
- Do not trust a composite fairness score alone. It can hide entire pathways that were dropped because your discovery algorithm missed an edge.
- Match the algorithm to the data. FCI is worth trying whenever latent confounders or selection bias are plausible, which is most observational health data.
- Report path-specific effects and CFUR per path so downstream reviewers can see which mediator or confounder is actually driving disparity.
The honest limitation is that a proxy ground truth is still a proxy. The heart failure sample of 299 patients produces wide confidence intervals, and expert graphs can contain doubly directed edges that violate the strict DAG assumptions the algorithms rely on. Still, the work gives the community a concrete, reproducible benchmark for asking whether a causal fairness pipeline is measuring what it claims to measure.