Explainable AI for Financial Distress: Evidence from Market Volatility and Regime Dynamics
Abstract
1. Introduction
2. Literature Review and Hypotheses Development
2.1. Non-Linearity in Financial Stability: A Microstructure Perspective
2.2. Temporal Dynamics and Regime-Switching in Financial Risk Drivers
2.3. The Interaction Effects of Market Sentiment and Structural Leverage
3. Methodology
4. Results
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Acosta-González, E., Fernández-Rodríguez, F., & Ganga, H. (2019). Predicting corporate financial failure using macroeconomic variables and accounting data. Computational Economics, 53(1), 227–257. [Google Scholar] [CrossRef]
- Adrian, T., Boyarchenko, N., & Giannone, D. (2019). Vulnerable growth. American Economic Review, 109(4), 1263–1289. [Google Scholar] [CrossRef]
- Adrian, T., Etula, E., & Muir, T. (2014). Financial intermediaries and the cross-section of asset returns. Journal of Finance, 69(6), 2557–2596. [Google Scholar] [CrossRef]
- Altman, E. I. (1968). Financial ratios, discriminant analysis and the prediction of corporate bankruptcy. Journal of Finance, 23(4), 589–609. [Google Scholar] [CrossRef]
- Ang, A., & Timmermann, A. (2012). Regime changes and financial markets. Annual Review of Financial Economics, 4, 313–337. [Google Scholar] [CrossRef]
- Baker, M., & Wurgler, J. (2002). Market timing and capital structure. Journal of Finance, 57(1), 1–32. [Google Scholar] [CrossRef]
- Bali, T. G., Brown, S. J., & Tang, Y. (2017). Is economic uncertainty priced in the cross-section of stock returns? Journal of Financial Economics, 126(3), 471–489. [Google Scholar] [CrossRef]
- Barboza, F., Kimura, H., & Altman, E. (2017). Machine learning models and bankruptcy prediction. Expert Systems with Applications, 83, 405–417. [Google Scholar] [CrossRef]
- Baum, C. F., Chakraborty, A., & Liu, B. (2010). The impact of macroeconomic uncertainty on firms’ changes in financial leverage. International Journal of Finance and Economics, 15(1), 22–30. [Google Scholar] [CrossRef]
- Bekaert, G., Hoerova, M., & Lo Duca, M. (2013). Risk, uncertainty and monetary policy. Journal of Monetary Economics, 60(7), 771–788. [Google Scholar] [CrossRef]
- Bernanke, B. S., Gertler, M., & Gilchrist, S. (1999). The financial accelerator in a quantitative business cycle framework. In Handbook of macroeconomics (Vol. 1, pp. 1341–1393). Elsevier. [Google Scholar] [CrossRef]
- Berninger, M., Fiesenig, B., & Schiereck, D. (2021). The performance of corporate bond issuers in times of financial crisis: Empirical evidence from Latin America. Journal of Risk Finance, 22(1), 78–92. [Google Scholar] [CrossRef]
- Bharath, S. T., & Shumway, T. (2008). Forecasting default with the Merton distance to default model. Review of Financial Studies, 21(3), 1339–1369. [Google Scholar] [CrossRef]
- Blickle, K., & Santos, J. A. C. (2024). The costs of corporate debt overhang. Journal of Financial Intermediation, 60, 101118. [Google Scholar] [CrossRef]
- Bloom, N. (2009). The impact of uncertainty shocks. Econometrica, 77(3), 623–685. [Google Scholar] [CrossRef]
- Brave, S. A., & Butters, R. A. (2012). Diagnosing the financial system: Financial conditions and financial stress. International Journal of Central Banking, 8(2), 191–239. [Google Scholar]
- Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. [Google Scholar] [CrossRef]
- Campbell, J. Y., Hilscher, J., & Szilagyi, J. (2008). In search of distress risk. Journal of Finance, 63(6), 2899–2939. [Google Scholar] [CrossRef]
- Caporale, G. M., Karanasos, M., & Yfanti, S. (2024). Macro-financial linkages in the high-frequency domain: Economic fundamentals and the COVID-induced uncertainty channel in US and UK financial markets. International Journal of Finance and Economics, 29(2), 1581–1608. [Google Scholar] [CrossRef]
- Chan, C. P., Tang, F. K., & Yang, J. H. (2026). Financial performance prediction and stability analysis using SHAP-enhanced machine learning models. Computational Economics, 1–22. [Google Scholar] [CrossRef]
- Chan, C. P., Tsai, C. H., Tang, F. K., & Yang, J. H. (2025). A SHAP-based comparative analysis of machine learning model interpretability in financial classification tasks. Journal of Applied Economic Sciences, 20(3), 89. [Google Scholar] [CrossRef]
- Chava, S., & Jarrow, R. A. (2004). Bankruptcy prediction with industry effects. Review of Finance, 8(4), 537–569. [Google Scholar] [CrossRef]
- Chen, T., & Guestrin, C. (2016, August 13–17). XGBoost: A scalable tree boosting system. 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD ‘16) (pp. 785–794), San Francisco, CA, USA. [Google Scholar] [CrossRef]
- Chen, Z., Lien, D., & Lin, Y. (2021). Sentiment: The bridge between financial markets and macroeconomy. Journal of Economic Behavior and Organization, 188, 1177–1190. [Google Scholar] [CrossRef]
- Cheong, C., & Hoang, H. V. (2021). Macroeconomic factors or firm-specific factors? An examination of the impact on corporate profitability before, during and after the global financial crisis. Cogent Economics and Finance, 9(1), 1959703. [Google Scholar] [CrossRef]
- Choi, S. B., Sauka, K., & Lee, M. (2024). Dynamic capital structure adjustment: An integrated analysis of firm-specific and macroeconomic factors in Korean firms. International Journal of Financial Studies, 12(1), 26. [Google Scholar] [CrossRef]
- de Oliveira, N. A., & Basso, L. F. C. (2025). Explaining corporate ratings transitions and defaults through machine learning. Algorithms, 18(10), 608. [Google Scholar] [CrossRef]
- Diamond, D. W., & Dybvig, P. H. (1983). Bank runs, deposit insurance, and liquidity. Journal of Political Economy, 91(3), 401–419. [Google Scholar] [CrossRef]
- Duffie, D., Saita, L., & Wang, K. (2007). Multi-period corporate default prediction with stochastic covariates. Journal of Financial Economics, 83(3), 635–665. [Google Scholar] [CrossRef]
- El Madou, K., Marso, S., El Kharrim, M., & El Merouani, M. (2024). Evolutions in machine learning technology for financial distress prediction: A comprehensive review and comparative analysis. Expert Systems, 41(2), e13485. [Google Scholar] [CrossRef]
- Ergenç, C., & Aktaş, R. (2025). Sector-specific financial forecasting with machine learning algorithm and SHAP interaction values. Financial Internet Quarterly, 21(1), 42–66. [Google Scholar] [CrossRef]
- Geanakoplos, J. (2024). Leverage cycle theory of economic crises and booms. In Oxford research encyclopedia of economics and finance. Oxford University Press. [Google Scholar] [CrossRef]
- Giglio, S., Kelly, B., & Pruitt, S. (2016). Systemic risk and the macroeconomy: An empirical evaluation. Journal of Financial Economics, 119(3), 457–471. [Google Scholar] [CrossRef]
- Graham, J. R., & Leary, M. T. (2011). A review of empirical capital structure research and directions for the future. Annual Review of Financial Economics, 3, 309–345. [Google Scholar] [CrossRef]
- Gu, S., Kelly, B., & Xiu, D. (2020). Empirical asset pricing via machine learning. Review of Financial Studies, 33(5), 2223–2273. [Google Scholar] [CrossRef]
- Holló, D., Kremer, M., & Lo Duca, M. (2012). CISS—A composite indicator of systemic stress in the financial system. ECB Working Paper No. 1426. [CrossRef]
- Homapour, E., Su, L., Caraffini, F., & Chiclana, F. (2022). Regression analysis of macroeconomic conditions and capital structures of publicly listed British firms. Mathematics, 10(7), 1119. [Google Scholar] [CrossRef]
- Huang, Y. P., & Yen, M. F. (2019). A new perspective of performance comparison among machine learning algorithms for financial distress prediction. Applied Soft Computing, 83, 105663. [Google Scholar] [CrossRef]
- Hui, X. F., & Sun, J. (2006). An application of support vector machine to companies’ financial distress prediction. In Lecture notes in computer science: Modeling decisions for artificial intelligence (Vol. 3885, pp. 274–282). Springer. [Google Scholar] [CrossRef]
- Ibrahimov, O., Vancsura, L., & Parádi-Dolgos, A. (2025). The impact of macroeconomic factors on the firm’s performance—Empirical analysis from Türkiye. Economies, 13(4), 111. [Google Scholar] [CrossRef]
- Jensen, M. C., & Meckling, W. H. (1976). Theory of the firm: Managerial behavior, agency costs, and capital structure. Journal of Financial Economics, 3(4), 305–360. [Google Scholar] [CrossRef]
- Jermann, U., & Quadrini, V. (2012). Macroeconomic effects of financial shocks. American Economic Review, 102(1), 238–271. [Google Scholar] [CrossRef]
- Kalantonis, P., Kallandranis, C., & Sotiropoulos, M. (2021). Leverage and firm performance: New evidence on the role of economic sentiment using accounting information. Journal of Capital Markets Studies, 5(1), 96–107. [Google Scholar] [CrossRef]
- Kalash, I. (2023). The financial leverage–financial performance relationship in the emerging market of Turkey: The role of financial distress risk and currency crisis. EuroMed Journal of Business, 18(1), 1–20. [Google Scholar] [CrossRef]
- Karanasos, M., Yfanti, S., & Hunter, J. (2022). Emerging stock market volatility and economic fundamentals: The importance of US uncertainty spillovers, financial and health crises. Annals of Operations Research, 313(2), 1077–1116. [Google Scholar] [CrossRef]
- Kirilenko, A., Kyle, A. S., Samadi, M., & Tuzun, T. (2017). The flash crash: High-frequency trading in an electronic market. Journal of Finance, 72(3), 967–998. [Google Scholar] [CrossRef]
- Labosova, V., Duricova, L., & Durana, P. (2025). One model fits all? Evaluating bankruptcy prediction across different economic periods. Economies, 13(12), 361. [Google Scholar] [CrossRef]
- Lee, C.-C., Lee, C.-C., & Ning, S.-L. (2017). Dynamic relationship of oil price shocks and country risks. Energy Economics, 66, 571–581. [Google Scholar] [CrossRef]
- Lessmann, S., Baesens, B., Seow, H.-V., & Thomas, L. C. (2015). Benchmarking state-of-the-art classification algorithms for credit scoring: An update of research. European Journal of Operational Research, 247(1), 124–136. [Google Scholar] [CrossRef]
- Liu, T., & Zhao, W. (2026). Climate shocks, stock price crash risk, and corporate sustainability: Evidence from China’s financial system. Systems, 14(1), 18. [Google Scholar] [CrossRef]
- Liu, Y. (2023). Design of XGBoost prediction model for financial operation fraud of listed companies. International Journal of System Assurance Engineering and Management, 14(6), 2354–2364. [Google Scholar] [CrossRef]
- Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. In Advances in neural information processing systems (Vol. 30, pp. 4765–4774). Curran Associates, Inc. [Google Scholar]
- Merton, R. C. (1974). On the pricing of corporate debt: The risk structure of interest rates. Journal of Finance, 29(2), 449–470. [Google Scholar] [CrossRef]
- Mienye, E., Jere, N., Obaido, G., Mienye, I. D., & Aruleba, K. (2024). Deep learning in finance: A survey of applications and techniques. AI, 5(4), 2066–2091. [Google Scholar] [CrossRef]
- Minsky, H. P. (1986). Stabilizing an unstable economy. Yale University Press. [Google Scholar]
- Modigliani, F., & Miller, M. H. (1958). The cost of capital, corporation finance and the theory of investment. American Economic Review, 48(3), 261–297. [Google Scholar]
- Mu, Y., & Frey, R. J. (2025). Particle filtering estimation of regime-switching factor model and its application in statistical arbitrage strategy. Journal of Risk and Financial Management, 18(10), 549. [Google Scholar] [CrossRef]
- Myers, S. C., & Majluf, N. S. (1984). Corporate financing and investment decisions when firms have information that investors do not have. Journal of Financial Economics, 13(2), 187–221. [Google Scholar] [CrossRef]
- Nowicki, J., Ratajczak, P., & Szutowski, D. (2024). Impact of macroeconomic factors on financial liquidity of companies: A moderation analysis. Sustainability, 16(11), 4483. [Google Scholar] [CrossRef]
- Ohlson, J. A. (1980). Financial ratios and the probabilistic prediction of bankruptcy. Journal of Accounting Research, 18(1), 109–131. [Google Scholar] [CrossRef]
- Pradhan, S.-K., Stebunovs, V., Takáts, E., & Temesvary, J. (2025). Geopolitics meets monetary policy: Decoding their impact on cross-border bank lending. International Finance Discussion Papers No. 1403. Board of Governors of the Federal Reserve System. [CrossRef]
- Qi, R. (2025, June 27–29). Enterprise financial distress prediction based on machine learning and SHAP interpretability analysis. 2025 International Conference on Artificial Intelligence and Digital Finance (pp. 76–79), Chengdu, China. [Google Scholar]
- Ray, R. K. (2025). Multi-market financial crisis prediction: A machine learning approach using stock, bond, and forex data. International Journal of Applied Mathematics, 38(8s), 706–738. [Google Scholar] [CrossRef]
- Sahin, O. (2018). Firm-specific and macroeconomic determinants of capital structure: Evidence from fragile five countries. Eurasian Journal of Business and Economics, 11(22), 59–81. [Google Scholar] [CrossRef]
- Shumway, T. (2001). Forecasting bankruptcy more accurately: A simple hazard model. Journal of Business, 74(1), 101–124. [Google Scholar] [CrossRef]
- Tanaka, K., Higashide, T., Kinkyo, T., & Hamori, S. (2025). Financial mechanisms of corporate bankruptcy: Are they different or similar across crises? Risks, 13(8), 158. [Google Scholar] [CrossRef]
- Tran, K. L., Le, H. A., Nguyen, T. H., & Nguyen, D. T. (2022). Explainable machine learning for financial distress prediction: Evidence from Vietnam. Data, 7(11), 160. [Google Scholar] [CrossRef]
- Varga, K., & Szendrei, T. (2025). Non-stationary financial risk factors and macroeconomic vulnerability for the UK. International Review of Financial Analysis, 97, 103866. [Google Scholar] [CrossRef]
- Wang, J., Zhang, S., Xiao, Y., & Song, R. (2022). A review on graph neural network methods in financial applications. Journal of Data Science, 20(2), 111–134. [Google Scholar] [CrossRef]
- Wang, X., & Jin, Z. (2025). Multi-region infectious disease prediction modeling based on spatio-temporal graph neural network and the dynamic model. PLoS Computational Biology, 21(1), e1012738. [Google Scholar] [CrossRef] [PubMed]
- Wang, Y., Wei, W., Liu, Z., Liu, J., Lv, Y., & Li, X. (2025). Interpretable machine learning framework for corporate financialization prediction: A SHAP-based analysis of high-dimensional data. Mathematics, 13(15), 2526. [Google Scholar] [CrossRef]
- Whaley, R. E. (2000). The investor fear gauge. Journal of Portfolio Management, 26(3), 12–17. [Google Scholar] [CrossRef]
- Yan, D., Chi, G., & Lai, K. K. (2020). Financial distress prediction and feature selection in multiple periods by lassoing unconstrained distributed lag non-linear models. Mathematics, 8(8), 1275. [Google Scholar] [CrossRef]
- Yang, L.-W., Binh, N. T. T., & Yi, J. M. (2026). Advanced techniques for financial distress prediction. Forecasting, 8(1), 2. [Google Scholar] [CrossRef]
- Zhang, Y., Sánchez Arnau, E., & Sánchez Pérez, E. A. (2025). Impact of geopolitical and international trade dynamics on corporate vulnerability and insolvency risk: A graph-based approach. Information, 16(7), 525. [Google Scholar] [CrossRef]







| Variable Category | Variable Name | Proxy/Calculation Method |
|---|---|---|
| Dependent Variable | Distance to Default | Merton Structural Outcome |
| Firm-Specific | Market Value of Equity | Price Shares Outstanding |
| Firm-Specific | Total Debt | Short-term + Long-term Debt |
| Market Signal | S&P 500 Index | Daily Closing Level |
| Volatility | Market Fear Gauge | CBOE Volatility Index |
| Macroeconomic | Inflation Rate | Consumer Price Index YoY % |
| Monetary | Risk-Free Rate | 10-Year Treasury Yield |
| Hyperparameter | XGBoost | Random Forest |
|---|---|---|
| n_estimators | 1000 | 100 |
| max_depth | 8 | 15 |
| learning_rate | 0.03 | - |
| subsample | 0.8 | 1.0 (Bootstrap Sample) |
| colsample_bytree | 0.9 | Square Root (Auto) |
| Tuning Method | Purged K-Fold Cross-Validation | Purged K-Fold Cross-Validation |
| Validation Protocol | 30-day Temporal Purging | 30-day Temporal Purging |
| Search Range |
| Diagnostic Metric | Observed Value | Hypothesis Status | Financial Interpretation |
|---|---|---|---|
| Total Observations | 552,713 | - | High-frequency longitudinal panel |
| Convergence Rate (%) | 100% | Verified | Numerical stability of the solver |
| Mean DD | 10.8494 | Robust | High safety margin of S&P 100 |
| Mean PD | 0.0027 | Low | Minimal idiosyncratic default risk |
| Debt vs. DD Correlation | −0.2679 | Confirmed | Leverage erodes financial health |
| Market Cap vs. DD Correlation | 0.0796 | Confirmed | Scale serves as a protective buffer |
| Insolvent Observations (DD < 0) | 165 | Rare | Detection of extreme tail-risk events |
| Evaluation Metric | Random Forest (Test) | XGBoost (Test) | Overfitting Gap (%) | Statistical Interpretation |
|---|---|---|---|---|
| R-squared () | 0.832 | 0.861 | 3.3% | Variance explanation of DD |
| Mean Absolute Error (MAE) | 1.895 | 1.771 | 6.5% | Point-estimation accuracy |
| Root Mean Squared Error (RMSE) | 2.610 | 2.455 | 5.9% | Robustness to outliers |
| Durbin–Watson (DW) | 1.984 | 2.001 | - | No cross-sectional residual pattern |
| Mean of Residuals | 0.0035 | 0.0021 | - | Absence of systematic bias |
| Period | Observations | R2 | MAE | RMSE | Durbin–Watson | Skewness | Kurtosis | JB (p-Value) | SHAP Total Debt | SHAP 10 Y Interest Rate | SHAP Inflation CPI | SHAP VIX | SHAP S&P 500 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Full Period | 300,000 | 0.861 | 1.771 | 2.455 | 2.001 | 0.314 | 6.587 | 0.000 | 2.644 | 0.375 | 0.958 | 0.8790 | 1.007 |
| GFC 2008 | 17,830 | 0.823 | 1.607 | 2.362 | 1.965 | 0.216 | 7.507 | 0.000 | 2.963 | 0.218 | 0.666 | 1.529 | 2.056 |
| COVID 2020 | 26,275 | 0.799 | 1.374 | 1.92 | 1.946 | 0.624 | 5.098 | 0.000 | 1.902 | 0.8960 | 0.509 | 0.9710 | 0.620 |
| Ukraine 2022 | 24,483 | 0.744 | 1.33 | 1.782 | 2.01 | 0.607 | 4.455 | 0.000 | 2.019 | 0.204 | 0.6060 | 0.7519 | 0.6830 |
| Normal Period | 38,483 | 0.857 | 1.935 | 2.538 | 2.004 | 0.254 | 4.122 | 0.000 | 2.467 | 0.368 | 0.8930 | 0.8539 | 0.7450 |
| Feature | VIF | Interpretation |
|---|---|---|
| Total_Debt_Numeric | 1.258 | Low Multicollinearity |
| Interest_Rate_10Y | 0.819 | Low Multicollinearity |
| Inflation_CPI | 0.769 | Low Multicollinearity |
| VIX | 1.015 | Low Multicollinearity |
| S&P 500 | 2.475 | Low Multicollinearity |
| Metric Category | Value | Interpretation |
|---|---|---|
| Residual Skewness | 0.276 | Near-Symmetric Distribution |
| Residual Kurtosis | 7.522 | Leptokurtic (Robustness) |
| BP Test F-Statistic | 2200.77 | Presence of Heteroscedasticity |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Tabatabaei, S.J.; Mousavi, M.M. Explainable AI for Financial Distress: Evidence from Market Volatility and Regime Dynamics. J. Risk Financial Manag. 2026, 19, 348. https://doi.org/10.3390/jrfm19050348
Tabatabaei SJ, Mousavi MM. Explainable AI for Financial Distress: Evidence from Market Volatility and Regime Dynamics. Journal of Risk and Financial Management. 2026; 19(5):348. https://doi.org/10.3390/jrfm19050348
Chicago/Turabian StyleTabatabaei, Seyed Jalal, and Mohammad Mahdi Mousavi. 2026. "Explainable AI for Financial Distress: Evidence from Market Volatility and Regime Dynamics" Journal of Risk and Financial Management 19, no. 5: 348. https://doi.org/10.3390/jrfm19050348
APA StyleTabatabaei, S. J., & Mousavi, M. M. (2026). Explainable AI for Financial Distress: Evidence from Market Volatility and Regime Dynamics. Journal of Risk and Financial Management, 19(5), 348. https://doi.org/10.3390/jrfm19050348

