Research

Quantitative research · Credit risk · 2026

Beyond AUC.

Credit risk probability modelling, calibration and model validation. An empirical study of whether a more complex model produces better rankings—and probabilities reliable enough to support decisions.

Does complexity earn its place in a credit-risk model?

Ranking borrowers by risk and estimating reliable probabilities are different problems. A model can improve ROC–AUC while still misrepresenting absolute risk. This study compares regularised logistic regression with gradient boosting, then tests whether sigmoid calibration improves the boosting probabilities.

Boosting performed better on the locked holdout. Logistic regression led in 4 of 5 training-validation folds. The evidence supports a holdout-specific advantage, while a stable general preference for the more complex model remains unresolved.

0.790Boosting holdout AUC200 records · 60 bad outcomes
0.749Logistic holdout AUCIdentical evaluation records
+0.040Paired AUC difference95% CI [0.004, 0.077]
4 / 5Validation folds favour logisticTraining-only outer-fold AUC

Keep selection, calibration and evaluation separate.

A fixed stratified split reserves the final holdout. Five outer training folds evaluate the complete workflow, with a small five-fold hyperparameter search inside each fit. Each calibration score comes from a search that excluded that observation from preprocessing, fitting and hyperparameter selection.

Raw and calibrated boosting share the exact same final base estimator, isolating the sigmoid mapping. Log loss selects the hyperparameters; the holdout never does. A constant-prevalence predictor provides a reference for probability scoring rules.

Source
Corrected UCI South German Credit · 1,000 observations
Development / holdout
800 / 200 records · stratified · seed 42
Predictors
20 features · 3 continuous measurements · 17 categorical attributes
Target integrity
Explicitly recoded to 1 = bad credit · 300 bad / 700 good
Calibration
Sigmoid mapping · cross-fitted hyperparameter searches · shared base model
Uncertainty
2,000 paired stratified bootstrap replicates

A favourable holdout is one part of the evidence.

Both trained model families outperform the constant on ranking and proper scoring rules. Boosting’s holdout AUC advantage is 0.040, with a paired 95% interval of [0.004, 0.077]. That interval excludes zero for these fitted models and this case mix.

Locked holdout: 200 observations. Higher AUC and average precision, lower Brier score and log loss are preferred.
ModelROC–AUCAverage precisionBrier scoreLog loss
Constant prevalence0.5000.3000.210000.61086
Logistic regression0.7490.5740.175350.52486
Gradient boosting0.7900.6350.161800.49362
Boosting + sigmoid0.7900.6350.161740.49411
Paired AUC, Brier-score and log-loss differences. Boosting exceeds logistic on the holdout; calibration differences straddle zero.
Paired differences with 95% percentile intervals. Positive AUC differences and negative scoring-rule differences favour the first model. The same resampled observations are used for each model.View full-size chart

Bootstrap intervals condition on the fitted models and the observed 60 bad / 140 good mix. They exclude uncertainty from refitting, population prevalence and temporal drift. These are nominal comparisons across related metrics, not a multiplicity-adjusted claim of overall superiority.

The ranking reverses in training-only validation.

Mean outer-fold AUC is 0.790 for logistic regression and 0.775 for boosting. Logistic leads in 4 of 5 folds. These folds reuse overlapping training data and are a stability analysis, not independent external validation. Their disagreement with the holdout is part of the result.

Five training-only validation folds show variation in AUC and log loss, with logistic regression leading AUC in four folds.
Every outer-fold result is shown. The complete tuning and calibration workflow is refitted inside each outer training partition, making variation in model rankings visible.View full-size chart

Calibration is an intervention to test.

Sigmoid calibration preserves the boosting ranking here, so AUC and average precision stay unchanged. Holdout Brier score changes by -0.00006, while log loss changes by +0.00049. Both paired intervals include zero. There is no convincing benefit from the added mapping in this study.

The mapping improves outer-fold log loss in only 1 of 5 folds. Reliability diagrams help explain where probabilities differ from frequencies, but sparse bins and arbitrary bin boundaries limit their precision. Proper scoring rules assess probability quality and also reflect discrimination.

Five-bin reliability diagrams for logistic regression, raw boosting and calibrated boosting, with sample counts and Wilson intervals.
Five fixed probability bins, their counts and descriptive 95% Wilson intervals. The diagonal represents ideal calibration. Few high-risk observations make tail reliability especially uncertain.View full-size chart

Thirty per cent bad credit is a sampling choice.

These records date from 1973–1975, and bad-credit outcomes were deliberately oversampled. The observed 30% share does not estimate a bank’s population default rate. Contract non-compliance is also not a fully specified modern default event over a prediction horizon.

Under a hypothetical change in prevalence, Bayes’ rule adjusts posterior odds by the ratio of target to source prior odds. This requires a calibrated source posterior and stable class-conditional feature distributions, P(X|Y). It demonstrates sensitivity; it does not recover real-world default probabilities.

Target posterior odds = source posterior odds × target prior odds ÷ source prior odds

Hypothetical prevalence adjustments from a 30 per cent source prior to 5, 10, 20 and 30 per cent target priors, lowering probabilities without changing ranking.
Mathematical scenarios for explicitly hypothetical target prevalences. The map preserves ranking, while changing the probability levels. Changing lending policy or P(X|Y) would invalidate the simple prior correction.View full-size chart

Predictive signal is only a starting point.

The contribution is a controlled empirical comparison with explicit calibration, uncertainty and model-risk questions. Stronger evidence for a complex model would require representative data, a defined outcome horizon and validation across time or external portfolios.

What the study supports

  • Useful discriminatory information beyond a constant-prevalence baseline.
  • A conditional boosting advantage on the fixed holdout, alongside contradictory fold rankings.
  • No convincing gain from sigmoid calibration on this limited sample.
  • The importance of distinguishing a good ranking from reliable probability levels.

What it does not establish

  • Contemporary portfolio PD calibration, economic value or deployment readiness.
  • A universal model winner or equivalence between the model families.
  • Causal feature effects, fairness or regulatory compliance. Combined personal-status codes cannot reliably identify sex.
  • External or forward-time validity: borrower identifiers and prediction timestamps are unavailable.

Trace the conclusions back to executed experiments.

The project includes typed Python modules, a dependency lockfile, source checksums, a prespecified protocol, row-level predictions, tuning results and bootstrap draws. All 28tests passed. A second experiment run reproduced the seven compared numerical artifacts exactly. The 16-page report discusses all 14 original figures.

Independent research released 27 October 2026, with no bank affiliation or endorsement. Data: UCI South German Credit, licensed CC BY 4.0. The correction by Ulrike Grömping and the statistical references are documented in the report. Project code is MIT licensed.

All research