Affiliation:
1. School of Mathematics, Physics and Statistics, Shanghai University of Engineering Science, Shanghai 201620, China
Abstract
Long Short-Term Memory (LSTM) is an effective method for stock price prediction. However, due to the nonlinear and highly random nature of stock price fluctuations over time, LSTM exhibits poor stability and is prone to overfitting, resulting in low prediction accuracy. To address this issue, this paper proposes a novel variant of LSTM that couples the forget gate and input gate in the LSTM structure, and adds a “simple” forget gate to the long-term cell state. In order to enhance the generalization ability and robustness of the variant LSTM, the paper introduces an attention mechanism and combines it with the variant LSTM, presenting the Attention Mechanism Variant LSTM (AMV-LSTM) model along with the corresponding backpropagation algorithm. The parameters in AMV-LSTM are updated using the Adam gradient descent method. Experimental results demonstrate that the variant LSTM alleviates the instability and overfitting issues of LSTM, effectively improving prediction accuracy. AMV-LSTM further enhances accuracy compared to the variant LSTM, and compared to AM-LSTM, it exhibits superior generalization ability, accuracy, and convergence capability.
Funder
National Natural Science Foundation of China
Shanghai University of Engineering Science Horizontal Research Project
Reference26 articles.
1. Stocks of year 2020: Prediction of high variations in stock prices using LSTM;Bathla;Multimed. Tools Appl.,2023
2. Forecasting stock market movement direction with support vector machine;Huang;Comput. Oper. Res.,2005
3. Shen, S., Jiang, H., and Zhang, T. (2012). Stock Market Forecasting Using Machine Learning Algorithms, Department of Electrical Engineering, Stanford University.
4. A stock decision support system based on DBNs;Zhu;J. Comput. Inform. Syst.,2014
5. Using artificial neural network models in stock market index prediction;Guresen;Expert Syst. Appl.,2011
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献