Research on Financial Time Series Prediction Based on LSTM and Attention Mechanism
To cope with the limitations of traditional time series models (e.g., ARIMA and GARCH) and deep learning models (e.g., LSTM), this study proposes a financial forecasting model based on the attention mechanism. The proposed model combines LSTM with attention mechanisms to enhance prediction accuracy by dynamically adjusting the importance of historical data. Additionally, the research explores the application of multi-head and self-attention mechanisms to further improve the model's representation capacity and forecasting performance. Validation on publicly available financial data, specifically Apple's stock prices from 2010 onwards, demonstrates that the attention-based model significantly outperforms traditional models. The values of MSE and MAE decreased by 15% and 12%, respectively. These findings highlight the model's robustness and effectiveness in capturing critical features within financial time series. The attention mechanism shows great promise for broader applications in the financial sector, including risk management, portfolio optimization, market sentiment analysis, and high-frequency trading.
Authors
- Shanrui Shi (ORCID: https://orcid.org/0009-0001-8904-1938)
- Yanyu Lai
- Zhikai Xie (ORCID: https://orcid.org/0000-0002-8927-1565)
- Zhibin Qiu (ORCID: https://orcid.org/0000-0003-1962-7906)
- Gang Cheng (ORCID: https://orcid.org/0000-0002-3626-0846)
- Liang Zhao (ORCID: https://orcid.org/0000-0001-7890-311X)
Institutions
- South China Agricultural University (CN)
- Huaqiao University (CN)
- University of Nottingham Ningbo China (CN)
- Shenzhen University (CN)
- Monash University (AU)
Publication Details
- Published
- 2025-01-10
- DOI
- https://doi.org/10.1109/citsc64390.2025.00069
- Citations
- 4
- Primary Topic
- Time Series Analysis and Forecasting
- Type
- article
- Field-Weighted Citation Impact
- 5.94