Definition
Two situations have to be told apart. If past decisions depended only on variables available to the new model, the outcome is missing at random given those variables: a model fitted on the accepted estimates the right relation, and only extrapolates it to regions with few accepted clients. If past decisions also used information the new model does not have, such as an underwriter's judgement, the accepted clients are better than their variables suggest, and the model is too optimistic for the rejected.
Hand and Henley showed in 1993 that methods which reuse the rejected applicants without extra information, such as reclassification or augmentation, cannot repair the second case: the data needed are not in the sample.
Worked example
Applicants have two risk factors. In case A the old policy rejects on the first factor, which the new model uses. In case B it also rejects on the second, which the new model does not see. The model is fitted on the accepted, and its predicted default rate for the rejected is compared with the truth.
import numpy as np
from sklearn.linear_model import LogisticRegression
rng = np.random.default_rng(26)
n = 100_000
x1, x2 = rng.normal(size=n), rng.normal(size=n)
default = (rng.random(n) < 1 / (1 + np.exp(2.5 - 1.0 * x1 - 1.0 * x2))).astype(int)
X = x1.reshape(-1, 1) # the new model only sees x1
for case, accepted in [("A: rejected on x1 only", x1 < 0.5),
("B: rejected on x1 and on x2 (unseen)", (x1 < 0.5) & (x2 < 0.5))]:
m = LogisticRegression().fit(X[accepted], default[accepted])
rej = ~accepted
print(f"{case:38s} accepted {accepted.mean():.0%} rejected: predicted default {m.predict_proba(X[rej])[:, 1].mean():.3f}, true {default[rej].mean():.3f}")Output, produced by running the code above when this page was built:
A: rejected on x1 only accepted 69% rejected: predicted default 0.269, true 0.248 B: rejected on x1 and on x2 (unseen) accepted 48% rejected: predicted default 0.124, true 0.211
In case A the model fitted on the accepted predicts the default rate of the rejected within about two points. In case B it predicts far fewer defaults than would occur, and nothing in the accepted sample shows it.
Where it misleads
- Reject inference methods that assign outcomes to the rejected from the model itself feed the model its own predictions. They change the coefficients and add no evidence. Crook and Banasik found little gain on data where the true outcomes of rejected applicants were known.
- Measured on the accepted only, the Gini of the new model is lower than on all applicants, and the comparison with the old model is unfair to the new one: the old model chose the sample.
- Real information exists in some cases: credit bureau outcomes of applicants who borrowed elsewhere, or a small random sample of accepted applicants below the cut-off. These are data, not inference, and they are what actually reduces the bias.
The same structure appears outside credit whenever outcomes are observed only for selected cases: fraud checks, medical tests, sales when stock was available.
In our work
At the start of a scoring project we ask how past decisions were made and what they used. It decides whether the accepted sample can be trusted beyond the old cut-off, before any model is fitted.
Service: machine learning and model validation Research note: credit model validation, a worked report
References
- Hand, D. J., Henley, W. E. (1993). Can reject inference ever work?. IMA Journal of Management Mathematics, 5(1), 45-55. doi:10.1093/imaman/5.1.45
- Crook, J., Banasik, J. (2004). Does reject inference really improve the performance of application scoring models?. Journal of Banking and Finance, 28(4), 857-874. doi:10.1016/S0378-4266(03)00203-6
- Thomas, L. C., Edelman, D. B., Crook, J. N. (2002). Credit scoring and its applications. SIAM, Philadelphia. doi:10.1137/1.9780898718317