Forecasting Financial Crises with Public Macro-Demographic Indicators: A Comparison of Logistic, Tree-Based and LSTM Models
Abstract
This paper examines how far financial crises can be anticipated using only publicly available macroeconomic, macro-financial and macro-demographic indicators. We construct a monthly US panel from OECD and Federal Reserve sources and transform standard aggregates into a rich feature set capturing volatility, momentum, higher-order moments, drawdowns and structural breaks. Crisis risk is modeled in a hazard-style early-warning framework: for each month in expansion, we define binary labels for crisis onsets within 6-, 12- and 18-month horizons, combined with lead-time weights that reward earlier, more operationally useful signals. Using this common information set, we compare three families of models: regularised logistic regressions, gradient-boosted decision trees (LightGBM and XGBoost) and a bidirectional LSTM with attention fed by fixed-length feature sequences. Models are evaluated with expanding-window cross-validation and strictly out-of-sample holdout tests. Across horizons, penalised logistic regressions deliver the most accurate and stable forecasts, achieving holdout ROC-AUCs up to 0.99 and F1 scores up to 0.86 at the 18-month horizon, while tree-based methods are competitive only at longer horizons and the Bi-LSTM substantially overfits, adding little incremental predictive power. These results suggest that, in small and highly imbalanced crisis datasets built from open macro-demographic indicators, well-regularised linear models can match or surpass more complex machine-learning and deep-learning approaches, and offer greater transparency for macroprudential policy use.References
Allaj, Erindi, and Simona Sanfelici. 2023. "Early Warning Systems for Identifying Financial Instability." International Journal of Forecasting 39 (4): 1777-1803.
Mugrabi, Farah, Mohamed Belkhir, Sami Ben Naceur, Bertrand Candelon, and Woon Gyu Choi. 2025. “Macroprudential Policy and Bank Systemic Risk: Does Inflation Targeting Matter?” Emerging Markets Review, article 101397.
Chen, Sally, and Katsiaryna Svirydzenka. 2021. "Financial Cycles-Early Warning Indicators of Banking Crises?" IMF Working Paper 2021/116. Washington, DC: International Monetary Fund.
Greenwood, Robin, Samuel G. Hanson, Andrei Shleifer, and Jakob Ahm Sørensen. 2022. "Predictable Financial Crises." Journal of Finance 77 (2): 863-921.
Koponen, Heidi. 2024. "Constructing a Composite Indicator to Assess Cyclical Systemic Risks: An Early Warning Approach." BoF Economics Review 3/2024. Helsinki: Bank of Finland.
Liu, Lanbiao, Chen Chen, and Bo Wang. 2022. "Predicting Financial Crises with Machine Learning Methods." Journal of Forecasting 41 (5): 871-910.
Škrinjarić, Tihana. 2023. "Introducing a Composite Indicator of Cyclical Systemic Risk in Croatia: Possibilities and Limitations." Public Sector Economics 47 (1): 1-39.
Purnell, Daren, Jr., Amir Etemadi, and John Kamp. 2024. “Developing an Early Warning System for Financial Networks: An Explainable Machine Learning Approach.” Entropy 26 (9): 796.
Ouyang, Zi-sheng, Xi-te Yang, and Yongzeng Lai. 2021. "Systemic Financial Risk Early Warning of Financial Market in China Using Attention-LSTM Model." The North American Journal of Economics and Finance 56: 101383.
Candelon, Bertrand, Elena-Ivona Dumitrescu, and Christophe Hurlin. 2012. “How to EValuate an Early-Warning System: Toward a Unified Statistical Framework for Assessing Financial Crises Forecasting Methods.” IMF Economic Review 60 (1): 75–113.
Drehmann, Mathias, and Mikael Juselius. 2014. “EValuating Early Warning Indicators of Banking Crises: Satisfying Policy Requirements.” International Journal of Forecasting 30 (3): 759–780.
Firdaus, N. T., and N. Santoso. 2025. “Early Warning Systems for Financial Crisis Prediction: A Systematic Literature Review of Econometrics, Machine Learning and Uncertainty Indices.” MALCOM: Indonesian Journal of Machine Learning and Computer Science 5 (4): 1415–1422.
Gu, Xing. 2022. Early-Warning Alert Systems for Financial-Instability Detection: An HMM-Driven Approach. PhD dissertation, University of Western Ontario.
Hidayat, Taufiq, Dian Masyita, Sulaeman Rahman Nidar, Fauzan Ahmad, and Muhammad Adrissa Nur Syarif. 2022. “Early Warning Early Action for the Banking Solvency Risk in the COVID-19 Pandemic Era: A Case Study of Indonesia.” Economies 10 (1): 6.
Namaki, Ali, Reza Eyvazloo, and Shahin Ramtinnia. 2023. “A Systematic Review of Early Warning Systems in Finance.” arXiv preprint arXiv:2310.00490.
Yildirim, Yusuf, and Anirban Sanyal. 2022. “EValuating the Effectiveness of Early Warning Indicators: An Application of Receiver Operating Characteristic Curve Approach to Panel Data.” Scientific Annals of Economics and Business 69 (4): 557–597.
Yang, Hufang, Luyi Liu, Jieyang Cui, Wenbin Wu, and Yuyang Gao. 2025. "Research on Dynamic Measurement and Early Warning of Systemic Financial Risk in China Based on TVP-FAVAR and Deep Learning Model." Systems 13 (8): 720.
Elnaggar, Hoda A., Marwa Elsherif, and Mohamed I. Marie. 2025. "A Deep Learning-Based Model for Financial Crisis Prediction." Research Square preprint, version 1.
Boulkroune, Abdesselem, Sarah Hamel, Farouk Zouari, Abdelkrim Boukabou, and Asier Ibeas. 2017. "Output-Feedback Controller Based Projective Lag-Synchronization of Uncertain Chaotic Systems in the Presence of Input Nonlinearities." Mathematical Problems in Engineering 2017: 8045803.
Boulkroune, Abdesselem, Farouk Zouari, and Amina Boubellouta. 2025. "Adaptive Fuzzy Control for Practical Fixed-Time Synchronization of Fractional-Order Chaotic Systems." Journal of Vibration and Control.
Zouari, Farouk, Kamel Ben Saad, and Mohamed Benrejeb. 2012. "Robust Neural Adaptive Control for a Class of Uncertain Nonlinear Complex Dynamical Multivariable Systems." International Review on Modelling and Simulations 5 (5): 2075–2103.
Zouari, Farouk, Kamel Ben Saad, and Mohamed Benrejeb. 2013. "Adaptive Backstepping Control for a Class of Uncertain Single Input Single Output Nonlinear Systems." In 2013 10th International Multi-Conference on Systems, Signals and Devices (SSD).
Rigatos, Gerasimos, Masoud Abbaszadeh, Bilal Sari, Pierluigi Siano, Gennaro Cuccurullo, and Farouk Zouari. 2023. "Nonlinear Optimal Control for a Gas Compressor Driven by an Induction Motor." Results in Control and Optimization 11: 100226.
Merazka, Loubna, Farouk Zouari, and Abdesselem Boulkroune. 2017. "High-Gain Observer-Based Adaptive Fuzzy Control for a Class of Multivariable Nonlinear Systems." In 2017 6th International Conference on Systems and Control (ICoSC), 96–102.
European Central Bank. 2022. "Decrypting Financial Stability Risks in Crypto-Asset Markets." Financial Stability Review, May.
Financial Stability Board. 2023. The Financial Stability Risks of Decentralised Finance. Basel: Financial Stability Board.
Luo, Bingqiao, Zhen Zhang, Qian Wang, Anli Ke, Shengliang Lu, and Bingsheng He. 2024. "AI-Powered Fraud Detection in Decentralized Finance: A Project Life Cycle Perspective." arXiv preprint 2308.15992.
Oanh, Tran Thi Kim, Le Thi Thuy Van, and Le Quoc Dinh. 2023. "Relationship between Financial Inclusion, Monetary Policy and Financial Stability: An Analysis in High Financial Development and Low Financial Development Countries." Heliyon 9 (6): e16647.
Kebede, Jeleta Gezahegne, Saroja Selvanathan, and Athula Naranpanawa. 2024. "Financial Stability and Financial Inclusion: A Non-Linear Nexus." Journal of Economic Studies 52 (4): 742–761.
Schmieder, Christian, and Patrick A. Imam. 2024. Aging Gracefully: Steering the Banking Sector through Demographic Shifts. BIS Working Papers No. 1193, Bank for International Settlements, 12 June.
Organisation for Economic Co-operation and Development (OECD). 2025a. “Infra-Annual Labour Statistics (IALFS).” OECD Data Explorer. Accessed November 19, 2025. https://data-explorer.oecd.org/.
Organisation for Economic Co-operation and Development (OECD). 2025b. “Composite Leading Indicators (CLI).” OECD Data and Datasets. Accessed November 19, 2025. https://www.oecd.org/en/data/datasets/oecd-composite-leading-indicators-clis.html.
Organisation for Economic Co-operation and Development (OECD). 2025c. “G20 – Consumer Price Indices, All Items.” OECD Data Explorer. Accessed November 19, 2025. https://data-explorer.oecd.org/.
Organisation for Economic Co-operation and Development (OECD). 2025d. “International Merchandise Trade Statistics.” OECD Data Explorer. Accessed November 19, 2025. https://data-explorer.oecd.org/.
Federal Reserve Bank of St. Louis. 2025a. “Real-Time Sahm Rule Recession Indicator (SAHMREALTIME).” FRED, Federal Reserve Bank of St. Louis. Accessed November 19, 2025. https://fred.stlouisfed.org/series/SAHMREALTIME.
Federal Reserve Bank of St. Louis. 2025b. “NBER Based Recession Indicators for the United States from the Period following the Peak through the Trough (USREC).” FRED, Federal Reserve Bank of St. Louis. Accessed November 19, 2025. https://fred.stlouisfed.org/series/USREC.
Federal Reserve Bank of St. Louis. 2025c. “Chicago Fed National Activity Index (CFNAI) and Related Series.” FRED, Federal Reserve Bank of St. Louis. Accessed November 19, 2025. https://fred.stlouisfed.org/series/CFNAI.
Federal Reserve Bank of Chicago. 2025a. “Chicago Fed National Activity Index: Current Data.” Federal Reserve Bank of Chicago. Accessed November 19, 2025. https://www.chicagofed.org/research/data/cfnai/current-data.
Federal Reserve Bank of Chicago. 2025b. “National Financial Conditions Index: About the NFCI and Current Data.” Federal Reserve Bank of Chicago. Accessed November 19, 2025. https://www.chicagofed.org/research/data/nfci/about.
Federal Reserve Bank of Philadelphia. 2025. “State Coincident Indexes: Coincident Economic Activity Index for the United States (USPHCI).” Federal Reserve Bank of Philadelphia. Accessed November 19, 2025. https://fred.stlouisfed.org/series/USPHCI.
Holopainen, Markus, and Peter Sarlin. 2017. “Toward Robust Early-Warning Models: A Horse Race, Ensembles and Model Uncertainty.” Quantitative Finance 17 (12): 1933–1963.
Green, Kesten C., and J. Scott Armstrong. 2015. “Simple versus Complex Forecasting: The Evidence.” Journal of Business Research 68 (8): 1678–1685.
Liu, Lanbiao, Chen Chen, and Bo Wang. 2022. “Predicting Financial Crises with Machine Learning Methods.” Journal of Forecasting 41 (5): 871–910.
Tölö, Eero. 2020. “Predicting Systemic Financial Crises with Recurrent Neural Networks.” Journal of Financial Stability 49: 100746. https://doi.org/10.1016/j.jfs.2020.100746
Bluwstein, Kristina, Marcus Buckmann, Andreas Joseph, Sujit Kapadia, and Özgür Şimşek. 2021. “Credit Growth, the Yield Curve and Financial Crisis Prediction: Evidence from a Machine Learning Approach.” ECB Working Paper 2614. Frankfurt am Main: European Central Bank.
DOI:
https://doi.org/10.31449/inf.v50i6.12540Downloads
Published
How to Cite
Issue
Section
License
Authors retain copyright in their work. By submitting to and publishing with Informatica, authors grant the publisher (Slovene Society Informatika) the non-exclusive right to publish, reproduce, and distribute the article and to identify itself as the original publisher.
All articles are published under the Creative Commons Attribution license CC BY 3.0. Under this license, others may share and adapt the work for any purpose, provided appropriate credit is given and changes (if any) are indicated.
Authors may deposit and share the submitted version, accepted manuscript, and published version, provided the original publication in Informatica is properly cited.







