Where Is a Prediction Model Miscalibrated, and for Whom? Local Audits in Outcome-Learned Pockets
Organizations: University of Utah, USA · Ohio State University, USA · rpotential.ai, USA · Google, USA
Abstract
Overall and group-level averages, and ranking metrics such as the AUC, can hide sets of observations for which a prediction model systematically over- or under-predicts. We present an audit that asks where a model is miscalibrated (in which sets of similar observations it over- or under-predicts on average) and for whom (whether its average prediction error differs between demographic groups, such as by race or sex, within the same set). It groups observations into pockets using random-forest similarity, which weighs each feature by its importance for predicting the outcome, with a ridge-regression grouping alongside. Pockets are learned on one sample and tested on another, with simultaneous confidence intervals that allow for correlation within units such as hospitals; the audit needs only features, outcomes and fixed predictions. In 17 simulation scenarios with an error planted for one group, the combined audit located it better than the strongest alternative grouping in 15, with false-alarm rates near or below 5%; with a local error planted for everyone, it won in 12 of 15 scenarios at the smaller error size and lost when the error was unrelated to the outcome. In public synthetic data from the care-management algorithm studied by Obermeyer et al., it found no detectable overall error but under-prediction of illness in the sickest pockets and over-prediction elsewhere, and distinguished Black patients' concentration where the score under-predicted for everyone from a Black-White gap within pockets. For APACHE IVa, an exploratory analysis located its previously reported over-prediction of ICU mortality in a mostly ventilated pocket and a low-risk pocket, with none detected in a moderate-risk one. Two chest X-ray classifiers showed offsetting local errors behind no detectable overall error. Code: https://github.com/modenesi/pocket-audit
Figures & tables
| Null design | Single-map | Replicates | Forest | Combined |
| Between-group gap | ||||
| Continuous, , 7 specifications | .05 | 700–900 | .050–.059 [.036, .076] | .046–.057 [.033, .074] |
| Continuous, , linear risk | .05 | 700 | .059 [.043, .078] | .049 [.035, .067] |
| Continuous, , nonlinear risk | .05 | 700 | .054 [.040, .074] | .047 [.034, .065] |
| Binary, , independent observations | .025 | 450 | .016 [.008, .032] | .020 [.011, .038] |
| Binary, , 150 dependent units | .0125 | 450 | .013 [.006, .029] | .013 [.006, .029] |
| Smaller shift | Larger shift ( designs) | Null | |||||
| Scenario | Comb. | Error-t. | Best other | Comb. | Error-t. | Best other | flags, % |
| Continuous outcome, | |||||||
| Linear risk | .73 | .19 | .55 (risk bins) | .71 | .56 | .64 | 3.6 |
| + scales, categories, U-shaped risk | .56 | .18 | .10 (risk bins) | .60 | .57 | .30 | 3.8 |
| Nonlinear; region on top linear feature | .80 | .20 | .52 (risk bins) | .78 | .57 | .67 | 3.8 |
| Nonlinear; standardized | .53 | .18 | .10 (risk bins) | .51 | .57 | .30 | 4.6 |
Model Calibration
Model calibration aligns predicted confidence or model outputs with observed outcomes and measurements to support more reliable decisions.
See all 229 papers