Act II: The Model Blind to Harm
Step 5Live-room allocation: 3:00
Open in Colab — 05_Model_Is_Blind.ipynb, opens in a new tab
Precision is not the same as perspective. Illustration: Brian Stauffer.
Act I followed the eGFR value before it reached an AI model. Now we follow it as it enters an AI pipeline.
In the previous step, we introduced Strategy C, the one almost everybody ships: remove race from the model’s inputs without changing the measurements that were already calculated using race.
But what does that actually look like?
The feature matrix
Section titled “The feature matrix”A feature matrix is the table a model learns from. Each row is a patient. Each column is a feature the model uses to make a prediction.
Here are four illustrative patients, not real ones. In both tables, 1 means yes and 0 means no.
With race
| Patient | Age | Female | Black | eGFR (2009 equation) |
|---|---|---|---|---|
| 1 | 72 | 0 | 0 | 81 |
| 2 | 51 | 1 | 0 | 94 |
| 3 | 58 | 1 | 1 | 102 |
| 4 | 46 | 0 | 1 | 97 |
Without race (Model A’s matrix, below)
| Patient | Age | Female | eGFR (2009 equation) |
|---|---|---|---|
| 1 | 72 | 0 | 81 |
| 2 | 51 | 1 | 94 |
| 3 | 58 | 1 | 102 |
| 4 | 46 | 0 | 97 |
The race column is gone. Now look at the eGFR column.
Patients 3 and 4 are Black. The 2009 CKD-EPI equation had already used race to calculate their eGFR. Removing the race column does not undo that calculation.
eGFR is a derived feature, not a raw lab measurement: its value depends on the equation that produced it. So the model never receives race directly, but it can still receive information shaped by race upstream.
Abdalla et al. 2026, writing in the Journal of the American Medical Informatics Association, name this as the first way race correction enters clinical AI: a race-corrected variable such as eGFR used as a model input. They also warn that switching to the race-free version is not a complete fix, because the outcomes a model learns from were already shaped by clinical decisions made with the race-corrected value.
Does changing that equation change how the model performs?
Two models, one difference
Section titled “Two models, one difference”We train two models to predict whether a patient died during follow-up. Both receive the same three features: age, sex, and eGFR.
| Model A | Model B | |
|---|---|---|
| eGFR equation | CKD-EPI 2009 | CKD-EPI 2021 |
| Uses race to calculate eGFR? | Yes | No |
| Model features | age, sex, eGFR | age, sex, eGFR |
| Race column | none | none |
Same patients, same outcomes, same train/test split, same modeling procedure. The only change is which equation supplies eGFR.
From Act I, we already know that switching equations moves 2.41% of Black adults below eGFR 60, the line used to stage chronic kidney disease. Will that change show up in the model’s performance?
To find out, we look at AUROC (Area Under the Receiver Operating Characteristic Curve), which measures how well a model ranks patients by predicted risk. Pick one patient who died and one who survived. Did the model give the higher risk to the patient who died? AUROC summarizes how often that ordering is right across many pairs. 0.50 is no better than chance. 1.00 means every pair is ranked correctly.
The number barely moves
Section titled “The number barely moves”| Model | Global AUROC | Worst group by race |
|---|---|---|
| Model A: CKD-EPI 2009 | 0.901 | Not audited here |
| Model B: CKD-EPI 2021 | 0.902 | 0.881 (Black) |
The global AUROC changes by 0.001. We changed how kidney function was calculated, retrained the model, and evaluated its predictions. The headline metric barely moved.
On paper, these results look reassuring. But what exactly did we measure?
Why AUROC barely moves, and why that is not a bug in your code
Section titled “Why AUROC barely moves, and why that is not a bug in your code”AUROC only cares about order: who sits above whom when patients are lined up by predicted risk. Switching equations changes eGFR values, but it barely changes that order.
- Within a race group, the line-up stays almost the same. The 2021 equation is a full refit, so it changes more than the race term, but in both equations higher creatinine means lower eGFR.
- Across race groups, the switch matters more. The 2009 equation multiplied every Black patient’s eGFR by 1.159, and the 2021 equation drops that factor, so some Black and non-Black pairs trade places. In this cohort those swaps are few and partly cancel out.
Two kinds of cutoff are easy to mix up here. The model outputs a predicted risk of death, and AUROC grades how it ranks those risks. A clinical cutoff, like the eGFR 45 line for metformin dosing, is applied to the eGFR value itself, not to the model’s risk score.
What this step does not prove
Section titled “What this step does not prove”By the metrics we chose, the model passes. But passing those checks is not evidence that no patient experienced a consequential change.
We have established two things:
- A model can receive race-conditioned information through a derived feature, even without a race column.
- Changing how that feature is calculated can leave global AUROC almost unchanged.
In this experiment, the change in the eGFR equation does not translate meaningfully into the mortality model’s AUROC.
The distinction that matters is between how well a model ranks patients and what happens when a measurement reaches a clinical decision threshold. This is chronically conflated and overlooked.
AUROC answered the question we asked. The problem is that we asked a question that could not see the harm. If this question is asked in isolation, it can create a false sense of security.
In the next step, we change the question. Instead of asking,
Does a mortality AI model rank patients well?
we ask,
Who crosses the clinical decision boundary when the upstream measurement changes?