Revisiting Class Imbalance in Tree-Based Credit Risk Prediction under Class Prevalence Shifts

Authors

  • Fryderyk Kozlak Department of Computer Science, University of Alabama at Birmingham, Birmingham, AL, USA. Author
  • Uriel Centeno Department of Electrical Engineering and Computer Science, University of Kansas, Lawrence, KS, USA. Author

Keywords:

class prevalence shift; credit risk; tree ensembles; class imbalance; calibration; cost-sensitive decision making

Abstract

Tree-based ensembles are widely used for credit risk prediction, and class imbalance is commonly addressed through resampling, class weighting, or cost-sensitive learning. These interventions are usually evaluated under a fixed prevalence, yet credit portfolios experience shifts in default prevalence across time, product mix, borrower composition, and lending policy. This manuscript revisits the problem by separating training-sample imbalance from deployment-time class prevalence shift. We formulate a label-shift perspective for tree-based credit models, derive prior-adjusted posterior estimates and cost-sensitive decision thresholds, and analyze how weighted split criteria, leaf prevalence estimates, and boosted-tree gradients respond to reweighting. The analysis shows that resampling and class weighting target the training objective but do not by themselves guarantee prior-adjusted calibration; discrimination, precision-recall behavior, and threshold-based decisions have different invariances under prevalence changes. We propose a split-aware methodological framework that combines explicit prevalence accounting, prior correction, proper scoring, prevalence-sensitivity analysis, and cost-based threshold selection. The framework clarifies when correction is justified and where it fails, particularly when covariate shift or conditional outcome drift accompanies prior change. The contribution is an analytically grounded methodology for revisiting class imbalance in tree-based credit risk prediction under class prevalence shifts, with implications for model validation, monitoring, and decision policy.

References

1. Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32.

2. Friedman, J. H. (2001). Greedy function approximation: A gradient boosting machine. Annals of Statistics, 29(5), 1189–1232.

3. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794). ACM.

4. Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q., & Liu, T.-Y. (2017). LightGBM: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems 30 (pp. 3146–3154).

5. Prokhorenkova, L., Gusev, G., Vorobev, A., Dorogush, A. V., & Gulin, A. (2018). CatBoost: Unbiased boosting with categorical features. In Advances in Neural Information Processing Systems 31 (pp. 6638–6648).

6. He, H., & Garcia, E. A. (2009). Learning from imbalanced data. IEEE Transactions on Knowledge and Data Engineering, 21(9), 1263–1284.

7. Chawla, N. V., Bowyer, K. W., Hall, L. O., & Kegelmeyer, W. P. (2002). SMOTE: Synthetic minority over-sampling technique. Journal of Artificial Intelligence Research, 16, 321–357.

8. Elkan, C. (2001). The foundations of cost-sensitive learning. In Proceedings of the 17th International Joint Conference on Artificial Intelligence (pp. 973–978).

9. Zadrozny, B., & Elkan, C. (2001). Obtaining calibrated probability estimates from decision trees and naive Bayesian classifiers. In Proceedings of the 18th International Conference on Machine Learning (pp. 609–616).

10. Saerens, M., Latinne, P., & Decaestecker, C. (2002). Adjusting the outputs of a classifier to new a priori probabilities: A simple procedure. Neural Computation, 14(1), 21–41.

11. Provost, F. (2000). Machine learning from imbalanced data sets 101. In Proceedings of the AAAI Workshop on Imbalanced Data Sets. AAAI Press.

12. Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8), 861–874.

13. Saito, T., & Rehmsmeier, M. (2015). The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets. PLoS ONE, 10(3), e0118432.

14. Niculescu-Mizil, A., & Caruana, R. (2005). Predicting good probabilities with supervised learning. In Proceedings of the 22nd International Conference on Machine Learning (pp. 625–632). ACM.

15. Kull, M., Silva Filho, T. M., & Flach, P. (2017). Beyond sigmoids: How to obtain well-calibrated probabilities from binary classifiers with beta calibration. Electronic Journal of Statistics, 11(2), 5052–5080.

16. Lipton, Z. C., Wang, Y.-X., & Smola, A. J. (2018). Detecting and correcting for label shift with black box predictors. In Proceedings of the 35th International Conference on Machine Learning (pp. 3122–3130). PMLR.

17. Lessmann, S., Baesens, B., Seow, H.-V., & Thomas, L. C. (2015). Benchmarking state-of-the-art classification algorithms for credit scoring: An update of research. European Journal of Operational Research, 247(1), 124–136.

18. Brown, I., & Mues, C. (2012). An experimental comparison of classification algorithms for imbalanced credit scoring data sets. Expert Systems with Applications, 39(3), 3446–3453.

19. Krawczyk, B. (2016). Learning from imbalanced data: Open challenges and future directions. Progress in Artificial Intelligence, 5(4), 221–232.

20. Hand, D. J., & Henley, W. E. (1997). Statistical classification methods in consumer credit scoring: A review. Journal of the Royal Statistical Society: Series A, 160(3), 523–541.

Downloads

Published

2023-11-14

How to Cite

Revisiting Class Imbalance in Tree-Based Credit Risk Prediction under Class Prevalence Shifts. (2023). Journal of Advanced Artificial Intelligence Research, 2(1). https://www.jaair.org/index.php/home/article/view/308