IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2411.02558.html
   My bibliography  Save this paper

Enhancing Risk Assessment in Transformers with Loss-at-Risk Functions

Author

Listed:
  • Jinghan Zhang
  • Henry Xie
  • Xinhao Zhang
  • Kunpeng Liu

Abstract

In the financial field, precise risk assessment tools are essential for decision-making. Recent studies have challenged the notion that traditional network loss functions like Mean Square Error (MSE) are adequate, especially under extreme risk conditions that can lead to significant losses during market upheavals. Transformers and Transformer-based models are now widely used in financial forecasting according to their outstanding performance in time-series-related predictions. However, these models typically lack sensitivity to extreme risks and often underestimate great financial losses. To address this problem, we introduce a novel loss function, the Loss-at-Risk, which incorporates Value at Risk (VaR) and Conditional Value at Risk (CVaR) into Transformer models. This integration allows Transformer models to recognize potential extreme losses and further improves their capability to handle high-stakes financial decisions. Moreover, we conduct a series of experiments with highly volatile financial datasets to demonstrate that our Loss-at-Risk function improves the Transformers' risk prediction and management capabilities without compromising their decision-making accuracy or efficiency. The results demonstrate that integrating risk-aware metrics during training enhances the Transformers' risk assessment capabilities while preserving their core strengths in decision-making and reasoning across diverse scenarios.

Suggested Citation

  • Jinghan Zhang & Henry Xie & Xinhao Zhang & Kunpeng Liu, 2024. "Enhancing Risk Assessment in Transformers with Loss-at-Risk Functions," Papers 2411.02558, arXiv.org.
  • Handle: RePEc:arx:papers:2411.02558
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. E. Lorenzo & G. Piscopo & M. Sibillo, 2024. "Addressing the economic and demographic complexity via a neural network approach: risk measures for reverse mortgages," Computational Management Science, Springer, vol. 21(1), pages 1-22, June.
    2. Gordon J. Alexander & Alexandre M. Baptista, 2004. "A Comparison of VaR and CVaR Constraints on Portfolio Selection with the Mean-Variance Model," Management Science, INFORMS, vol. 50(9), pages 1261-1273, September.
    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. Zhang, Nan & Jin, Zhuo & Li, Shuanming & Chen, Ping, 2016. "Optimal reinsurance under dynamic VaR constraint," Insurance: Mathematics and Economics, Elsevier, vol. 71(C), pages 232-243.
    2. Alexander, Gordon J. & Baptista, Alexandre M. & Yan, Shu, 2012. "When more is less: Using multiple constraints to reduce tail risk," Journal of Banking & Finance, Elsevier, vol. 36(10), pages 2693-2716.
    3. Ron Bird & Harry Liem & Susan Thorp, 2012. "The Tortoise and the Hare: Risk Premium Versus Alternative Asset Portfolios," Working Paper Series 16, The Paul Woolley Centre for Capital Market Dysfunctionality, University of Technology, Sydney.
    4. Alexander, Gordon J. & Baptista, Alexandre M. & Yan, Shu, 2014. "Bank regulation and international financial stability: A case against the 2006 Basel framework for controlling tail risk in trading books," Journal of International Money and Finance, Elsevier, vol. 43(C), pages 107-130.
    5. Pengyu Wei & Zuo Quan Xu, 2021. "Dynamic growth-optimum portfolio choice under risk control," Papers 2112.14451, arXiv.org.
    6. Taras Bodnar & Yarema Okhrin & Valdemar Vitlinskyy & Taras Zabolotskyy, 2018. "Determination and estimation of risk aversion coefficients," Computational Management Science, Springer, vol. 15(2), pages 297-317, June.
    7. Kajtazi, Anton & Moro, Andrea, 2019. "The role of bitcoin in well diversified portfolios: A comparative global study," International Review of Financial Analysis, Elsevier, vol. 61(C), pages 143-157.
    8. Lassance, Nathan & Vrins, Frédéric, 2021. "Portfolio selection with parsimonious higher comoments estimation," Journal of Banking & Finance, Elsevier, vol. 126(C).
    9. Sun, Yufei & Aw, Grace & Teo, Kok Lay & Zhu, Yanjian & Wang, Xiangyu, 2016. "Multi-period portfolio optimization under probabilistic risk measure," Finance Research Letters, Elsevier, vol. 18(C), pages 60-66.
    10. Xueting Cui & Xiaoling Sun & Shushang Zhu & Rujun Jiang & Duan Li, 2018. "Portfolio Optimization with Nonparametric Value at Risk: A Block Coordinate Descent Method," INFORMS Journal on Computing, INFORMS, vol. 30(3), pages 454-471, August.
    11. Jeremy Berkowitz & Peter Christoffersen & Denis Pelletier, 2011. "Evaluating Value-at-Risk Models with Desk-Level Data," Management Science, INFORMS, vol. 57(12), pages 2213-2227, December.
    12. Wong, Wing-Keung & Phoon, Kok Fai & Lean, Hooi Hooi, 2008. "Stochastic dominance analysis of Asian hedge funds," Pacific-Basin Finance Journal, Elsevier, vol. 16(3), pages 204-223, June.
    13. Borgonovo, Emanuele & Gatti, Stefano, 2013. "Risk analysis with contractual default. Does covenant breach matter?," European Journal of Operational Research, Elsevier, vol. 230(2), pages 431-443.
    14. Jiang, Chun-Fu & Peng, Hong-Yi & Yang, Yu-Kuan, 2016. "Tail variance of portfolio under generalized Laplace distribution," Applied Mathematics and Computation, Elsevier, vol. 282(C), pages 187-203.
    15. Bing Liang & Hyuna Park, 2007. "Risk Measures for Hedge Funds: a Cross‐sectional Approach," European Financial Management, European Financial Management Association, vol. 13(2), pages 333-370, March.
    16. Guan, Guohui & Liang, Zongxia, 2016. "Optimal management of DC pension plan under loss aversion and Value-at-Risk constraints," Insurance: Mathematics and Economics, Elsevier, vol. 69(C), pages 224-237.
    17. Omid Momen & Akbar Esfahanipour & Abbas Seifi, 2020. "A robust behavioral portfolio selection: model with investor attitudes and biases," Operational Research, Springer, vol. 20(1), pages 427-446, March.
    18. Jinyu Zhou & Jigao Yan & Dongya Cheng, 2024. "Strong consistency of tail value-at-risk estimator and corresponding general results under widely orthant dependent samples," Statistical Papers, Springer, vol. 65(6), pages 3357-3394, August.
    19. Víctor Adame-García & Fernando Fernández-Rodríguez & Simón Sosvilla-Rivero, 2017. "“Resolution of optimization problems and construction of efficient portfolios: An application to the Euro Stoxx 50 index"," IREA Working Papers 201702, University of Barcelona, Research Institute of Applied Economics, revised Feb 2017.
    20. Righi, Marcelo Brutti & Borenstein, Denis, 2018. "A simulation comparison of risk measures for portfolio optimization," Finance Research Letters, Elsevier, vol. 24(C), pages 105-112.

    More about this item

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