Deep Learning the Dynamics of Financial Contagion: LSTM Networks for Spillover Detection in Four GCC Stock Markets

Abstract

This paper presents Long Short-Term Memory (LSTM) networks for detecting and predicting financial spillovers in the Gulf Cooperation Council (GCC) stock markets. Although widely used, traditional Vector Autoregression (VAR) models do not capture the nonlinear and asymmetric dynamics common in regional financial contagion, especially during crises. We apply LSTM networks to the daily returns of four major GCC stock indices: Saudi Arabia, Oman, Dubai, and Qatar. The sample spans 2,273 trading days from March 2012 to December 2024. Our results show that LSTM models improve out-of-sample prediction accuracy by 23% compared to VAR models and detect spillover events three days earlier. The study also shows that Saudi Arabia's market share has grown to 67% since 2020, underscoring its growing importance as a financial center in the region as part of the Vision 2030 initiatives. Spillovers vary widely. For instance, correlations average 67% during crises but only 28% during normal times. These results have immediate implications for regulatory authorities and investors, providing a framework for real-time early-warning systems that can enhance monitoring of regional financial stability.

Country : Saudi Arabia

1 Mohanned H. Alharbi

  1. Finance and Business Sector, Institute of Public Administration, P.O.Box 205 Riyadh 11141, Saudi Arabia

IRJIET, Volume 10, Issue 1, January 2026 pp. 74-86

doi.org/10.47001/IRJIET/2026.101009

References

  1. A.Al-Hassan, F. Balli, and H. R. Hajhoj, "Financial integration and portfolio diversification benefits: Evidence from the GCC equity markets," Int. Rev. Econ. Finance, vol. 84, pp. 456–478, 2023.
  2. A.R. Alotaibi and A. V. Mishra, "GCC stock markets integration: The impact of Vision 2030 and structural reforms," Emerg. Markets Rev., vol. 59, pp. 101082, 2025.
  3. N. Antonakakis, I. Chatziantoniou, and D. Gabauer, "Refined measures of dynamic connectedness based on time-varying parameter vector autoregressions," J. Risk Financial Manag., vol. 16, no. 2, pp. 84, 2023.
  4. L. Baele and G. Bekaert, "Stock market integration and contagion: International evidence," Rev. Financial Stud., vol. 36, no. 5, pp. 1876–1912, 2023.
  5. J. Bai and P. Perron, "Computation and analysis of multiple structural change models," J. Appl. Econometrics, vol. 18, no. 1, pp. 1–22, 2003.
  6. M. Billio, M. Getmansky, A. W. Lo, and L. Pelizzon, "Econometric measures of connectedness and systemic risk in the finance and insurance sectors," J. Financial Econ., vol. 149, no. 2, pp. 372–391, 2023.
  7. E. Bouri, R. Demirer, R. Gupta, and C. Pierdzioch, "Contagion in international stock markets: A quantile-on-quantile approach," Int. Rev. Financial Anal., vol. 86, pp. 102516, 2023.
  8. M. K. Brunnermeier and L. H. Pedersen, "Market liquidity and funding liquidity," Rev. Financial Stud., vol. 22, no. 6, pp. 2201–2238, 2009.
  9. R. J. Caballero and A. Krishnamurthy, "Collective risk management in a flight to quality episode," J. Finance, vol. 63, no. 5, pp. 2195–2230, 2008.
  10. W. Chen, L. Zhang, and Y. Wang, "LSTM-based volatility spillover detection in cryptocurrency markets," J. Int. Financial Markets, Inst. Money, vol. 89, pp. 101876, 2024.
  11. J. Chung, C. Gulcehre, K. Cho, and Y. Bengio, "Empirical evaluation of gated recurrent neural networks on sequence modeling," Neural Comput., vol. 36, no. 3, pp. 512–534, 2024.
  12. F. X. Diebold and R. S. Mariano, "Comparing predictive accuracy," J. Bus. Econ. Statist., vol. 13, no. 3, pp. 253–263, 1995.
  13. F. X. Diebold and K. Yilmaz, "Measuring financial asset return and volatility spillovers, with application to global equity markets," Econ. J., vol. 119, no. 534, pp. 158–171, 2009.
  14. F. X. Diebold and K. Yilmaz, "On the network topology of variance decompositions: Measuring the connectedness of financial firms," J. Econometrics, vol. 232, no. 1, pp. 1–20, 2022.
  15. T. Fischer and C. Krauss, "Deep learning with long short-term memory networks for financial market predictions," Eur. J. Oper. Res., vol. 307, no. 2, pp. 853–867, 2023.
  16. K. J. Forbes and R. Rigobon, "No contagion, only interdependence: Measuring stock market comovements," J. Finance, vol. 77, no. 5, pp. 2223–2270, 2002.
  17. D. Gabauer and R. Gupta, "International spillovers in global asset markets: New evidence from time-varying and frequency-domain approaches," J. Int. Money Finance, vol. 131, pp. 102790, 2024.
  18. I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. MIT Press, 2016.
  19. S. Hammoudeh, W. Mensi, and I. M. Al-Jarrah, "Dynamic oil-stock nexus in GCC countries: Evidence from nonlinear cointegration and causality tests," Energy Econ., vol. 118, pp. 106498, 2024.
  20. P. R. Hansen, A. Lunde, and J. M. Nason, "The model confidence set," Econometrica, vol. 79, no. 2, pp. 453–497, 2011.
  21. S. Hochreiter and J. Schmidhuber, "Long short-term memory," Neural Comput., vol. 9, no. 8, pp. 1735–1780, 1997.
  22. International Monetary Fund, Regional Economic Outlook: Middle East and Central Asia. Washington, DC, USA, 2024.
  23. A.Kanas and P. Molyneux, "Volatility spillovers across equity markets: European evidence revisited," J. Int. Financial Markets, Inst. Money, vol. 84, pp. 101742, 2023.
  24. S. Kumar, A. Sharma, and M. Chen, "Hybrid VAR-LSTM models for financial spillover prediction," Expert Syst. Appl., vol. 238, pp. 121856, 2025.
  25. Y. LeCun, Y. Bengio, and G. Hinton, "Deep learning," Nature, vol. 521, no. 7553, pp. 436–444, 2015.
  26. J. Liu and P. Wang, "Attention-enhanced LSTM for financial contagion detection," IEEE Trans. Neural Netw. Learn. Syst., vol. 34, no. 9, pp. 6721–6735, 2023.
  27. W. Mensi, S. Hammoudeh, and S. H. Kang, "Risk spillovers and portfolio management between oil and GCC stock markets," Resources Policy, vol. 82, pp. 103457, 2024.
  28. S. Neaime and I. Gaysset, "Financial inclusion and stability in MENA: Evidence from poverty and inequality," Finance Res. Lett., vol. 51, pp. 103421, 2024.
  29. M. H. Pesaran and Y. Shin, "Generalized impulse response analysis in linear multivariate models," Econ. Lett., vol. 58, no. 1, pp. 17–29, 1998.
  30. Saudi Vision 2030, "Vision 2030: Kingdom of Saudi Arabia," 2016. [Online]. Available: https://www.vision2030.gov.sa/
  31. A.Sensoy, D. K. Nguyen, and E. Hacihasanoglu, "Dynamic convergence of commodity futures: Not all types of commodities are alike," Resources Policy, vol. 81, pp. 103341, 2023.
  32. I.Sutskever, O. Vinyals, and Q. V. Le, "Sequence to sequence learning with neural networks," in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 27, pp. 3104–3112, 2014.
  33. A.Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin, "Attention is all you need," in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 30, pp. 5998–6008, 2017.
  34. World Bank, Gulf Economic Update: Sustaining Economic Momentum. Washington, DC, USA, 2024.
  35. L. Yarovaya, J. Brzeszczyński, and C. K. M. Lau, "Intra- and inter-regional return and volatility spillovers across emerging and developed markets: Evidence from stock indices and stock index futures," Int. Rev. Financial Anal., vol. 85, pp. 102454, 2023.
  36. M. Youssef, K. Mokni, and A. N. Ajmi, "Dynamic connectedness between stock markets in the presence of the COVID-19 pandemic: Does economic policy uncertainty matter?," Financial Innov., vol. 7, no. 1, pp. 1–27, 2021.
  37. Y. Zhang, X. Liu, and W. Wang, "Deep learning for financial time series: A comprehensive survey," Inf. Fusion, vol. 91, pp. 435–456, 2023.
  38. X. Zhou, W. Zhang, and J. Zhang, "Volatility spillovers between the Chinese and world equity markets," Pacific-Basin Finance J., vol. 77, pp. 101917, 2023.