IDEAS home Printed from https://ideas.repec.org/a/eee/finana/v98y2025ics1057521924008135.html
   My bibliography  Save this article

A novel HAR-type realized volatility forecasting model using graph neural network

Author

Listed:
  • Hu, Nan
  • Yin, Xuebao
  • Yao, Yuhang

Abstract

This study introduces a novel model that uses the convolutional neural network (CNN) architecture to fully utilize information from the heterogeneous autoregressive (HAR) family components across different windows in a two-dimensional image format, to forecast the direction of stock market volatility. The proposed model, Convolutional Neural Network-based Heterogeneous Autoregressive-Kitchen Sink (CNN-HAR-KS) model, leverages the CNN model's automated signal generation capabilities while incorporating the HAR components to ensure interpretability and comparability with traditional volatility forecasting models. Empirical analysis in China's stock market reveals that in terms of forecast accuracy, the CNN-HAR-KS model outperforms alternative models, such as logistic or machine learning models, using the same input variables. We construct investment portfolios based on realized volatility forecasts to further explore the CNN-HAR-KS model's economic value. The CNN-HAR-KS model yields the highest daily Sharpe ratio of 0.043, indicating its ability to generate better risk-adjusted returns than alternative models. Further analysis suggests that the proposed model can be applied to other realized volatility-related classification problems.

Suggested Citation

  • Hu, Nan & Yin, Xuebao & Yao, Yuhang, 2025. "A novel HAR-type realized volatility forecasting model using graph neural network," International Review of Financial Analysis, Elsevier, vol. 98(C).
  • Handle: RePEc:eee:finana:v:98:y:2025:i:c:s1057521924008135
    DOI: 10.1016/j.irfa.2024.103881
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1057521924008135
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.irfa.2024.103881?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Isil Erel & Léa H Stern & Chenhao Tan & Michael S Weisbach, 2021. "Selecting Directors Using Machine Learning," NBER Chapters, in: Big Data: Long-Term Implications for Financial Markets and Firms, pages 3226-3264, National Bureau of Economic Research, Inc.
    2. Ole E. Barndorff-Nielsen & Neil Shephard, 2006. "Econometrics of Testing for Jumps in Financial Economics Using Bipower Variation," Journal of Financial Econometrics, Oxford University Press, vol. 4(1), pages 1-30.
    3. Leippold, Markus & Wang, Qian & Zhou, Wenyu, 2022. "Machine learning in the Chinese stock market," Journal of Financial Economics, Elsevier, vol. 145(2), pages 64-82.
    4. Andrea Bucci, 2020. "Realized Volatility Forecasting with Neural Networks," Journal of Financial Econometrics, Oxford University Press, vol. 18(3), pages 502-531.
    5. Zhi Su & Xuanye Cai & You Wu, 2023. "Exchange rates forecasting and trend analysis after the COVID-19 outbreak: new evidence from interpretable machine learning," Applied Economics Letters, Taylor & Francis Journals, vol. 30(15), pages 2052-2059, September.
    6. Torben G. Andersen & Tim Bollerslev & Francis X. Diebold, 2007. "Roughing It Up: Including Jump Components in the Measurement, Modeling, and Forecasting of Return Volatility," The Review of Economics and Statistics, MIT Press, vol. 89(4), pages 701-720, November.
    7. Torben G. Andersen & Tim Bollerslev & Nour Meddahi, 2005. "Correcting the Errors: Volatility Forecast Evaluation Using High-Frequency Data and Realized Volatilities," Econometrica, Econometric Society, vol. 73(1), pages 279-296, January.
    8. Luo, Jiawen & Klein, Tony & Ji, Qiang & Hou, Chenghan, 2022. "Forecasting realized volatility of agricultural commodity futures with infinite Hidden Markov HAR models," International Journal of Forecasting, Elsevier, vol. 38(1), pages 51-73.
    9. Francesco Audrino & Simon D. Knaus, 2016. "Lassoing the HAR Model: A Model Selection Perspective on Realized Volatility Dynamics," Econometric Reviews, Taylor & Francis Journals, vol. 35(8-10), pages 1485-1521, December.
    10. Chao Zhang & Yihuang Zhang & Mihai Cucuringu & Zhongmin Qian, 2022. "Volatility forecasting with machine learning and intraday commonality," Papers 2202.08962, arXiv.org, revised Feb 2023.
    11. Adem Atmaz, 2022. "Stock Return Extrapolation, Option Prices, and Variance Risk Premium," The Review of Financial Studies, Society for Financial Studies, vol. 35(3), pages 1348-1393.
    12. Andersen, Torben G. & Dobrev, Dobrislav & Schaumburg, Ernst, 2012. "Jump-robust volatility estimation using nearest neighbor truncation," Journal of Econometrics, Elsevier, vol. 169(1), pages 75-93.
    13. Jiang, George J. & Oomen, Roel C.A., 2008. "Testing for jumps when asset prices are observed with noise-a "swap variance" approach," Journal of Econometrics, Elsevier, vol. 144(2), pages 352-370, June.
    14. Haibin Xie & Yuying Sun & Pengying Fan, 2023. "Return direction forecasting: a conditional autoregressive shape model with beta density," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 9(1), pages 1-16, December.
    15. Fulvio Corsi, 2009. "A Simple Approximate Long-Memory Model of Realized Volatility," Journal of Financial Econometrics, Oxford University Press, vol. 7(2), pages 174-196, Spring.
    16. Andersen, Torben G & Bollerslev, Tim, 1998. "Answering the Skeptics: Yes, Standard Volatility Models Do Provide Accurate Forecasts," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 39(4), pages 885-905, November.
    17. Kim Christensen & Mathias Siggaard & Bezirgen Veliyev, 2023. "A Machine Learning Approach to Volatility Forecasting," Journal of Financial Econometrics, Oxford University Press, vol. 21(5), pages 1680-1727.
    18. Bollerslev, Tim, 1986. "Generalized autoregressive conditional heteroskedasticity," Journal of Econometrics, Elsevier, vol. 31(3), pages 307-327, April.
    19. Xiao, Jihong & Wen, Fenghua & Zhao, Yupei & Wang, Xiong, 2021. "The role of US implied volatility index in forecasting Chinese stock market volatility: Evidence from HAR models," International Review of Economics & Finance, Elsevier, vol. 74(C), pages 311-333.
    20. Luyang Chen & Markus Pelger & Jason Zhu, 2024. "Deep Learning in Asset Pricing," Management Science, INFORMS, vol. 70(2), pages 714-750, February.
    21. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," The Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2223-2273.
    22. Andrew Ang & Robert J. Hodrick & Yuhang Xing & Xiaoyan Zhang, 2006. "The Cross‐Section of Volatility and Expected Returns," Journal of Finance, American Finance Association, vol. 61(1), pages 259-299, February.
    23. Andersen, Torben G. & Bollerslev, Tim & Diebold, Francis X. & Ebens, Heiko, 2001. "The distribution of realized stock return volatility," Journal of Financial Economics, Elsevier, vol. 61(1), pages 43-76, July.
    24. Spyridon D. Vrontos & John Galakis & Ioannis D. Vrontos, 2021. "Implied volatility directional forecasting: a machine learning approach," Quantitative Finance, Taylor & Francis Journals, vol. 21(10), pages 1687-1706, October.
    25. Fenghua Wen & Yupei Zhao & Minzhi Zhang & Chunyan Hu, 2019. "Forecasting realized volatility of crude oil futures with equity market uncertainty," Applied Economics, Taylor & Francis Journals, vol. 51(59), pages 6411-6427, December.
    26. Ma, Feng & Liu, Jing & Wahab, M.I.M. & Zhang, Yaojie, 2018. "Forecasting the aggregate oil price volatility in a data-rich environment," Economic Modelling, Elsevier, vol. 72(C), pages 320-332.
    27. Koopman, Siem Jan & Jungbacker, Borus & Hol, Eugenie, 2005. "Forecasting daily variability of the S&P 100 stock index using historical, realised and implied volatility measurements," Journal of Empirical Finance, Elsevier, vol. 12(3), pages 445-475, June.
    28. Gu, Ming & Kang, Wenjin & Xu, Bu, 2018. "Limits of arbitrage and idiosyncratic volatility: Evidence from China stock market," Journal of Banking & Finance, Elsevier, vol. 86(C), pages 240-258.
    29. Yang, Rongjun & Yu, Lin & Zhao, Yuanjun & Yu, Hongxin & Xu, Guiping & Wu, Yiting & Liu, Zhengkai, 2020. "Big data analytics for financial Market volatility forecast based on support vector machine," International Journal of Information Management, Elsevier, vol. 50(C), pages 452-462.
    30. Guo, Hui & Savickas, Robert, 2010. "Relation between time-series and cross-sectional effects of idiosyncratic variance on stock returns," Journal of Banking & Finance, Elsevier, vol. 34(7), pages 1637-1649, July.
    31. Izzeldin, Marwan & Muradoğlu, Yaz Gülnur & Pappas, Vasileios & Sivaprasad, Sheeja, 2021. "The impact of Covid-19 on G7 stock markets volatility: Evidence from a ST-HAR model," International Review of Financial Analysis, Elsevier, vol. 74(C).
    32. Engle, Robert F, 1982. "Autoregressive Conditional Heteroscedasticity with Estimates of the Variance of United Kingdom Inflation," Econometrica, Econometric Society, vol. 50(4), pages 987-1007, July.
    33. Liu, Jing & Ma, Feng & Yang, Ke & Zhang, Yaojie, 2018. "Forecasting the oil futures price volatility: Large jumps and small jumps," Energy Economics, Elsevier, vol. 72(C), pages 321-330.
    34. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," Review of Finance, European Finance Association, vol. 33(5), pages 2223-2273.
    35. Kaiji Motegi & Xiaojing Cai & Shigeyuki Hamori & Haifeng Xu, 2020. "Moving average threshold heterogeneous autoregressive (MAT‐HAR) models," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 39(7), pages 1035-1042, November.
    36. Andrew J. Patton & Kevin Sheppard, 2015. "Good Volatility, Bad Volatility: Signed Jumps and The Persistence of Volatility," The Review of Economics and Statistics, MIT Press, vol. 97(3), pages 683-697, July.
    37. Audrino, Francesco & Sigrist, Fabio & Ballinari, Daniele, 2020. "The impact of sentiment and attention measures on stock market volatility," International Journal of Forecasting, Elsevier, vol. 36(2), pages 334-357.
    38. Peter Carr & Liuren Wu & Zhibai Zhang, 2019. "Using Machine Learning to Predict Realized Variance," Papers 1909.10035, arXiv.org.
    39. Luo, Qin & Ma, Feng & Wang, Jiqian & Wu, You, 2024. "Changing determinant driver and oil volatility forecasting: A comprehensive analysis," Energy Economics, Elsevier, vol. 129(C).
    40. Wilms, Ines & Rombouts, Jeroen & Croux, Christophe, 2021. "Multivariate volatility forecasts for stock market indices," International Journal of Forecasting, Elsevier, vol. 37(2), pages 484-499.
    41. Haojing Guo & Siyuan Tang & Zhe Wei, 2024. "The Information Role of Investors’ Site Visits in Management Forecasts," Emerging Markets Finance and Trade, Taylor & Francis Journals, vol. 60(8), pages 1762-1794, June.
    42. Marwan Izzeldin & M. Kabir Hassan & Vasileios Pappas & Mike Tsionas, 2019. "Forecasting realised volatility using ARFIMA and HAR models," Quantitative Finance, Taylor & Francis Journals, vol. 19(10), pages 1627-1638, October.
    43. Fang, Tong & Lee, Tae-Hwy & Su, Zhi, 2020. "Predicting the long-term stock market volatility: A GARCH-MIDAS model with variable selection," Journal of Empirical Finance, Elsevier, vol. 58(C), pages 36-49.
    44. Xiangjin B. Chen & Jiti Gao & Degui Li & Param Silvapulle, 2018. "Nonparametric Estimation and Forecasting for Time-Varying Coefficient Realized Volatility Models," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 36(1), pages 88-100, January.
    45. Li, Kai & Liu, Jun, 2023. "Extrapolative asset pricing," Journal of Economic Theory, Elsevier, vol. 210(C).
    46. Gong, Xu & Lin, Boqiang, 2019. "Modeling stock market volatility using new HAR-type models," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 516(C), pages 194-211.
    47. Zhanhui Chen & Ralitsa Petkova, 2012. "Does Idiosyncratic Volatility Proxy for Risk Exposure?," The Review of Financial Studies, Society for Financial Studies, vol. 25(9), pages 2745-2787.
    48. Bollerslev, Tim & Li, Sophia Zhengzi & Zhao, Bingzhi, 2020. "Good Volatility, Bad Volatility, and the Cross Section of Stock Returns," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 55(3), pages 751-781, May.
    49. Yuping Song & Bolin Lei & Xiaolong Tang & Chen Li, 2024. "Volatility forecasting for stock market index based on complex network and hybrid deep learning model," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 43(3), pages 544-566, April.
    50. Zhang, Zehua & Zhao, Ran, 2023. "Good volatility, bad volatility, and the cross section of cryptocurrency returns," International Review of Financial Analysis, Elsevier, vol. 89(C).
    51. Lars A. Lochstoer & Tyler Muir, 2022. "Volatility Expectations and Returns," Journal of Finance, American Finance Association, vol. 77(2), pages 1055-1096, April.
    52. Wang, Yudong & Ma, Feng & Wei, Yu & Wu, Chongfeng, 2016. "Forecasting realized volatility in a changing world: A dynamic model averaging approach," Journal of Banking & Finance, Elsevier, vol. 64(C), pages 136-149.
    53. Wang, Lu & Ma, Feng & Liu, Jing & Yang, Lin, 2020. "Forecasting stock price volatility: New evidence from the GARCH-MIDAS model," International Journal of Forecasting, Elsevier, vol. 36(2), pages 684-694.
    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. Li, Zhao-Chen & Xie, Chi & Wang, Gang-Jin & Zhu, You & Zeng, Zhi-Jian & Gong, Jue, 2024. "Forecasting global stock market volatilities: A shrinkage heterogeneous autoregressive (HAR) model with a large cross-market predictor set," International Review of Economics & Finance, Elsevier, vol. 93(PB), pages 673-711.
    2. Kim Christensen & Mathias Siggaard & Bezirgen Veliyev, 2023. "A Machine Learning Approach to Volatility Forecasting," Journal of Financial Econometrics, Oxford University Press, vol. 21(5), pages 1680-1727.
    3. Chen, Wang & Lu, Xinjie & Wang, Jiqian, 2022. "Modeling and managing stock market volatility using MRS-MIDAS model," International Review of Economics & Finance, Elsevier, vol. 82(C), pages 625-635.
    4. Lyócsa, Štefan & Todorova, Neda & Výrost, Tomáš, 2021. "Predicting risk in energy markets: Low-frequency data still matter," Applied Energy, Elsevier, vol. 282(PA).
    5. Liu, Jing & Ma, Feng & Zhang, Yaojie, 2019. "Forecasting the Chinese stock volatility across global stock markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 525(C), pages 466-477.
    6. Bu, Ruijun & Hizmeri, Rodrigo & Izzeldin, Marwan & Murphy, Anthony & Tsionas, Mike, 2023. "The contribution of jump signs and activity to forecasting stock price volatility," Journal of Empirical Finance, Elsevier, vol. 70(C), pages 144-164.
    7. Degiannakis, Stavros & Filis, George, 2022. "Oil price volatility forecasts: What do investors need to know?," Journal of International Money and Finance, Elsevier, vol. 123(C).
    8. Ma, Feng & Wang, Jiqian & Wahab, M.I.M. & Ma, Yuanhui, 2023. "Stock market volatility predictability in a data-rich world: A new insight," International Journal of Forecasting, Elsevier, vol. 39(4), pages 1804-1819.
    9. Díaz, Juan D. & Hansen, Erwin & Cabrera, Gabriel, 2024. "Machine-learning stock market volatility: Predictability, drivers, and economic value," International Review of Financial Analysis, Elsevier, vol. 94(C).
    10. Zhu, Haibin & Bai, Lu & He, Lidan & Liu, Zhi, 2023. "Forecasting realized volatility with machine learning: Panel data perspective," Journal of Empirical Finance, Elsevier, vol. 73(C), pages 251-271.
    11. Wei Zhang & Kai Yan & Dehua Shen, 2021. "Can the Baidu Index predict realized volatility in the Chinese stock market?," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-31, December.
    12. Wang Pu & Yixiang Chen & Feng Ma, 2016. "Forecasting the realized volatility in the Chinese stock market: further evidence," Applied Economics, Taylor & Francis Journals, vol. 48(33), pages 3116-3130, July.
    13. Lyócsa, Štefan & Molnár, Peter & Výrost, Tomáš, 2021. "Stock market volatility forecasting: Do we need high-frequency data?," International Journal of Forecasting, Elsevier, vol. 37(3), pages 1092-1110.
    14. Chao Zhang & Yihuang Zhang & Mihai Cucuringu & Zhongmin Qian, 2022. "Volatility forecasting with machine learning and intraday commonality," Papers 2202.08962, arXiv.org, revised Feb 2023.
    15. Ma, Feng & Zhang, Yaojie & Huang, Dengshi & Lai, Xiaodong, 2018. "Forecasting oil futures price volatility: New evidence from realized range-based volatility," Energy Economics, Elsevier, vol. 75(C), pages 400-409.
    16. Chen, Yixiang & Ma, Feng & Zhang, Yaojie, 2019. "Good, bad cojumps and volatility forecasting: New evidence from crude oil and the U.S. stock markets," Energy Economics, Elsevier, vol. 81(C), pages 52-62.
    17. Lyócsa, Štefan & Todorova, Neda, 2020. "Trading and non-trading period realized market volatility: Does it matter for forecasting the volatility of US stocks?," International Journal of Forecasting, Elsevier, vol. 36(2), pages 628-645.
    18. BOUSALAM, Issam & HAMZAOUI, Moustapha & ZOUHAYR, Otman, 2016. "Forecasting Daily Stock Volatility Using GARCH-CJ Type Models with Continuous and Jump Variation," MPRA Paper 69636, University Library of Munich, Germany.
    19. Riza Demirer & Konstantinos Gkillas & Rangan Gupta & Christian Pierdzioch, 2022. "Risk aversion and the predictability of crude oil market volatility: A forecasting experiment with random forests," Journal of the Operational Research Society, Taylor & Francis Journals, vol. 73(8), pages 1755-1767, August.
    20. Lyócsa, Štefan & Plíhal, Tomáš & Výrost, Tomáš, 2021. "FX market volatility modelling: Can we use low-frequency data?," Finance Research Letters, Elsevier, vol. 40(C).

    More about this item

    Keywords

    Volatility forecasting; Graph neural network; Heterogeneous autoregression; Machine learning; Deep learning;
    All these keywords.

    JEL classification:

    • C18 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods and Methodology: General - - - Methodolical Issues: General
    • C53 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Forecasting and Prediction Models; Simulation Methods
    • C45 - Mathematical and Quantitative Methods - - Econometric and Statistical Methods: Special Topics - - - Neural Networks and Related Topics
    • C58 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Financial Econometrics

    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:eee:finana:v:98:y:2025:i:c:s1057521924008135. 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/inca/620166 .

    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.