AI-Driven Credit Scoring and Loan Default Prediction A Comparative Machine Learning Study of Credit Risk Assessment and Lending Decisions
Main Article Content
Abstract
Credit default prediction is central to consumer lending because it informs credit approval, portfolio monitoring, pricing, and provisioning. This quantitative comparative study examined the predictive performance of traditional credit-scoring approaches and artificial intelligence (AI)-based models using secondary financial lending data covering the stated study period of 2015–2025. The research considered LendingClub, Home Credit Default Risk, UCI German Credit, and macroeconomic information from Federal Reserve Economic Data. Logistic regression and a FICO-based scorecard were compared with random forest, extreme gradient boosting (XGBoost), and a long short-term memory (LSTM) network. The analytical procedure included data cleaning, imputation, normalization, feature selection, class-imbalance treatment, an 80:20 training–testing split, and fivefold cross-validation. The performance comparison used accuracy, AUC-ROC, F1-score, RMSE, and R². XGBoost yielded the strongest reported results, with accuracy of 91.2%, AUC-ROC of 0.96, and F1-score of 0.89, followed by LSTM and random forest. The SHAP feature-ranking analysis identified repayment history, debt-to-income ratio, employment length, credit utilization, and recent inquiries as leading predictors. The findings demonstrate stronger descriptive discrimination by AI-based approaches in the evaluated comparison, while indicating that model calibration, cross-dataset harmonization, fairness, and out-of-time validation remain important considerations. The study contributes comparative evidence to the application of machine learning in retail credit assessment and discusses implications for responsible lending and financial inclusion.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Accepted 2026-11-15
Published 2026-11-19
Plaudit
References
E. I. Altman, “Financial ratios, discriminant analysis and the prediction of corporate bankruptcy,” The Journal of Finance, vol. 23, no. 4, pp. 589–609, 1968, doi: 10.1111/j.1540-6261.1968.tb00843.x.
D. J. Hand and W. E. Henley, “Statistical classification methods in consumer credit scoring: A review,” Journal of the Royal Statistical Society: Series A, vol. 160, no. 3, pp. 523–541, 1997.
A. E. Khandani, A. J. Kim, and A. W. Lo, “Consumer credit-risk models via machine-learning algorithms,” Journal of Banking & Finance, vol. 34, no. 11, pp. 2767–2787, 2010, doi: 10.1016/j.jbankfin.2010.06.001.
S. Lessmann, B. Baesens, H.-V. Seow, and L. C. Thomas, “Benchmarking state-of-the-art classification algorithms for credit scoring: An update of research,” European Journal of Operational Research, vol. 247, no. 1, pp. 124–136, 2015, doi: 10.1016/j.ejor.2015.05.030.
L. Breiman, “Random forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, 2001, doi: 10.1023/A:1010933404324.
J. H. Friedman, “Greedy function approximation: A gradient boosting machine,” The Annals of Statistics, vol. 29, no. 5, pp. 1189–1232, 2001, doi: 10.1214/aos/1013203451.
T. Chen and C. Guestrin, “XGBoost: A scalable tree boosting system,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, 2016, pp. 785–794, doi: 10.1145/2939672.2939785.
S. Hochreiter and J. Schmidhuber, “Long short-term memory,” Neural Computation, vol. 9, no. 8, pp. 1735–1780, 1997, doi: 10.1162/neco.1997.9.8.1735.
S. M. Lundberg and S.-I. Lee, “A unified approach to interpreting model predictions,” in Advances in Neural Information Processing Systems, vol. 30, 2017.
M. T. Ribeiro, S. Singh, and C. Guestrin, “Why should I trust you?: Explaining the predictions of any classifier,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, 2016, pp. 1135–1144, doi: 10.1145/2939672.2939778.
N. Kozodoi, J. Jacob, and S. Lessmann, “Fairness in credit scoring: Assessment, implementation and profit implications,” European Journal of Operational Research, vol. 297, no. 3, pp. 1083–1094, 2022, doi: 10.1016/j.ejor.2021.06.023.
S. Barocas, M. Hardt, and A. Narayanan, Fairness and Machine Learning: Limitations and Opportunities. Cambridge, MA, USA: MIT Press, 2023.
T. Berg, V. Burg, A. Gombović, and M. Puri, “On the rise of FinTechs: Credit scoring using digital footprints,” The Review of Financial Studies, vol. 33, no. 7, pp. 2845–2897, 2020, doi: 10.1093/rfs/hhz099.
V. B. Djeundje, J. Crook, R. Calabrese, and M. Hamid, “Enhancing credit scoring with alternative data,” Expert Systems with Applications, vol. 163, Art. no. 113766, 2021, doi: 10.1016/j.eswa.2020.113766.
G. James, D. Witten, T. Hastie, and R. Tibshirani, An Introduction to Statistical Learning: With Applications in R, 2nd ed. New York, NY, USA: Springer, 2021.
I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. Cambridge, MA, USA: MIT Press, 2016.
N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Synthetic minority over-sampling technique,” Journal of Artificial Intelligence Research, vol. 16, pp. 321–357, 2002, doi: 10.1613/jair.953.
R. Kohavi, “A study of cross-validation and bootstrap for accuracy estimation and model selection,” in Proc. 14th Int. Joint Conf. Artificial Intelligence, 1995, pp. 1137–1143.
S. Varma and R. Simon, “Bias in error estimation when using cross-validation for model selection,” BMC Bioinformatics, vol. 7, Art. no. 91, 2006, doi: 10.1186/1471-2105-7-91.
L. C. Thomas, D. B. Edelman, and J. N. Crook, Credit Scoring and Its Applications. Philadelphia, PA, USA: SIAM, 2002.
T. Fischer and C. Krauss, “Deep learning with long short-term memory networks for financial market predictions,” European Journal of Operational Research, vol. 270, no. 2, pp. 654–669, 2018, doi: 10.1016/j.ejor.2017.11.054.
A. P. Bradley, “The use of the area under the ROC curve in the evaluation of machine learning algorithms,” Pattern Recognition, vol. 30, no. 7, pp. 1145–1159, 1997, doi: 10.1016/S0031-3203(96)00142-2.
J. Davis and M. Goadrich, “The relationship between precision-recall and ROC curves,” in Proc. 23rd Int. Conf. Machine Learning, 2006, pp. 233–240, doi: 10.1145/1143844.1143874.
T. Saito and M. Rehmsmeier, “The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets,” PLoS ONE, vol. 10, no. 3, Art. no. e0118432, 2015, doi: 10.1371/journal.pone.0118432.
J. Gama, I. Žliobaitė, A. Bifet, M. Pechenizkiy, and A. Bouchachia, “A survey on concept drift adaptation,” ACM Computing Surveys, vol. 46, no. 4, Art. no. 44, 2014, doi: 10.1145/2523813.
World Bank, The Global Findex Database 2021: Financial Inclusion, Digital Payments, and Resilience in the Age of COVID-19. Washington, DC, USA: World Bank, 2022, doi: 10.1596/978-1-4648-1897-4.
A. Niculescu-Mizil and R. Caruana, “Predicting good probabilities with supervised learning,” in Proc. 22nd Int. Conf. Machine Learning, 2005, pp. 625–632, doi: 10.1145/1102351.1102430.
G. W. Brier, “Verification of forecasts expressed in terms of probability,” Monthly Weather Review, vol. 78, no. 1, pp. 1–3, 1950.
C. Elkan, “The foundations of cost-sensitive learning,” in Proc. 17th Int. Joint Conf. Artificial Intelligence, 2001, pp. 973–978.
J. C. Hull, Risk Management and Financial Institutions, 5th ed. Hoboken, NJ, USA: Wiley, 2018.
R. S. Tsay, Analysis of Financial Time Series, 3rd ed. Hoboken, NJ, USA: Wiley, 2010.
S. Gu, B. Kelly, and D. Xiu, “Empirical asset pricing via machine learning,” The Review of Financial Studies, vol. 33, no. 5, pp. 2223–2273, 2020, doi: 10.1093/rfs/hhaa009.
C. Molnar, Interpretable Machine Learning, 2nd ed., 2022. [Online]. Available: https://christophm.github.io/interpretable-ml-book/
M. Hardt, E. Price, and N. Srebro, “Equality of opportunity in supervised learning,” in Advances in Neural Information Processing Systems, vol. 29, 2016.
Basel Committee on Banking Supervision, Principles for the Management of Credit Risk. Basel, Switzerland: Bank for International Settlements, 2000.
Basel Committee on Banking Supervision, International Convergence of Capital Measurement and Capital Standards: A Revised Framework. Basel, Switzerland: Bank for International Settlements, 2006.
European Parliament and Council of the European Union, “Regulation (EU) 2024/1689 laying down harmonised rules on artificial intelligence,” Official Journal of the European Union, 2024.
National Institute of Standards and Technology, Artificial Intelligence Risk Management Framework (AI RMF 1.0), NIST AI 100-1, 2023, doi: 10.6028/NIST.AI.100-1.