The fix

It can be closed. I did not close it.

Per-group thresholds take two thirds off the recall gap for four tenths of a point of accuracy. Here is the measurement, and here is why shipping it would have been the wrong call.

One threshold for everyone

Moving the cut-off does not work.

The obvious first move is to slide the single threshold until the gap closes. It does close, at 0.034, but only at a threshold of 0.05 where accuracy falls to 0.602 and the model says yes to almost everyone. That is switching the model off, not fixing it.

0.600.410.650.310.700.200.760.100.810.00threshold 0.05: accuracy 0.602, gap 0.034threshold 0.07: accuracy 0.629, gap 0.048threshold 0.10: accuracy 0.659, gap 0.070threshold 0.12: accuracy 0.686, gap 0.095threshold 0.14: accuracy 0.709, gap 0.125threshold 0.16: accuracy 0.730, gap 0.155threshold 0.18: accuracy 0.744, gap 0.179threshold 0.21: accuracy 0.751, gap 0.192threshold 0.23: accuracy 0.765, gap 0.218threshold 0.25: accuracy 0.778, gap 0.248threshold 0.28: accuracy 0.779, gap 0.250threshold 0.30: accuracy 0.789, gap 0.275threshold 0.32: accuracy 0.793, gap 0.285threshold 0.34: accuracy 0.802, gap 0.312threshold 0.36: accuracy 0.802, gap 0.312threshold 0.39: accuracy 0.805, gap 0.319threshold 0.41: accuracy 0.808, gap 0.332threshold 0.43: accuracy 0.809, gap 0.345threshold 0.46: accuracy 0.809, gap 0.352threshold 0.48: accuracy 0.809, gap 0.357threshold 0.50: accuracy 0.808, gap 0.362threshold 0.52: accuracy 0.806, gap 0.362threshold 0.55: accuracy 0.803, gap 0.370threshold 0.57: accuracy 0.799, gap 0.368threshold 0.59: accuracy 0.795, gap 0.366threshold 0.61: accuracy 0.791, gap 0.366threshold 0.64: accuracy 0.784, gap 0.356threshold 0.66: accuracy 0.779, gap 0.348threshold 0.68: accuracy 0.769, gap 0.333threshold 0.70: accuracy 0.763, gap 0.324threshold 0.72: accuracy 0.753, gap 0.310threshold 0.75: accuracy 0.748, gap 0.302threshold 0.77: accuracy 0.735, gap 0.283threshold 0.79: accuracy 0.727, gap 0.266threshold 0.81: accuracy 0.713, gap 0.241threshold 0.84: accuracy 0.702, gap 0.218threshold 0.86: accuracy 0.691, gap 0.193threshold 0.88: accuracy 0.677, gap 0.162threshold 0.91: accuracy 0.666, gap 0.137threshold 0.93: accuracy 0.649, gap 0.096threshold 0.95: accuracy 0.632, gap 0.050Today: accuracy 0.8021, gap 0.3119Todaygap 0.312Per-group cuts: accuracy 0.7979, gap 0.1143Per-group cutsgap 0.114, needs race at inferenceOverall accuracyRecall gap between groups

One threshold per group

This works. I did not ship it.

Give each group its own cut-off and the recall gap falls from 0.312 to 0.114, for 0.0042 of accuracy. By the number most projects report, that is nearly free.

Recall gap, today
0.312
one threshold for everyone
Recall gap, fixed
0.114
one threshold per group
Accuracy paid
0.0042
0.802 to 0.798
False alarm gap
0.196
was 0.145, so it got worse

Two reasons, both bigger than the accuracy.

It needs the person's race at the moment it decides. The system has to look up your race to know which cut-off applies. In hiring or lending that is either illegal or is the harm you were trying to prevent.

It moves the unfairness rather than removing it. The false alarm gap goes up, 0.145 to 0.196. When groups differ in how often the outcome happens, making one kind of error equal forces the other to become unequal. There is no setting where everything is fair at once.

Conclusion

Five things worth taking away.

The gap is real

0.312 between the best and worst treated group. Deleting race and sex from the features leaves 92% of it. Swapping the algorithm entirely leaves all of it.

Accuracy will tell you nothing is wrong

It runs 0.77 to 0.84 across those same groups. A model can be equally accurate everywhere and still put its mistakes on the same people.

Audit where attributes cross

False alarm gap 0.145 by race, 0.080 by sex, 0.221 by both together. One attribute at a time misses the cell that matters.

The fix that works may not be usable

Per-group thresholds cut the gap to 0.114, need race at the moment of decision, and push the false alarm gap up. You are choosing which unfairness to keep, so choose it out loud.

Put the limits where a build can read them

A standard in a document drifts. A standard that fails a build does not.

The goal was never a model with no disparity. It was to measure the disparity, publish what closing it would cost, and say which cost I was not willing to pay.