Method

How it was measured, and what I refused to measure.

Split by time and by geography, three fairness criteria reported at once because they contradict each other, a floor under what gets published, and the experiment that tests the fix everybody suggests first.

Method

Four decisions that shaped every number above.

The split is temporal, not random

Fitted on 2015, tuned on 2016, tested on 2018, which is how a model like this is actually used: built on the past, applied to the present. A random split of a single year would have hidden the drift entirely.

Four states are held out completely

Geographic shift on top of temporal shift. The positive rate falls to 0.302 there against 0.386 in the test states, and AUC falls from 0.888 to 0.864. That decay is measured rather than assumed away.

Protected attributes are kept out of the features

Race and sex are held separately and used only to measure disparity, never to predict. An attribute is protected whether or not the model is allowed to see it, so the audit runs either way.

Three fairness criteria are reported together

Demographic parity, equalised odds and calibration cannot all hold when base rates differ across groups, and here they differ by 0.270. Quoting one number alone would be a choice about which unfairness to make invisible.

The obvious fix

What happens if the model cannot see race or sex.

This is the first thing almost everybody suggests, including me before I measured it. It has a name, fairness through unawareness: if the model cannot see the attribute, it cannot discriminate on it. It is testable, so I tested it instead of citing someone.

The model does use race and sex. So I trained it again with both columns deleted, gave it its own threshold, and scored it on the same year.

Gap, sees both
0.312
the shipped model
Gap, both deleted
0.288
fairness through unawareness
Gap that survives
92%
removing them changes almost nothing
Accuracy cost
0.0056
and it is not free either
Sees race and sexBoth columns deletedAsianAsian alone84.4% (-1.0%)Asian aloneWhiteWhite alone83.0% (-0.3%)White aloneTwo or moreTwo or more races78.9% (+0.7%)Two or more racesAm. IndianAmerican Indian alone76.1% (+3.5%)American Indian alonePacific IslanderNative Hawaiian and Other Pacific Islander alone71.9% (-0.0%)Native Hawaiian and Other Pacific Islander aloneBlackBlack or African American alone73.8% (+2.9%)Black or African American aloneNative tribesAmerican Indian and Alaska Native tribes specified70.6% (+1.1%)American Indian and Alaska Native tribes specifiedSome other raceSome other race alone55.6% (+1.4%)Some other race alone

The lines barely move. The model has no idea what race anyone is and it still finds about 54 out of every hundred qualifying people in one group and 85 in another. It rebuilds nearly all of the signal from occupation, education, hours worked and place of birth, because those carry the history of who got which opportunities.

Deleting the column does not delete the problem. It deletes your ability to see it, while leaving you feeling like you did something.

A second model

Would a different algorithm simply not have this problem?

Every other number here comes from one gradient boosted tree. The fair objection is that this might be a fact about the algorithm: boosting is very good at finding interactions, and occupation crossed with region and hours could rebuild race without ever being told it.

So I trained a logistic regression on the identical splits and features. Linear, additive, no interactions unless you build them.

Gap, trees
0.312
AUC 0.888
Gap, linear
0.315
AUC 0.875
Gap that remains
101%
of the original, after changing everything
Rank correlation
0.93
the same groups end up at the bottom
Gradient boosted treesLogistic regressionAsianAsian alone85.0% (-0.4%)Asian aloneWhiteWhite alone83.4% (+0.1%)White aloneTwo or moreTwo or more races76.7% (-1.5%)Two or more racesAm. IndianAmerican Indian alone67.4% (-5.3%)American Indian alonePacific IslanderNative Hawaiian and Other Pacific Islander alone71.9% (-0.0%)Native Hawaiian and Other Pacific Islander aloneBlackBlack or African American alone70.4% (-0.5%)Black or African American aloneNative tribesAmerican Indian and Alaska Native tribes specified65.6% (-3.9%)American Indian and Alaska Native tribes specifiedSome other raceSome other race alone53.5% (-0.7%)Some other race alone

The linear model is a slightly worse predictor and has a slightly larger gap. Swapping out the entire algorithm moved the disparity by 0.0036. And the rank correlation says the two families do not merely fail equally hard, they fail the same people: rank the groups by recall under each model and you get almost the same order.

Two model families with nothing in common reach the same disparity and put it on the same groups. So the problem is in the data, not the algorithm, and picking a different library is not a plan.

Sources

Where the data and the definitions come from.

Nothing on this page is invented. The people are real survey respondents, the fairness criteria are the standard ones, and the reason they cannot all be satisfied at once is a proved result, not an opinion.

Next The fix I did not ship What closing the gap would cost, and the two reasons I refused it.