IGWO-MALSTM: An Improved Grey Wolf-Optimized Hybrid LSTM with Multi-Head Attention for Financial Time Series Forecasting
Open Access
- 12 June 2025
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 15 (12) , 6619
Abstract
In the domain of financial markets, deep learning techniques have emerged as a significant tool for the development of investment strategies. The present study investigates the potential of time series forecasting (TSF) in financial application scenarios, aiming to predict future spreads and inform investment decisions more effectively. However, the inherent nonlinearity and high volatility of financial time series pose significant challenges for accurate forecasting. To address these issues, this paper proposes the IGWO-MALSTM model, a hybrid framework that integrates Improved Grey Wolf Optimization (IGWO) for hyperparameter tuning and a multi-head attention (MA) mechanism to enhance long-term sequence modeling within the long short-term memory (LSTM) architecture. The IGWO algorithm improves population diversity during initialization using the Mersenne Twister, thereby enhancing the convergence speed and search capability of the optimizer. Simultaneously, the MA mechanism mitigates gradient vanishing and explosion problems, enabling the model to better capture long-range dependencies in financial sequences. Experimental results on real futures market data demonstrate that the proposed model reduces Mean Square Error (MSE) by up to 61.45% and Mean Absolute Error (MAE) by 44.53%, and increases the R2 score by 0.83% compared to existing benchmark models. These findings confirm that IGWO-MALSTM offers improved predictive accuracy and stability for financial time series forecasting tasks.Keywords
Funding Information
- Key Research Project of Henan Province (231111210500, GCCYJKT202513)
- “Double first-class” discipline creation Project of Surveying and Mapping Science and Technology (231111210500, GCCYJKT202513)
This publication has 52 references indexed in Scilit:
- Financial time series forecasting with deep learning : A systematic literature review: 2005–2019Applied Soft Computing, 2020
- A Comprehensive Analysis of Nature-Inspired Meta-Heuristic Techniques for Feature Selection ProblemArchives of Computational Methods in Engineering, 2020
- Study on the prediction of stock price based on the associated network model of LSTMInternational Journal of Machine Learning and Cybernetics, 2019
- Deep learning with long short-term memory networks for financial market predictionsEuropean Journal of Operational Research, 2018
- Deep learning for finance: deep portfoliosApplied Stochastic Models in Business and Industry, 2016
- Predicting stock and stock price index movement using Trend Deterministic Data Preparation and machine learning techniquesExpert Systems with Applications, 2015
- Forecasting stock indices with back propagation neural networkExpert Systems with Applications, 2011
- Surveying stock market forecasting techniques – Part II: Soft computing methodsExpert Systems with Applications, 2009
- Support-vector networksMachine Learning, 1995
- Generalized autoregressive conditional heteroskedasticityJournal of Econometrics, 1986