EconPapers    
Economics at your fingertips  
 

Transformer-Based Downside Risk Forecasting: A Data-Driven Approach with Realized Downward Semi-Variance

Yuping Song, Yuetong Zhang, Po Ning, Jiayi Peng, Chunyu Kao and Liang Hao ()
Additional contact information
Yuping Song: School of Finance and Business, Shanghai Normal University, Shanghai 200234, China
Yuetong Zhang: School of Mathematics, Shandong University, Jinan 250100, China
Po Ning: School of Finance and Business, Shanghai Normal University, Shanghai 200234, China
Jiayi Peng: School of Finance and Business, Shanghai Normal University, Shanghai 200234, China
Chunyu Kao: Securities Institute for Financial Studies, Shandong University, Jinan 250100, China
Liang Hao: School of Finance and Business, Shanghai Normal University, Shanghai 200234, China

Mathematics, 2025, vol. 13, issue 8, 1-28

Abstract: Realized downward semi-variance (RDS) has been realized as a key indicator to measure the downside risk of asset prices, and the accurate prediction of RDS can effectively guide traders’ investment behavior and avoid the impact of market fluctuations caused by price declines. In this paper, the RDS rolling prediction performance of the traditional econometric model, machine learning model, and deep learning model is discussed in combination with various relevant influencing factors, and the sensitivity analysis is further carried out with the rolling window length, prediction length, and a variety of evaluation methods. In addition, due to the characteristics of RDS, such as aggregation and jumping, this paper further discusses the robustness of the model under the impact of external events, the influence of emotional factors on the prediction accuracy of the model, and the results and analysis of the hybrid model. The empirical results show that (1) when the rolling window is set to 20, the overall prediction effect of the model in this paper is the best. Taking the Transformer model under SSE as an example, compared with the prediction results under the rolling window length of 5, 10, and 30, the RMSE improvement ratio reaches 24.69%, 15.90%, and 43.60%, respectively. (2) The multivariable Transformer model shows a better forecasting effect. Compared with traditional econometric, machine learning, and deep learning models, the average increase percentage of RMSE, MAE, MAPE, SMAPE, MBE, and SD indicators is 52.23%, 20.03%, 62.33%, 60.33%, 37.57%, and 18.70%, respectively. (3) In multi-step prediction scenarios, the DM test statistic of the Transformer model is significantly positive, and the prediction accuracy of the Transformer model remains stable as the number of prediction steps increases. (4) Under the impact of external events of COVID-19, the Transformer model has stability, and the addition of emotional factors can effectively improve the prediction accuracy. In addition, the model’s prediction performance and generalization ability can be further improved by stacked prediction models. An in-depth study of RDS forecasting is of great value to capture the characteristics of downside risks, enrich the financial risk measurement system, and better evaluate potential losses.

Keywords: downside risk; realized downside semi-variance; transformer; rolling window; DM test (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2227-7390/13/8/1260/pdf (application/pdf)
https://www.mdpi.com/2227-7390/13/8/1260/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:13:y:2025:i:8:p:1260-:d:1632745

Access Statistics for this article

Mathematics is currently edited by Ms. Emma He

More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-04-12
Handle: RePEc:gam:jmathe:v:13:y:2025:i:8:p:1260-:d:1632745