Forecasting Gold and Platinum prices with an enhanced GRU model using multi-headed attention and skip connection

被引:0
作者
Memon, Bilal Ahmed [1 ]
Tahir, Rabia [4 ]
Naveed, Hafiz Muhammad [3 ]
Cheng, Keyang [2 ]
机构
[1] Westminster Int Univ Tashkent, Sch Business & Econ, Tashkent, Uzbekistan
[2] Jiangsu Univ, Sch Comp Sci & Commun Engn, Zhenjiang 212013, Peoples R China
[3] Shenzhen Univ, Coll Management, Shenzhen 518060, Guangdong, Peoples R China
[4] Tashkent Univ Informat Technol, Dept Informat Technol Software, Tashkent, Uzbekistan
关键词
Forecasting; Metal; Platinum; GRU; Skip connection; Deep learning; PREDICTION;
D O I
10.1007/s13563-025-00520-y
中图分类号
F [经济];
学科分类号
02 ;
摘要
Metal price prediction is a critical task for policymakers, financial analysts and investors because of its significant impact on global markets and economies. This study investigates the effects of precious metal prices including gold and platinum with a multivariate model. In this work, we propose a novel multi-headed attention based GRU with skip connection (MA-GRUS) for metal price prediction. It consists of various steps including data preprocessing, model building, training, evaluation and visualization. The Gated Recurrent Unit (GRU) model is built with a multi-layer architecture to find temporal dependencies while multi-headed attention mechanisms along with skip connection are used to improve the model's ability to find relevant and significant information. We evaluate the efficiency of the proposed model with the help of Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), R2 and training time providing a comprehensive assessment of its predictive accuracy. The obtained results show that the proposed model outperformed over Long Short-Term Memory (LSTM), Recurrent Neural Network (RNN), GRU, Bi-directional GRU, and attention based GRU in terms of prediction accuracy and error rate. The performance of GRU is enhanced with the help of multi-headed attention mechanism and skip connection. The model is simpler to implement and performs rapid training because of its simple architecture and layers details. It contributes to the field of time series forecasting by leveraging powerful efficiency of GRU to capture complex patterns in financial data.
引用
收藏
页数:20
相关论文
共 78 条
[1]   Is gold a hedge or a safe-haven asset in the COVID-19 crisis? [J].
Akhtaruzzaman, Md ;
Boubaker, Sabri ;
Lucey, Brian M. ;
Sensoy, Ahmet .
ECONOMIC MODELLING, 2021, 102
[2]   A Review of Machine Learning and Deep Learning Techniques for Anomaly Detection in IoT Data [J].
Al-amri, Redhwan ;
Murugesan, Raja Kumar ;
Man, Mustafa ;
Abdulateef, Alaa Fareed ;
Al-Sharafi, Mohammed A. ;
Alkahtani, Ammar Ahmed .
APPLIED SCIENCES-BASEL, 2021, 11 (12)
[3]   A new hybrid financial time series prediction model [J].
Alhnaity, Bashar ;
Abbod, Maysam .
ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2020, 95
[4]   Complete ensemble empirical mode decomposition hybridized with random forest and kernel ridge regression model for monthly rainfall forecasts [J].
Ali, Mumtaz ;
Prasad, Ramendra ;
Xiang, Yong ;
Yaseen, Zaher Mundher .
JOURNAL OF HYDROLOGY, 2020, 584
[5]   Gold price prediction by a CNN-Bi-LSTM model along with automatic parameter tuning [J].
Amini, Amirhossein ;
Kalantari, Robab .
PLOS ONE, 2024, 19 (03)
[6]   Regime Changes and Financial Markets [J].
Ang, Andrew ;
Timmermann, Allan .
ANNUAL REVIEW OF FINANCIAL ECONOMICS, VOL 4, 2012, 4 :313-337
[7]  
Bai SJ, 2018, Arxiv, DOI [arXiv:1803.01271, DOI 10.48550/ARXIV.1803.01271]
[8]   Is gold a safe haven? International evidence [J].
Baur, Dirk G. ;
McDermott, Thomas K. .
JOURNAL OF BANKING & FINANCE, 2010, 34 (08) :1886-1898
[9]   Predicting stock market index using LSTM [J].
Bhandari, Hum Nath ;
Rimal, Binod ;
Pokhrel, Nawa Raj ;
Rimal, Ramchandra ;
Dahal, Keshab R. ;
Khatri, Rajendra K. C. .
MACHINE LEARNING WITH APPLICATIONS, 2022, 9
[10]  
Bunnag T, 2024, Ekonomikalia Journal of Economics, V2, P38, DOI [10.60084/eje.v2i1.155, 10.60084/eje.v2i1.155, DOI 10.60084/EJE.V2I1.155]