Research on Stock Prediction Based on Bidirectional Long Short Term Memory Neural Network Model Based on Attention Mechanism Optimization

Authors

  • Zhaorui Li

DOI:

https://doi.org/10.54097/hbem.v10i.8112

Keywords:

Attention mechanism, BiLSTM model, CNN model, Neural networks, Stock forecasts.

Abstract

The complexity and volatility of financial markets place higher demands on the accuracy of stock forecasts. This paper uses Ping An Daily Market Data as the source of experimental data for empirical analysis, and innovatively combines BiLSTM with attention mechanism for stock price prediction in the experimental process. Introduce an attention mechanism, AM, to reinforce important features by reassigning the weight of each data; Bidirectional LSTM can learn sequential and reverse time series data information to ensure adequate data utilization. After establishing BP (backpropagation), LSTM and CNN-LSTM models for comparison, it is found that the proposed AM-BiLSTM model has high accuracy, good feasibility and versatility.

Downloads

Download data is not yet available.

References

Siami-Namini S, Tavakoli N, Namin A S. The performance of LSTM and BiLSTM in forecasting time series[C]//2019 IEEE International Conference on Big Data (Big Data). IEEE, 2019: 3285-3292.

Niu Z, Zhong G, Yu H. A review on the attention mechanism of deep learning[J]. Neurocomputing, 2021, 452: 48-62.

Wu Xiaofei. A Stock Price Foresting Using LSTM Based on Attention Mechanism[P]. 2022 International Conference on Economics, Smart Finance and Contemporary Trade (ESFCT 2022),2022.

Kim S, Kang M. Financial series prediction using Attention LSTM[J]. arXiv preprint arXiv:1902.10877, 2019.

Wei D. Prediction of stock price based on LSTM neural network[C]//2019 international conference on artificial intelligence and advanced manufacturing (AIAM). IEEE, 2019: 544-547.

Liu S, Liao G, Ding Y. Stock transaction prediction modeling and analysis based on LSTM[C]//2018 13th IEEE Conference on Industrial Electronics and Applications (ICIEA). IEEE, 2018: 2787-2790.

Yang M, Wang J. Adaptability of Financial Time Series prediction based on bilstm[J]. Procedia Computer Science, 2022, 199: 18-25.

Wang Haiyao,Wang Jianxuan,Cao Lihui,Li Yifan,Sun Qiuhong,Wang Jingyang. A Stock Closing Price Prediction Model Based on CNN-BiSLSTM[J]. COMPLEXITY,2021,2021.

Nath, Basab,Sarkar, Sunita,Das, Surajeet,Mukhopadhyay, Somnath. Neural machine translation for Indian language pair using hybrid attention mechanism[J]. Innovations in Systems and Software Engineering,2022(prepublish).

Keren He,Qian Jiang. Research on stock prediction algorithm based on CNN and LSTM[J]. Academic Journal of Computing & Information Science,2022,5(12).

Brim Andrew,Flann Nicholas S. Deep reinforcement learning stock market trading, utilizing a CNN with candlestick images.[J]. PloS one,2022,17(2).

Jiyao Wei,Jian Liao,Zhenfei Yang,Suge Wang,Qiang Zhao. BiLSTM with Multi-Polarity Orthogonal Attention for Implicit Sentiment Analysis[J]. Neurocomputing,2020,383(C).

Downloads

Published

09-05-2023

How to Cite

Li, Z. (2023). Research on Stock Prediction Based on Bidirectional Long Short Term Memory Neural Network Model Based on Attention Mechanism Optimization. Highlights in Business, Economics and Management, 10, 283-290. https://doi.org/10.54097/hbem.v10i.8112