MAC-Stack: Calibrated Multi-Model Ensemble Learning with Exact SHAP Attribution for Explainable Financial Distress Prediction

Authors

  • Mira Lam Joseph M. Katz Graduate School of Business, University of Pittsburgh, USA
  • Caroline Sullivan Joseph M. Katz Graduate School of Business, University of Pittsburgh, USA

DOI:

https://doi.org/10.54097/wq97v104

Keywords:

Financial distress prediction, bankruptcy prediction, stacked generalization, gradient boosting, probability calibration, SHAP, explainable artificial intelligence

Abstract

Multi-model ensembles of gradient-boosted trees are among the most accurate tools for financial distress prediction, but they are usually deployed as three loosely coupled steps: ad hoc fusion weights, post-hoc probability calibration and SHAP explanations of individual members. This paper proposes MAC-Stack (margin-additive calibrated stacking), which combines heterogeneous learners (regularized logistic regression, LightGBM, XGBoost, CatBoost and a liquidity-view expert) through one non-negative logistic stacker fitted on cross-fitted log-odds margins. Because fusion and calibration form a single affine map in log-odds space, calibration preserves the ensemble ranking, the ensemble Shapley attributions follow in closed form from the members' TreeSHAP values and sum exactly to the calibrated log-odds, and no attribution can contradict a unanimous sign of the members. On six tasks from two public benchmarks (five Polish forecasting horizons and a Taiwanese panel), evaluated on deduplicated data with nested stratified cross-validation, MAC-Stack achieved the best average rank in PR-AUC, ROC-AUC, Brier score and log-loss (mean PR-AUC 0.709, ROC-AUC 0.948). It exceeded a re-implementation of a recent log-odds/isotonic early-warning framework with its published settings by 0.111 PR-AUC on average (0.086–0.120 per task), whereas adding isotonic recalibration to MAC-Stack reduced PR-AUC by 0.025 without lowering the Brier score. The ensemble attributions were exact to within 5.0×10−6 in log-odds, showed no sign-consistency violations (versus up to 2.6% for unconstrained stacking) and recovered the leading distress drivers previously reported for the same horizon.

Downloads

Download data is not yet available.

References

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

[2] 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

[3] 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. https://doi.org/10.1016/j.ejor.2015.05.030

[4] Zięba, M., Tomczak, S. K., & Tomczak, J. M. (2016). Ensemble boosted trees with synthetic features generation in application to bankruptcy prediction. Expert Systems with Applications, 58, 93–101. https://doi.org/10.1016/j.eswa.2016.04.001

[5] Teng, D. (2025). TRIAD: Deadline- and reliability-aware scheduling for post-earthquake structural assessment workflows. World Journal of Engineering Research, 3(6), 55–66.

[6] Tsai, C.-F., Hsu, Y.-F., & Yen, D. C. (2014). A comparative study of classifier ensembles for bankruptcy prediction. Applied Soft Computing, 24, 977–984. https://doi.org/10.1016/j.asoc.2014.08.047

[7] Liang, D., Tsai, C.-F., Lu, H.-Y., & Chang, L.-S. (2020). Combining corporate governance indicators with stacking ensembles for financial distress prediction. Journal of Business Research, 120, 137–146. https://doi.org/10.1016/j.jbusres.2020.07.052

[8] Chen, J., Han, X., Zhang, X., & Yang, Y. (2023). Exact concept-level explanations for early detection of financial misstatements. Eurasia Journal of Science and Technology, 5(2), 34–48.

[9] Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30, 4765–4774.

[10] Lundberg, S. M., Erion, G., Chen, H., DeGrave, A., Prutkin, J. M., Nair, B., Katz, R., Himmelfarb, J., Bansal, N., & Lee, S.-I. (2020). From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence, 2(1), 56–67. https://doi.org/10.1038/s42256-019-0138-9

[11] Bussmann, N., Giudici, P., Marinelli, D., & Papenbrock, J. (2021). Explainable machine learning in credit risk management. Computational Economics, 57(1), 203–216. https://doi.org/10.1007/s10614-020-10042-0

[12] Yue, X., & Zhu, R. (2024). An explainable hybrid machine learning framework for cash-flow-conditioned multi-horizon liquidity risk early warning: An SME-oriented benchmark study. World Journal of Management Science, 2(1), 63–72. https://doi.org/10.61784/wms4120

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

[14] Breiman, L. (1996). Stacked regressions. Machine Learning, 24(1), 49–64. https://doi.org/10.1007/BF00117832

[15] van der Laan, M. J., Polley, E. C., & Hubbard, A. E. (2007). Super learner. Statistical Applications in Genetics and Molecular Biology, 6(1), Article 25. https://doi.org/10.2202/1544-6115.1309

[16] Platt, J. C. (1999). Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods. In A. J. Smola, P. Bartlett, B. Schölkopf, & D. Schuurmans (Eds.), Advances in large margin classifiers (pp. 61–74). MIT Press.

[17] Gneiting, T., & Raftery, A. E. (2007). Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association, 102(477), 359–378. https://doi.org/10.1198/016214506000001437

[18] Liang, D., Lu, C.-C., Tsai, C.-F., & Shih, G.-A. (2016). Financial ratios and corporate governance indicators in bankruptcy prediction: A comprehensive study. European Journal of Operational Research, 252(2), 561–572. https://doi.org/10.1016/j.ejor.2016.01.012

[19] Niculescu-Mizil, A., & Caruana, R. (2005). Predicting good probabilities with supervised learning. Proceedings of the 22nd International Conference on Machine Learning, 625–632. https://doi.org/10.1145/1102351.1102430

[20] Brier, G. W. (1950). Verification of forecasts expressed in terms of probability. Monthly Weather Review, 78(1), 1–3. https://doi.org/10.1175/1520-0493(1950)078<0001:VOFEIT>2.0.CO;2

[21] Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q., & Liu, T.-Y. (2017). LightGBM: A highly efficient gradient boosting decision tree. Advances in Neural Information Processing Systems, 30, 3146–3154.

[22] Teng, D. (2025). RSRBench: Reproducibility and performance benchmarking for regional seismic risk workflows. Academic Journal of Architecture and Civil Engineering, 3(1), 40–52.

[23] Prokhorenkova, L., Gusev, G., Vorobev, A., Dorogush, A. V., & Gulin, A. (2018). CatBoost: Unbiased boosting with categorical features. Advances in Neural Information Processing Systems, 31, 6638–6648.

[24] Tomczak, S. (2016). Polish companies bankruptcy. UCI Machine Learning Repository. https://doi.org/10.24432/C5F600

[25] UCI Machine Learning Repository. (2020). Taiwanese bankruptcy prediction. https://doi.org/10.24432/C5004D

[26] Kapoor, S., & Narayanan, A. (2023). Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), Article 100804. https://doi.org/10.1016/j.patter.2023.100804

[27] Wang, J., Ge, Y., Liu, J., & Jiang, B. (2024). Early warning of liquidity stress in U.S. banks with seasonally aligned frailty hazards and delayed-feedback conformal alarms. Journal of Trends in Finance and Economics, 1(1), 85–100.

[28] Nadeau, C., & Bengio, Y. (2003). Inference for the generalization error. Machine Learning, 52(3), 239–281. https://doi.org/10.1023/A:1024068626366

[29] Sun, T., Liu, X., Zhang, L., & Wang, H. (2024). Enhancing auto insurance risk evaluation with Transformer and SHAP. IEEE Access. https://doi.org/10.1109/ACCESS.2024.3446179

[30] Han, X., Chen, J., Zhang, X., & Yang, Y. (2025). Symmetry-aware credit risk modeling: A deep learning framework exploiting financial data balance and invariance. Symmetry, 17, Article 341. https://doi.org/10.3390/sym17030341

Downloads

Published

02-11-2026

Issue

Section

Articles

How to Cite

Lam, M., & Sullivan, C. (2026). MAC-Stack: Calibrated Multi-Model Ensemble Learning with Exact SHAP Attribution for Explainable Financial Distress Prediction. Journal of Mathematical Finance and Risk Management, 1(3), 52-60. https://doi.org/10.54097/wq97v104