Construction of SME Loan Default Risk Prediction System for Commercial Banks Using XGBoost Model
Main Article Content
Abstract
Small and medium-sized enterprises play an important role in promoting employment and innovation, but their small scale, opaque financial information, and unstable operating conditions increase credit risk for commercial banks. Accurate prediction of SME loan default risk can reduce credit losses, optimize credit-resource allocation, and support sustainable SME development. Taking SME loan data from commercial banks as the research object, this paper constructs a loan default risk prediction system based on the XGBoost model. Key indicators affecting loan default are first identified through literature research and expert interviews, including enterprise financial indicators, non-financial indicators, and macroeconomic indicators. The collected data are then cleaned, missing values are processed, and feature engineering is conducted. The XGBoost model is constructed and optimized through grid search and cross-validation, and compared with logistic regression, random forest, and LightGBM models. Evaluation results based on confusion matrix, ROC curve, and AUC show that the XGBoost model achieves an AUC of 0.89 and maintains an AUC of 0.88 on the independent test set, indicating strong predictive accuracy, stability, and non-overfitting performance.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
References
X. W. Hu, “Study on the Viability and Development Capability of Small and Medium-sized Enterprises in China,” Qufu Normal University, 2012.
L. Xu, “Incentive Effect of Tax Preferences on Financing of Small and Medium-sized Enterprises,” Tax Payment. (33) (2024).
N. N. Liu and Y. Y. Ling, “Impact of Debt Scale Expansion of Financing Platforms on Financing Constraints of Small and Medium-sized Enterprises from the Perspective of a Financial Powerhouse,” Chinese Rural Economy. (5) (2024) 106-127.
Y. F. Lin and Y. J. Li, “Development of Small and Medium-sized Financial Institutions and Financing of Small and Mediumsized Enterprises,” Economic Research Journal. 000(001) (2001) 10-18.
Z. G. Ye, “Enhancing the Precision of Financial Services for Micro and Small Enterprises,” China Finance. (14) (2023) 33-34.
W. Wu and D. Gu, “A Study on the Model of Commercial Banks’ Selection of Financing Small and Medium-sized Enter prises,” (2006).
Y. Q. Zhu, L. H. Chen, Y. H. Hu, Z. Z. Liao, and W. Ming, “Credit Risk Management of Small and Medium-sized Enterprise Loans in Commercial Banks-Research Practice from Changde,” Foreign Investment in China. (5) (2024) 111-114.
J. Xu, “Digital Transformation of Commercial Banks, Financing Constraints and Sustainable Innovation of Small and Medium-sized Enterprises,” Finance. 14(6) (2024) 2075-2085. https://doi.org/10.12677/fin.2024.146212.
L. Jiang, Y. Q. Luo, and M. Y. He, “Research on the Path of Commercial Banks Empowering the High-quality Development of Small and Medium-sized Enterprises under the New Development Pattern-Enlightenment from “Specialized, Refined, Characteristic and Innovative” Enterprises,” Southwest Finance. (1) (2023) 16-28.
Q. Yang, “Issues and Suggestions on Financing of Small and Medium-sized Enterprises by Commercial Banks in China,” (5) (2025) 94-96.
Y. J. Cheng, “Study on the Optimization of Credit Risk Management for Loans to “Specialized, Refined, Characteristic and Innovative” Small and Medium-sized Enterprises in RZ Bank,” Shandong University.
L. Zhao, “Study on Credit Risk Management of Credit Cards in XT Bank,” Beijing University of Civil Engineering and Architecture, 2023.
P. Xiong, “Study on Credit Risk Management of Personal Housing Loan Business in J Branch of Z Bank,” Jiangxi University of Finance and Economics.
J. Q. Zhang, W. Li, and S. M. Ruan, “Loan Default Risk Prediction Based on Machine Learning,” Journal of Changchun University of Science and Technology (Social Sciences Edition). 34(4) (2021) 7.
P. S. Calem, C. Ramasamy, and J. Wang, “What Explains the Post-2011 Trends of Longer Maturities and Rising Default Rates on Auto Loans? Consumer Finance Institute Discussion Papers,” (2020). https://doi.org/10.21799/frbp.dp.2020.02.
T. B. Bedada, “Assessment of the Factors Affecting Borrower’s Ability to Repay Loans (In Case of Oromia Saving and Credit Institution in Bale Robe Town),” (9) (2020).
J. Ahmad, “Does Gender Matter in the Relationship between Money Attitudes and Loan Default? A Case Study among Small and Medium Enterprises (SMEs) Owner-Managers,” IJEMS-V7I9P110. (2020). https://doi.org/10.14445/23939125/IJEMS-V7I9P110.
C. Zhang, Q. Wu, H. Wang, X. Luo, and J. Tong, “Factors Affecting Campus Loans in Western China,” SAGE Open. 11(2) (2021) 215824402110231. https://doi.org/10.1177/21582440211023111.
L. McKinney, J. P. Gross, A. Burridge, B. Inge, and A. Williams, “Understanding Loan Default Among Community College Stu dents,” Community College Review. 49(3) (2021) 009155212110014. https://doi.org/10.1177/00915521211001467.
D. Michael, E. Lorna, S. C. Fitzpatrick, S. B. M. Barros, M. Brinda, and H. A. Wallace, “Response to Decision-Making with New Approach Methodologies: Time to Replace Default Uncertainty Factors with Data,” Toxicological Sciences. (1) (2022) 1.
R. Li, “Identification of Influencing Factors of Borrowers’ Default Risk on Online Lending Platforms Based on a Combined Technique of Information Gain and Multiple Stepwise Regression,” Journal of Financial Theory Research. (4) (2020) 8.
Q. Zheng, H. Lun, and Y. P. Xu, “An Insight into the Influencing Factors of Consumer Loan Default,” Financial Market Research. 000(003) (2021) 108-116.
Y. G. Zhang, “Analysis of the Impact of Emergencies on the Default of Personal Housing Mortgages in Commercial Banks,” Shanghai Business. (8) (2022) 25-27.
A. Alqerem, G. Alnaymat, and M. Alhasan, “Model Improvement Through Comprehensive Preprocessing for Loan Default Prediction,” International Journal of Scientific & Technology Research. 9(1) (2020) 1314-1318.
W. Zhang, C. Wang, Y. Zhang, and J. Wang, “Credit Risk Evaluation Model with Textual Features from Loan Descriptions for P2P Lending,” Electronic Commerce Research and Applications. 42 (2020) 100989. https://doi.org/10.1016/j.elerap.2020.100989.
J. Charlier and V. Makarenkov, “XtracTree for Regulator Validation of Bagging Methods Used in Retail Banking,” (2020).
J. C. Zhong and H. Fang, “Analysis of Default Risk in Online Lending-Based on Data Mining,” Economic Research Guide. (10) (2020) 4.
J. Chakole and M. Kurhekar, “Trend-Following Deep Q-Learning Strategy for Stock Trading,” Expert Systems. 37(4) (2020). https://doi.org/10.1111/exsy.12514.
F. Khemlichi, H. Chougrad, Y. I. Khamlichi, A. E. Boushaki, and S. E. H. B. Ali, “A Stock Trading Strategy Based on Deep Reinforcement Learning,” Advanced Intelligent Systems for Sustainable Development (AI2SD’2020). (2022). https://doi.org/10.1007/978-3-030-90639-9_74.
Y. F. Tang, “Research on Loan Default Prediction Models Based on XGBoost and LightGBM Algorithms,” Modern Computer. 27(32) (2021) 5.