An Explainable Hybrid Artificial Intelligence Model for Corporate Financial Distress Prediction Using Accounting Information

Authors

Keywords:

accounting information; artificial intelligence; bankruptcy prediction; explainable AI; financial distress; machine learning; SHAP; stacking ensemble

Abstract

OThis study aimed to develop an explainable hybrid artificial-intelligence model for predicting corporate financial distress using accounting information and to compare its predictive performance with conventional bankruptcy models and individual machine-learning algorithms. A longitudinal firm-year dataset comprising 2,946 observations from 285 non-financial companies listed on the Tehran Stock Exchange and Iran Fara Bourse was constructed. Financial distress was defined as first entry into the Article 141 condition in the subsequent year. Logistic regression, support vector machine, random forest, XGBoost, and artificial neural network models were developed and subsequently integrated through stacked generalization. Feature selection, class-imbalance management, time-aware validation, and SHapley Additive exPlanations (SHAP) were incorporated. The most recent 750 firm-year observations were retained as an untouched out-of-time test sample. Of the total observations, 247 (8.4%) subsequently became financially distressed. Machine-learning models outperformed traditional bankruptcy benchmarks, with XGBoost achieving the strongest performance among individual classifiers (ROC-AUC = .921; PR-AUC = .612). The hybrid stacking model produced the best overall performance (ROC-AUC = .938; PR-AUC = .684; sensitivity = .823; specificity = .927; balanced accuracy = .875). SHAP analysis identified accumulated losses, operating cash flow, leverage, profitability, working capital, retained earnings, and interest coverage as the principal predictors. After removing accumulated losses to registered capital, the model retained strong predictive ability (ROC-AUC = .919). Combining accounting information with stacked artificial-intelligence models provides more accurate, robust, and interpretable financial-distress forecasts than conventional statistical models or individual machine-learning algorithms.

Downloads

Download data is not yet available.

References

Ainan, U. H., Por, L. Y., Chen, Y.-L., Yang, J., & Ku, C. S. (2024). Advancing bankruptcy forecasting with hybrid machine learning techniques: Insights from an unbalanced Polish dataset. IEEE Access, 12, 9369–9381. https://doi.org/10.1109/ACCESS.2024.3354173

Altman, E. I. (1968). Financial ratios, discriminant analysis and the prediction of corporate bankruptcy. The Journal of Finance, 23(4), 589–609. https://doi.org/10.1111/j.1540-6261.1968.tb00843.x

Altman, E. I., Iwanicz-Drozdowska, M., Laitinen, E. K., & Suvas, A. (2017). Financial distress prediction in an international context: A review and empirical analysis of Altman’s Z-score model. Journal of International Financial Management & Accounting, 28(2), 131–171. https://doi.org/10.1111/jifm.12053

Barboza, F., Kimura, H., & Altman, E. (2017). Machine learning models and bankruptcy prediction. Expert Systems with Applications, 83, 405–417. https://doi.org/10.1016/j.eswa.2017.04.006

Beaver, W. H. (1966). Financial ratios as predictors of failure. Journal of Accounting Research, 4, 71–111. https://doi.org/10.2307/2490171

Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324

Cao, Y., Luo, Y.-H., Wei, P., Zhai, J., & Shi, S. (2026). Bankruptcy forecasting—Market information with ensemble model. The British Accounting Review, 58(3), Article 101530. https://doi.org/10.1016/j.bar.2024.101530

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. https://doi.org/10.1613/jair.953

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). Association for Computing Machinery. https://doi.org/10.1145/2939672.2939785

Cortes, C., & Vapnik, V. (1995). Support-vector networks. Machine Learning, 20, 273–297. https://doi.org/10.1007/BF00994018

DeLong, E. R., DeLong, D. M., & Clarke-Pearson, D. L. (1988). Comparing the areas under two or more correlated receiver operating characteristic curves: A nonparametric approach. Biometrics, 44(3), 837–845. https://doi.org/10.2307/2531595

Etemadi, H., Anvary Rostamy, A. A., & Dehkordi, H. F. (2009). A genetic programming model for bankruptcy prediction: Empirical evidence from Iran. Expert Systems with Applications, 36(2), 3199–3207. https://doi.org/10.1016/j.eswa.2008.01.012

Grice, J. S., & Dugan, M. T. (2001). The limitations of bankruptcy prediction models: Some cautions for the researcher. Review of Quantitative Finance and Accounting, 17(2), 151–166. https://doi.org/10.1023/A:1017973604789

Hosaka, T. (2019). Bankruptcy prediction using imaged financial ratios and convolutional neural networks. Expert Systems with Applications, 117, 287–299. https://doi.org/10.1016/j.eswa.2018.09.039

Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. In I. Guyon et al. (Eds.), Advances in Neural Information Processing Systems 30 (pp. 4765–4774). Curran Associates. https://proceedings.neurips.cc/paper/7062-a-unified-approach-to-interpreting-model-predictions

Ohlson, J. A. (1980). Financial ratios and the probabilistic prediction of bankruptcy. Journal of Accounting Research, 18(1), 109–131. https://doi.org/10.2307/2490395

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. https://doi.org/10.1371/journal.pone.0118432

Tibshirani, R. (1996). Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society: Series B (Methodological), 58(1), 267–288. https://doi.org/10.1111/j.2517-6161.1996.tb02080.x

Wolpert, D. H. (1992). Stacked generalization. Neural Networks, 5(2), 241–259. https://doi.org/10.1016/S0893-6080(05)80023-1

Zhang, Z., Wu, C., Qu, S., & Chen, X. (2022). An explainable artificial intelligence approach for financial distress prediction. Information Processing & Management, 59(4), 102988. https://doi.org/10.1016/j.ipm.2022.102988

Publication Timeline

Published

Issue

Section

Articles

How to Cite

Mastchaman, N., & Akbarlou, E. . (2026). An Explainable Hybrid Artificial Intelligence Model for Corporate Financial Distress Prediction Using Accounting Information. AI and Tech in Behavioral and Social Sciences. https://journals.kmanpub.com/index.php/aitechbesosci/article/view/5958