Different Performance of Transformer and Logistic Regression Models in Credit Risk Prediction

Authors

  • Yanran Lu
  • Jingxuan Lyu
  • Minghong Ma
  • Shenxin Yi

DOI:

https://doi.org/10.61173/dnfgyh32

Keywords:

-credit risk, economics, logistic regression, transformer, binary classification

Abstract

Nowadays, people’s use of credit cards is increasing significantly, and the importance of predicting credit default for banks has become higher. This paper aims to compare the different performances of two binary classification methods--logistic regression and transformer--in credit risk performance to determine which one bank should use wider when making loans. In the experiment, we selected 600,000 pieces of data randomly and then applied them in both logistic regression and transformer models. As a result, we evaluated the performance of each model in various aspects, and we eventually found that logistic regression is more accurate than transformer. So we can conclude that although there are diverse novel credit scoring models appearing in the world, logistic regression is still one of the most practical, useful and precise ones, which not only saves time but also performs well. However, in the future, if the data features get more complicated, people might discover more uses of transformers in the economic field, especially in credit risk prediction.

References

[1] Horan, S. (2024a) Personal Loan Data and statistics (2024), MarketWatch. Available at: https://www.marketwatch.com/ guides/personal-loans/personal-loan-statistics/#:~:text=Key%20 S t a t i s t i c s % 2 0 1 % 2 0 N e a r l y % 2 0 2 3 % 2 0 m i l l i o n % 2 0 Americans%20have,and%20lowest%20among%20 Generation%20Z%20%28%247%2C684%29.%20More%20 items (Accessed: 11 July 2024).

[2] Author links open overlay panelJonathan N. Crook a et al. (2011) Recent developments in Consumer Credit Risk Assessment, European Journal of Operational Research. Available at: https://www.sciencedirect.com/science/article/abs/ pii/S0377221706011866 (Accessed: 10 July 2024).

[3] Author links open overlay panelJohannes Kriebel et al. (2021) Credit default prediction from user-generated text in peer-to-peer lending using Deep Learning, European Journal of Operational Research. Available at: https://www.sciencedirect. com/science/article/abs/pii/S037722172101078X (Accessed: 10 July 2024).

[4] Arram, A. et al. (2023) Credit card score prediction using Machine Learning Models: A new dataset, arXiv.org. Available at: https://arxiv.org/abs/2310.02956 (Accessed: 10 July 2024).

[5] Cheng, Y. et al. (2024) Research on credit risk early warning model of commercial banks based on neural network algorithm, arXiv.org. Available at: https://arxiv.org/abs/2405.10762 (Accessed: 10 July 2024).

[6] Logistic regression in machine learning (2024) GeeksforGeeks. Available at: https://www.geeksforgeeks.org/ understanding-logistic-regression/ (Accessed: 10 July 2024).

[7] Transformers in machine learning (2023) GeeksforGeeks. Available at: https://www.geeksforgeeks.org/getting-startedwith-transformers/ (Accessed: 10 July 2024).

[8] What is a transformer model? (2023) IBM. Available at: https://www.ibm.com/topics/transformer-model (Accessed: 10 July 2024).

Downloads

Published

2025-07-06