IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2601.04602.html

Forecasting Equity Correlations with Hybrid Transformer Graph Neural Network

Author

Listed:
  • Jack Fanshawe
  • Rumi Masih
  • Alexander Cameron

Abstract

This paper studies forward-looking stock-stock correlation forecasting for S\&P 500 constituents and evaluates whether learned correlation forecasts can improve graph-based clustering used in basket trading strategies. We cast 10-day ahead correlation prediction in Fisher-z space and train a Temporal-Heterogeneous Graph Neural Network (THGNN) to predict residual deviations from a rolling historical baseline. The architecture combines a Transformer-based temporal encoder, which captures non-stationary, complex, temporal dependencies, with an edge-aware graph attention network that propagates cross-asset information over the equity network. Inputs span daily returns, technicals, sector structure, previous correlations, and macro signals, enabling regime-aware forecasts and attention-based feature and neighbor importance to provide interpretability. Out-of-sample results from 2019-2024 show that the proposed model meaningfully reduces correlation forecasting error relative to rolling-window estimates. When integrated into a graph-based clustering framework, forward-looking correlations produce adaptable and economically meaningfully baskets, particularly during periods of market stress. These findings suggest that improvements in correlation forecasts translate into meaningful gains during portfolio construction tasks.

Suggested Citation

  • Jack Fanshawe & Rumi Masih & Alexander Cameron, 2026. "Forecasting Equity Correlations with Hybrid Transformer Graph Neural Network," Papers 2601.04602, arXiv.org.
  • Handle: RePEc:arx:papers:2601.04602
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2601.04602
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. R. Mantegna, 1999. "Hierarchical structure in financial markets," The European Physical Journal B: Condensed Matter and Complex Systems, Springer;EDP Sciences, vol. 11(1), pages 193-197, September.
    2. Jianian Wang & Sheng Zhang & Yanghua Xiao & Rui Song, 2021. "A Review on Graph Neural Network Methods in Financial Applications," Papers 2111.15367, arXiv.org, revised Apr 2022.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Liping Wang & Jiawei Li & Lifan Zhao & Zhizhuo Kou & Xiaohan Wang & Xinyi Zhu & Hao Wang & Yanyan Shen & Lei Chen, 2023. "Methods for Acquiring and Incorporating Knowledge into Stock Price Prediction: A Survey," Papers 2308.04947, arXiv.org.
    2. Dragos Gorduza & Xiaowen Dong & Stefan Zohren, 2022. "Understanding stock market instability via graph auto-encoders," Papers 2212.04974, arXiv.org.
    3. Champagne, Claudia, 2014. "The international syndicated loan market network: An “unholy trinity”?," Global Finance Journal, Elsevier, vol. 25(2), pages 148-168.
    4. Trindade, Graça & Dias, José G. & Ambrósio, Jorge, 2017. "Extracting clusters from aggregate panel data: A market segmentation study," Applied Mathematics and Computation, Elsevier, vol. 296(C), pages 277-288.
    5. Assaf Almog & Ferry Besamusca & Mel MacMahon & Diego Garlaschelli, 2015. "Mesoscopic Community Structure of Financial Markets Revealed by Price and Sign Fluctuations," PLOS ONE, Public Library of Science, vol. 10(7), pages 1-16, July.
    6. João A. Bastos & Jorge Caiado, 2014. "Clustering financial time series with variance ratio statistics," Quantitative Finance, Taylor & Francis Journals, vol. 14(12), pages 2121-2133, December.
    7. Sebastiano Michele Zema & Giorgio Fagiolo & Tiziano Squartini & Diego Garlaschelli, 2025. "Mesoscopic structure of the stock market and portfolio optimization," Journal of Economic Interaction and Coordination, Springer;Society for Economic Science with Heterogeneous Interacting Agents, vol. 20(2), pages 307-333, April.
    8. Guido Caldarelli & Matthieu Cristelli & Andrea Gabrielli & Luciano Pietronero & Antonio Scala & Andrea Tacchella, 2012. "A Network Analysis of Countries’ Export Flows: Firm Grounds for the Building Blocks of the Economy," PLOS ONE, Public Library of Science, vol. 7(10), pages 1-11, October.
    9. Michelle B Graczyk & Sílvio M Duarte Queirós, 2017. "Intraday seasonalities and nonstationarity of trading volume in financial markets: Collective features," PLOS ONE, Public Library of Science, vol. 12(7), pages 1-23, July.
    10. Shamshuritawati Sharif, 2012. "Correlation Network Analysis of International Postgraduate Students’ Satisfaction in Top Malaysian Universities: A Robust Approach," Modern Applied Science, Canadian Center of Science and Education, vol. 6(12), pages 1-91, December.
    11. Trancoso, Tiago, 2014. "Emerging markets in the global economic network: Real(ly) decoupling?," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 395(C), pages 499-510.
    12. Lan, Hairong & Wang, Liukai & Li, Mengting & Xiong, Yu & Li, Yuqing, 2025. "Network centrality, diversification, and portfolio returns: Economic insights from blockchain industry," Economic Modelling, Elsevier, vol. 152(C).
    13. Ixandra Achitouv, 2025. "Dynamical analysis of financial stocks network: Improving forecasting using network properties," PLOS ONE, Public Library of Science, vol. 20(5), pages 1-23, May.
    14. López Pérez, Mario & Mansilla Corona, Ricardo, 2022. "Ordinal synchronization and typical states in high-frequency digital markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 598(C).
    15. Paulus, Michal & Kristoufek, Ladislav, 2015. "Worldwide clustering of the corruption perception," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 428(C), pages 351-358.
    16. Chen, Binxia & Jiang, Yuanying & Zhou, Donghai, 2025. "Risk contagion network and characteristic measurement among international financial markets," Pacific-Basin Finance Journal, Elsevier, vol. 92(C).
    17. Roy Cerqueti & Pierpaolo D’Urso & Livia Giovanni & Raffaele Mattera & Vincenzina Vitale, 2024. "Fuzzy clustering of time series based on weighted conditional higher moments," Computational Statistics, Springer, vol. 39(6), pages 3091-3114, September.
    18. Peng Yue & Qing Cai & Wanfeng Yan & Wei-Xing Zhou, 2020. "Information flow networks of Chinese stock market sectors," Papers 2004.08759, arXiv.org.
    19. Carlos León & Javier Miguélez, 2020. "Interbank relationship lending in Colombia," Borradores de Economia 1118, Banco de la Republica de Colombia.
    20. Djauhari, Maman Abdurachman & Gan, Siew Lee, 2015. "Optimality problem of network topology in stocks market analysis," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 419(C), pages 108-114.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2601.04602. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.