Credit Card Default Prediction with Machine Learning: A Benchmarking Study on Imbalance Handling and Model Interpretability

Authors

  • Shuangyi Liu

DOI:

https://doi.org/10.61173/ebxdq631

Keywords:

Credit Card Default Prediction, Logistic regression (LR), random forest (RF), eXtreme Gradient Boosting (XGBoost)

Abstract

Credit card default risk prediction is crucial for financial institutions to mitigate potential losses and ensure regulatory compliance. This paper addresses the challenge of imbalanced data and model interpretability in predicting default using the University of California, Irvine (UCI) Credit Card dataset. Experiments were conducted on a dataset of 30,000 clients, and feature engineering was applied to create a 33-dimensional space through logarithmic transformations and ratio feature construction. Logistic regression (LR), random forest (RF), and eXtreme Gradient Boosting (XGBoost) models were trained using stratified five-fold cross-validation and the Synthetic Minority Over-sampling Technique (SMOTE) to address class imbalance, and were evaluated with accuracy, recall, and area under the receiver operating characteristic curve (ROC-AUC). On a held-out 20 % test set, LR achieved an accuracy of 0.7896, a recall of 0.2266, and an ROC-AUC of 0.7255; RF achieved an accuracy of 0.7861, a recall of 0.5156, and an ROC-AUC of 0.7568; XGBoost achieved an accuracy of 0.8174, a recall of 0.5078, and an ROC-AUC of 0.7611. Shapley additive explanations (SHAP) analysis identified recent payment status, first-month bill amount, and payment-to-bill ratio as key predictors, thereby enhancing interpretability and supporting transparent model evaluation for financial risk management.

References

[1] Yeh, I.-C., Lien, C.-H.: The comparisons of data mining techniques for credit scoring models. Expert Systems with Applications 36(2), 3270–3278 (2009)

[2] Lundberg, S.M., Lee, S.-I.: A unified approach to interpreting model predictions. In: Guyon, I., Luxburg, U.V., Bengio, S., et al. (eds.) Advances in Neural Information Processing Systems, vol. 30, pp. 4765–4774. Curran Associates, Red Hook (2017)

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

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

[5] Batista, G.E.A.P.A., Prati, R.C., Monard, M.C.: A study of the behavior of several methods for balancing machine learning training data. In: Proceedings of the SIGKDD Workshop on Learning from Imbalanced Datasets, pp. 10–15. ACM, New York (2004)

[6] Moscato, V., Picariello, A., Sperlí, G.: A benchmark of machine learning approaches for credit score prediction. Expert Dean&Francis Shuangyi Liu Systems with Applications 165, 113986 (2021)

[7] Tan, Y., Zhu, H., Wu, J., Chai, H.: Tab-Attention: Self- Attention-based Stacked Generalization for Imbalanced Credit Default Prediction. arXiv preprint arXiv:2312.01688 (2023)

[8] Mushava, J., Murray, M.: A novel XGBoost extension for credit scoring class-imbalanced data combining a generalized extreme value link and a modified focal loss function. Expert Systems with Applications 202, 117233 (2022)

[9] Zheng, Q., Yu, C., Cao, J., Xu, Y., Xing, Q., Jin, Y.: Advanced payment security system: XGBoost, LightGBM and SMOTE integrated. arXiv preprint arXiv:2406.04658 (2024)

[10] Černevičienė, J., Kabašinskas, A.: Explainable artificial intelligence (XAI) in finance: A systematic literature review. Artificial Intelligence Review 57, 216 (2024)

Downloads

Published

2025-10-23