Context. To ask whether a model would make better bail decisions than judges, one needs outcomes for the defendants the model would release, but outcomes exist only for those the judge released. The labels are selected by the very decisions being compared against, by people who see things the model does not (demeanor, who came with the defendant). Every standard fix, from imputation to doubly robust estimation (Dudík et al., next in this section), assumes no unmeasured confounding and is biased here. Lakkaraju et al. impute nothing and use the variation between decision-makers who see comparable cases. The most lenient one's released set contains an outcome for every case any stricter policy on that caseload would release, provided the stricter policy also refuses what the lenient one refused. So a model can be evaluated by contracting that released set, and the error this leaves depends only on how much the model disagrees with those refusals, which can be computed from the data. Kleinberg et al. (2018, QJE) make the same design a central tool in their study of bail decisions in New York City.
Setting. Data : recorded features , decision-maker , decision (1 = release, which produces a label), and outcome observed only when . Decision-makers also see unobservables that may affect . A black-box model , trained on separate data, scores risk from alone. The acceptance rate is the fraction released, and the failure rate is bad outcomes among those released divided by all cases judged, so the two must be read together as a curve. Contraction needs many decision-makers, cases assigned to them as if at random, and acceptance rates that vary.
Contraction and its error bound. Let be the decision-maker with the highest acceptance rate , with caseload and released set . To evaluate at acceptance rate , keep everything detained detained, also detain the cases in that scores riskiest until the rate is , and report Let be the fraction of 's detained cases that , ranking all of on its own, would also detain at rate . Then the error relative to 's true failure rate on is at most The machine curve is compared with a human curve built by binning decision-makers by acceptance rate.
Evaluating on labeled cases alone, or imputing the rest, overstates the model's performance. Released cases are a population the judge has already screened using . If a family's presence in court predicts a good outcome for young defendants and judges use it, the labeled data show few failures among the young, and a model trained on them learns that youth is safe and fails on the young defendants the judges would have detained. Imputation from assumes ; when drives both, detained cases are riskier than released cases with the same , so imputed outcomes understate failures. Contraction counts only observed outcomes, so unobservables can enter only through the swapped cases the bound counts.
Random assignment lets one caseload stand in for another, and leniency supplies the labels. The model runs on 's cases but is compared with judge at 's rate, which is fair only if and are draws from one distribution of . Since has labeled a superset of what a stricter policy that keeps 's refusals would release, the model can be evaluated at any rate up to and none above, which would release cases detained. One condition is implicit: a released case's outcome must not depend on who released it, or the outcomes in are 's outcomes and not those any policy would see.
The error is bounded by the number of swapped cases, which the data determine. 's own detentions at rate include of 's detainees, so it releases the other and detains correspondingly more from than contraction does. The two released sets therefore differ by exactly cases on each side, with unknown outcomes on one side; failures in each group lie between 0 and , which gives the bound, and at contraction is exact. Since uses only 's decisions and 's scores on , the interval's width is known before looking at a label. It is a worst case over the unknown outcomes, conditional on the sample, and says nothing about sampling error in .
On synthetic data with a strong unobservable, contraction tracks the truth and imputation reverses the conclusion. With 100 judges of 500 cases each, failure depends on with seen only by judges, who detain by nearly that index at acceptance rates from 0.1 to 0.9, and the model is a logistic regression trained on the labeled cases of a training half. Contraction follows the true failure-rate curve closely, while labeled-only evaluation and five imputation methods, propensity matching and doubly robust estimation among them, understate the model's failure rate enough to put it below the judges' curve, when in truth the judges, who see , do better. The imputation error grows with the weight on , and at weight 1 contraction's mean absolute error is already 6.4 times below the best imputation method's. Its error rises as the lenient rate or the agreement falls, as the bound predicts, and as the lenient caseload shrinks, which is sampling error. The simulation favors contraction, since judges rank by nearly the outcome index, so swapped cases are both high-risk and their failures largely cancel: in my rerun with a model ranking by , agreement at is only about 0.4, yet the actual error is about a tenth of the bound.
On three real data sets the model beats the humans, with agreement high enough to trust the estimate. On bail decisions, asthma treatment and insurance underwriting, with gradient-boosted trees trained on the labeled training cases, the contraction curve lies below the human curve at every acceptance rate, and the labeled-only curve lower still, which the paper reads as over-optimism. Agreement rates are 0.891, 0.932 and 0.718, computed at the lenient decision-maker's own rate, where agreement is lowest. An F-test fails to reject random assignment on all three, but it checks balance on recorded features only, and balance on is assumed. With no ground truth, these results rest on the assumptions and the bound, whose width the paper does not report.
Consequences and limits. Contraction replaces "no unmeasured confounding" with "as-if random assignment plus varying leniency", the structure of the judge-leniency designs in economics. It reaches only rates up to , with the precision of one caseload, and evaluates a fixed model without saying how to train on selectively labeled data. Payment fraud has the same structure: declined transactions never get an outcome, so scoring a new model on approved traffic alone is the labeled-only evaluation shown here to overstate its performance. If traffic is split at random across policies or review queues that decline at different rates, the most permissive one plays the lenient judge, and the swap bound says how much of a comparison rests on outcomes nobody saw; a small randomly approved slice, which the paper rules out on ethical grounds for bail, is often an acceptable cost there and gives labels directly. The failure labels inside approved traffic are themselves late chargebacks with unreported fraud counted as clean, so every failure rate is an undercount, and contraction compares policies fairly only if that undercount does not differ between the released sets being compared.
Terms
- Selective labels
- outcomes observed only for cases the decision-maker accepted
- Unobservables
- information the decision-maker uses that the data do not record; breaks
- Acceptance rate
- fraction of a decision-maker's cases accepted (released, approved)
- Failure rate
- bad outcomes among accepted cases divided by all cases judged
- ,
- the most lenient decision-maker and its acceptance rate; the model can be evaluated only at rates up to
- Contraction
- keep 's refusals, refuse further cases from by model score, count observed failures
- Agreement
- share of 's refusals the model would also refuse at rate ; computable from features alone
- Swap bound
- ; exact when
- Random assignment
- caseloads are draws from one distribution, so one caseload stands in for another
- Labeled-only evaluation
- scoring the model on accepted cases; optimistic because they were screened using
Quiz
- When is the contraction estimate exactly the model's failure rate on 's caseload?With the contracted released set equals the set the model would release itself, and all of its outcomes are observed. Each disagreement on 's refusals swaps one observed case for one unobserved one.
- Why can contraction not evaluate the model at acceptance rates above ?Contraction only removes cases from . Reaching a higher acceptance rate means adding cases from , and their outcomes are exactly what selective labeling hides.
- The paper tests random assignment by regressing a predicted outcome on decision-maker identity. What can this test not detect?The predicted outcome is a function of , so the test checks balance on recorded features only. Assignment that depends on alone would leave it untouched and still bias the comparison.
- Contraction counts observed failures in the cases a policy releases. If outcomes themselves are under-reported (some failures recorded as clean), when does the comparison of two policies stay fair?Each failure rate becomes the true rate times a reporting rate. Equal reporting rates scale both curves alike and keep their order; if one policy releases cases whose failures go unreported more often, it looks better than it is.
Sources
- Himabindu Lakkaraju, Jon Kleinberg, Jure Leskovec, Jens Ludwig, and Sendhil Mullainathan. The Selective Labels Problem: Evaluating Algorithmic Predictions in the Presence of Unobservables. KDD, 2017.
- Jon Kleinberg, Himabindu Lakkaraju, Jure Leskovec, Jens Ludwig, and Sendhil Mullainathan. Human Decisions and Machine Predictions. Quarterly Journal of Economics, 2018.