IDEAS home Printed from
   My bibliography  Save this paper

Neural Networks and Value at Risk


  • Alexander Arimond
  • Damian Borth
  • Andreas Hoepner
  • Michael Klawunn
  • Stefan Weisheit


Utilizing a generative regime switching framework, we perform Monte-Carlo simulations of asset returns for Value at Risk threshold estimation. Using equity markets and long term bonds as test assets in the global, US, Euro area and UK setting over an up to 1,250 weeks sample horizon ending in August 2018, we investigate neural networks along three design steps relating (i) to the initialization of the neural network, (ii) its incentive function according to which it has been trained and (iii) the amount of data we feed. First, we compare neural networks with random seeding with networks that are initialized via estimations from the best-established model (i.e. the Hidden Markov). We find latter to outperform in terms of the frequency of VaR breaches (i.e. the realized return falling short of the estimated VaR threshold). Second, we balance the incentive structure of the loss function of our networks by adding a second objective to the training instructions so that the neural networks optimize for accuracy while also aiming to stay in empirically realistic regime distributions (i.e. bull vs. bear market frequencies). In particular this design feature enables the balanced incentive recurrent neural network (RNN) to outperform the single incentive RNN as well as any other neural network or established approach by statistically and economically significant levels. Third, we half our training data set of 2,000 days. We find our networks when fed with substantially less data (i.e. 1,000 days) to perform significantly worse which highlights a crucial weakness of neural networks in their dependence on very large data sets ...

Suggested Citation

  • Alexander Arimond & Damian Borth & Andreas Hoepner & Michael Klawunn & Stefan Weisheit, 2020. "Neural Networks and Value at Risk," Papers 2005.01686,, revised May 2020.
  • Handle: RePEc:arx:papers:2005.01686

    Download full text from publisher

    File URL:
    File Function: Latest version
    Download Restriction: no

    References listed on IDEAS

    1. Kelly, Bryan T. & Pruitt, Seth & Su, Yinan, 2019. "Characteristics are covariances: A unified model of risk and return," Journal of Financial Economics, Elsevier, vol. 134(3), pages 501-524.
    2. Andrew Ang & Geert Bekaert, 2002. "International Asset Allocation With Regime Shifts," The Review of Financial Studies, Society for Financial Studies, vol. 15(4), pages 1137-1187.
    3. Luyang Chen & Markus Pelger & Jason Zhu, 2019. "Deep Learning in Asset Pricing," Papers 1904.00745,, revised Aug 2021.
    4. 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.
    5. Kozak, Serhiy & Nagel, Stefan & Santosh, Shrihari, 2020. "Shrinking the cross-section," Journal of Financial Economics, Elsevier, vol. 135(2), pages 271-292.
    6. Timmermann, Allan, 2000. "Moments of Markov switching models," Journal of Econometrics, Elsevier, vol. 96(1), pages 75-111, May.
    7. Vikas Agarwal, 2004. "Risks and Portfolio Decisions Involving Hedge Funds," The Review of Financial Studies, Society for Financial Studies, vol. 17(1), pages 63-98.
    8. Billio, Monica & Getmansky, Mila & Lo, Andrew W. & Pelizzon, Loriana, 2012. "Econometric measures of connectedness and systemic risk in the finance and insurance sectors," Journal of Financial Economics, Elsevier, vol. 104(3), pages 535-559.
    9. Patton, Andrew J. & Ziegel, Johanna F. & Chen, Rui, 2019. "Dynamic semiparametric models for expected shortfall (and Value-at-Risk)," Journal of Econometrics, Elsevier, vol. 211(2), pages 388-413.
    10. Rui Albuquerque, 2012. "Skewness in Stock Returns: Reconciling the Evidence on Firm Versus Aggregate Returns," The Review of Financial Studies, Society for Financial Studies, vol. 25(5), pages 1630-1673.
    11. Justin Sirignano & Apaar Sadhwani & Kay Giesecke, 2016. "Deep Learning for Mortgage Risk," Papers 1607.02470,, revised Mar 2018.
    12. Taylor, James W., 2020. "Forecast combinations for value at risk and expected shortfall," International Journal of Forecasting, Elsevier, vol. 36(2), pages 428-441.
    13. James W. Taylor, 2019. "Forecasting Value at Risk and Expected Shortfall Using a Semiparametric Approach Based on the Asymmetric Laplace Distribution," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 37(1), pages 121-133, January.
    14. Roman Kozhan & Anthony Neuberger & Paul Schneider, 2013. "The Skew Risk Premium in the Equity Index Market," The Review of Financial Studies, Society for Financial Studies, vol. 26(9), pages 2174-2203.
    15. Aubry, Mathieu & Kräussl, Roman & Manso, Gustavo & Spaenjers, Christophe, 2019. "Machine learning, human experts, and the valuation of real assets," CFS Working Paper Series 635, Center for Financial Studies (CFS).
    Full references (including those not matched with items on IDEAS)


    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.

    Cited by:

    1. Chao, Xiangrui & Ran, Qin & Chen, Jia & Li, Tie & Qian, Qian & Ergu, Daji, 2022. "Regulatory technology (Reg-Tech) in financial stability supervision: Taxonomy, key methods, applications and future directions," International Review of Financial Analysis, Elsevier, vol. 80(C).
    2. Robert Buch & Stefanie Grimm & Ralf Korn & Ivo Richert, 2023. "Estimating the Value-at-Risk by Temporal VAE," Risks, MDPI, vol. 11(5), pages 1-26, April.
    3. Kakade, Kshitij & Jain, Ishan & Mishra, Aswini Kumar, 2022. "Value-at-Risk forecasting: A hybrid ensemble learning GARCH-LSTM based approach," Resources Policy, Elsevier, vol. 78(C).
    4. Michał Woźniak & Marcin Chlebus, 2021. "HCR & HCR-GARCH – novel statistical learning models for Value at Risk estimation," Working Papers 2021-10, Faculty of Economic Sciences, University of Warsaw.
    5. Andrés Alonso & José Manuel Carbó, 2022. "Accuracy of explanations of machine learning models for credit decisions," Working Papers 2222, Banco de España.

    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. Bonaccolto, Giovanni & Caporin, Massimiliano & Maillet, Bertrand B., 2022. "Dynamic large financial networks via conditional expected shortfalls," European Journal of Operational Research, Elsevier, vol. 298(1), pages 322-336.
    2. Mykola Babiak & Jozef Barunik, 2020. "Deep Learning, Predictability, and Optimal Portfolio Returns," CERGE-EI Working Papers wp677, The Center for Economic Research and Graduate Education - Economics Institute, Prague.
    3. Wolfgang Drobetz & Tizian Otto, 2021. "Empirical asset pricing via machine learning: evidence from the European stock market," Journal of Asset Management, Palgrave Macmillan, vol. 22(7), pages 507-538, December.
    4. Jorge Guijarro-Ordonez & Markus Pelger & Greg Zanotti, 2021. "Deep Learning Statistical Arbitrage," Papers 2106.04028,, revised Oct 2022.
    5. Dimitriadis, Timo & Schnaitmann, Julie, 2021. "Forecast encompassing tests for the expected shortfall," International Journal of Forecasting, Elsevier, vol. 37(2), pages 604-621.
    6. Timo Dimitriadis & Xiaochun Liu & Julie Schnaitmann, 2020. "Encompassing Tests for Value at Risk and Expected Shortfall Multi-Step Forecasts based on Inference on the Boundary," Papers 2009.07341,
    7. Clarke, Charles, 2022. "The level, slope, and curve factor model for stocks," Journal of Financial Economics, Elsevier, vol. 143(1), pages 159-187.
    8. Yan, Jingda & Yu, Jialin, 2023. "Cross-stock momentum and factor momentum," Journal of Financial Economics, Elsevier, vol. 150(2).
    9. Doron Avramov & Si Cheng & Lior Metzker, 2023. "Machine Learning vs. Economic Restrictions: Evidence from Stock Return Predictability," Management Science, INFORMS, vol. 69(5), pages 2587-2619, May.
    10. Lioui, Abraham & Tarelli, Andrea, 2022. "Chasing the ESG factor," Journal of Banking & Finance, Elsevier, vol. 139(C).
    11. Giuseppe Storti & Chao Wang, 2023. "Modeling uncertainty in financial tail risk: A forecast combination and weighted quantile approach," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 42(7), pages 1648-1663, November.
    12. Langlois, Hugues, 2023. "What matters in a characteristic?," Journal of Financial Economics, Elsevier, vol. 149(1), pages 52-72.
    13. Ni, Xuanming & Zheng, Tiantian & Zhao, Huimin & Zhu, Shushang, 2023. "High-dimensional portfolio optimization based on tree-structured factor model," Pacific-Basin Finance Journal, Elsevier, vol. 81(C).
    14. Rubesam, Alexandre, 2022. "Machine learning portfolios with equal risk contributions: Evidence from the Brazilian market," Emerging Markets Review, Elsevier, vol. 51(PB).
    15. Marc Hallin & Carlos Trucíos, 2020. "Forecasting Value-at-Risk and Expected Shortfall in Large Portfolios: a General Dynamic Factor Approach," Working Papers ECARES 2020-50, ULB -- Universite Libre de Bruxelles.
    16. Hallin, Marc & Trucíos, Carlos, 2023. "Forecasting value-at-risk and expected shortfall in large portfolios: A general dynamic factor model approach," Econometrics and Statistics, Elsevier, vol. 27(C), pages 1-15.
    17. Storti, Giuseppe & Wang, Chao, 2022. "Nonparametric expected shortfall forecasting incorporating weighted quantiles," International Journal of Forecasting, Elsevier, vol. 38(1), pages 224-239.
    18. Grammig, Joachim & Hanenberg, Constantin & Schlag, Christian & Sönksen, Jantje, 2020. "Diverging roads: Theory-based vs. machine learning-implied stock risk premia," University of Tübingen Working Papers in Business and Economics 130, University of Tuebingen, Faculty of Economics and Social Sciences, School of Business and Economics.
    19. Cakici, Nusret & Fieberg, Christian & Metko, Daniel & Zaremba, Adam, 2023. "Machine learning goes global: Cross-sectional return predictability in international stock markets," Journal of Economic Dynamics and Control, Elsevier, vol. 155(C).
    20. Constantinos Kardaras & Hyeng Keun Koo & Johannes Ruf, 2022. "Estimation of growth in fund models," Papers 2208.02573,

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:


    Access and download statistics


    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:2005.01686. 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: .

    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.