Forecasting stock prices with long-short term memory neural network based on attention mechanism
Open accessThe DOI matches its Crossref record; 31 of the 32 references it cites were found in a registry or an index.
Abstract
The stock market is known for its extreme complexity and volatility, and people are always looking for an accurate and effective way to guide stock trading. Long short-term memory (LSTM) neural networks are developed by recurrent neural networks (RNN) and have significant application value in many fields. In addition, LSTM avoids long-term dependence issues due to its unique storage unit structure, and it helps predict financial time series. Based on LSTM and an attention mechanism, a wavelet transform is used to denoise historical stock data, extract and train its features, and establish the prediction model of a stock price. We compared the results with the other three models, including the LSTM model, the LSTM model with wavelet denoising and the gated recurrent unit(GRU) neural network model on S&P 500, DJIA, HSI datasets. Results from experiments on the S&P 500 and DJIA datasets show that the coefficient of determination of the attention-based LSTM model is both higher than 0.94, and the mean square error of our model is both lower than 0.05.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures









Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The cited source says what the claim attributes to it.
In the citing paper
“Stock forecasting using LSTM, a unique recurrent neural network (RNN), overcomes long-term dependency (Qiu et al. 2020;Banik et al. 2022).”
From Forecasting Stock Market Prices Using Machine Learning and Deep Learning Models: A Systematic Review, Performance Analysis and Discussion of Implications (2023) · cites this paper as Qiu et al. 2020
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
LeCun, Y., Bengio, Y., & Hinton, G. (2015) · Nature · doi:10.1038/nature14539 · Cited by 84,126
Neural Machine Translation by Jointly Learning to Align and Translate
Bahdanau, D., Cho, K., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1409.0473 · Cited by 16,213
Recurrent Models of Visual Attention
Mnih, V., Heess, N., Graves, A., & Kavukcuoglu, K. (2014) · arXiv (Cornell University) · doi:10.48550/arxiv.1406.6247 · Cited by 2,568 · cited 1×
“Mnih et al.[22] used the attention mechanism on the RNN model to classify images, focusing on an image’s essential parts to reduce the task’s complexity.”
MethodApplication of support vector machines in financial time series forecasting
Tay, F. E. H., & Cao, L. (2001) · Omega · doi:10.1016/s0305-0483(01)00026-3 · Cited by 1,268
Kim, H. Y., & Won, C. H. (2018) · Expert Systems with Applications · doi:10.1016/j.eswa.2018.03.002 · Cited by 781 · cited 1×
“[12] CNN was used to develop a quantitative stock selection strategy to determine stock trends and then predict stock prices using LSTM to promote a hybrid neural network model for quantitative timing strategies to increase profits.”
MethodStock closing price prediction based on sentiment analysis and LSTM
Jin, Z., Yang, Y., & Liu, Y. (2020) · Neural Computing and Applications · doi:10.1007/s00521-019-04504-2 · Cited by 434
A New Feature Selection Technique for Load and Price Forecast of Electrical Power Systems
Abedinia, O., Amjady, N., & Zareipour, H. (2017) · IEEE Transactions on Power Systems · doi:10.1109/tpwrs.2016.2556620 · Cited by 273
Noisy Stock Prices and Corporate Investment
Dessaint, O., Foucault, T., Frésard, L., & Matray, A. (2019) · The Review of Financial Studies · doi:10.1093/rfs/hhy115 · Cited by 252 · cited 1×
“Due to the complex and volatile stock market and various trading restrictions, the stock prices we see are noisy.[28] At the same time, the financial time series is nonstationary and exhibits the overlapping of useful signals and noise, which makes traditional denoising ineffective.”
BackgroundThe contribution of wavelets to the analysis of economic and financial data
Ramsey, J. B. (1999) · Philosophical Transactions of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences · doi:10.1098/rsta.1999.0450 · Cited by 246
Stock market one-day ahead movement prediction using disparate data sources
Weng, B., Ahmed, M. A., & Megahed, F. M. (2017) · Expert Systems with Applications · doi:10.1016/j.eswa.2017.02.041 · Cited by 237 · cited 1×
“[1] For the stock market, its volatility is complicated and nonlinear.[2] It is obviously unreliable and inefficient to rely solely on a trader’s personal experience and intuition for analysis and judgment.”
BackgroundResidual LSTM: Design of a Deep Recurrent Architecture for Distant Speech Recognition
Kim, J., El-Khamy, M., & Lee, J. (2017) · Interspeech 2017 · doi:10.21437/interspeech.2017-477 · Cited by 196 · cited 1×
“Long short-term memory (LSTM) neural networks have performed well in speech recognition[3, 4] and text processing.”
BackgroundAn SVM-based approach for stock market trend prediction
Lin, Y., Guo, H., & Hu, J. (2013) · The 2013 International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn.2013.6706743 · Cited by 160 · cited 1×
“In 2013, Lin et al.[9] proposed a method to predict stocks using a support vector machine to establish a two-part feature selection and prediction model and proved that the method has better generalization than conventional methods.”
MethodSong, T., Zheng, P., Wong, M. L. D., & Wang, X. (2016) · Information Sciences · doi:10.1016/j.ins.2016.08.055 · Cited by 132
CNN-LSTM Neural Network Model for Quantitative Strategy Analysis in Stock Markets
Liu, S., Zhang, C., & Ma, J. (2017) · Lecture notes in computer science · doi:10.1007/978-3-319-70096-0_21 · Cited by 132 · cited 1×
“[12] CNN was used to develop a quantitative stock selection strategy to determine stock trends and then predict stock prices using LSTM to promote a hybrid neural network model for quantitative timing strategies to increase profits.[13] A time-weighted function was added to an LSTM neural network, and the results surp…”
MethodSpiking neural P systems with request rules
Song, T., & Pan, L. (2016) · Neurocomputing · doi:10.1016/j.neucom.2016.02.023 · Cited by 115
Analysis of Feature Fatigue EEG Signals Based on Wavelet Entropy
Wang, Q., Li, Y., & Liu, X. (2018) · International Journal of Pattern Recognition and Artificial Intelligence · doi:10.1142/s021800141854023x · Cited by 89
Time-Weighted LSTM Model with Redefined Labeling for Stock Trend Prediction
Zhao, Z., Rao, R., Tu, S., & Shi, J. T. (2017) · IEEE International Conference on Tools with Artificial Intelligence (ICTAI) · doi:10.1109/ictai.2017.00184 · Cited by 89 · cited 1×
“[13] A time-weighted function was added to an LSTM neural network, and the results surpassed those of other models.[14] Jiang et al.”
MethodMachine learning strategies for time series forecastingPreprint
Bontempi, G. (2013) · RePEc: Research Papers in Economics · doi:10.13140/rg.2.1.1869.4649 · Cited by 79
Spiking Neural P Systems With White Hole Neurons
Song, T., Gong, F., Liu, X., Zhao, Y., & Zhang, X. (2016) · IEEE Transactions on NanoBioscience · doi:10.1109/tnb.2016.2598879 · Cited by 78
ANN Model to Predict Stock Prices at Stock Exchange MarketsPreprint
Wanjawa, B., & Muchemi, L. (2014) · RePEc: Research Papers in Economics · doi:10.48550/arxiv.1502.06434 · Cited by 69 · cited 1×
“[10] proposed an artificial neural network using a feed-forward multilayer perceptron with error backpropagation to predict stock prices.”
MethodA New Combined CNN-RNN Model for Sector Stock Price Analysis
Zhang, R., Yuan, Z., & Shao, X. (2018) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac.2018.10292 · Cited by 53 · cited 1×
“Later, Zhang et al.[11] combined convolutional neural network (CNN) and recurrent neural network (RNN) to propose a new architecture, the deep and wide area neural network (DWNN).”
BackgroundStock Price Forecast Based on LSTM Neural Network
Jiang, Q., Tang, C., Chen, C., Wang, X., & Huang, Q. Y. (2018) · Lecture notes on multidisciplinary industrial engineering · doi:10.1007/978-3-319-93351-1_32 · Cited by 44 · cited 1×
“[14] Jiang et al.[15] used an LSTM neural network and RNN to construct models and found that LSTM could be better applied to stock forecasting.”
MethodInvestigating Siamese LSTM networks for text categorization
Shih, C.-H., Yan, B.-C., Liu, S., & Chen, B. (2017) · Asia-Pacific Signal and Information Processing Association Annual Summit and Conference (APSIPA ASC) · doi:10.1109/apsipa.2017.8282104 · Cited by 38 · cited 1×
“Long short-term memory (LSTM) neural networks have performed well in speech recognition[3, 4] and text processing.[5, 6] At the same time, because they have the characteristics of selectivity, memory cells, LSTM neural networks are suitable for random nonstationary sequences such as stock-price time series.”
BackgroundRecognition of historical Greek polytonic scripts using LSTM networks
Simistira, F., Ul-Hasan, A., Papavassiliou, V., Gatos, B., Katsouros, V., & Liwicki, M. (2015) · IAPR International Conference on Document Analysis and Recognition (ICDAR) · doi:10.1109/icdar.2015.7333865 · Cited by 35 · cited 1×
“Long short-term memory (LSTM) neural networks have performed well in speech recognition[3, 4] and text processing.[5, 6] At the same time, because they have the characteristics of selectivity, memory cells, LSTM neural networks are suitable for random nonstationary sequences such as stock-price time series.”
BackgroundDeep LSTM for Large Vocabulary Continuous Speech RecognitionPreprint
Xu, T., Zhang, J., Ma, Z., He, Y., Wei, J., Wu, P., Situ, W., Li, S., & Zhang, Y. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1703.07090 · Cited by 32 · cited 1×
“Long short-term memory (LSTM) neural networks have performed well in speech recognition[3, 4] and text processing.”
BackgroundDating the financial cycle with uncertainty estimates: a wavelet proposition
Ardila, D., & Sornette, D. (2016) · Finance research letters · doi:10.1016/j.frl.2016.09.004 · Cited by 23 · cited 1×
“[30] We use a wavelet transform with multi-scale characteristics to denoise the dataset, effectively separating the useful signal from the noise.”
MethodSun, Y., Shen, X., Lv, Y., & Liu, C. (2017) · International Journal of Pattern Recognition and Artificial Intelligence · doi:10.1142/s0218001418540034 · Cited by 22
Growth volatility and inequality in the U.S.: A wavelet analysis
Chang, S., Gupta, R., Miller, S. M., & Wohar, M. E. (2019) · Physica A Statistical Mechanics and its Applications · doi:10.1016/j.physa.2019.01.024 · Cited by 15 · cited 1×
“The wavelet transform is considered more suitable for extremely irregular financial sequences because it can perform both time domain and frequency domain analysis.[29] It combines with the traditional theory of time series analysis and shows good applicability.”
BackgroundApplication of Support Vector Machines in Financial Time Series Forecasting
Tay, F. E.-H., Shen, L., & Cao, L. (2003) · WORLD SCIENTIFIC eBooks · doi:10.1142/9789812791375_0007 · Cited by 14
Leveraging Financial News for Stock Trend Prediction with Attention-Based Recurrent Neural NetworkPreprint
Liu, H. (2018) · RePEc: Research Papers in Economics · doi:10.48550/arxiv.1811.06173 · Cited by 6
Growth Volatility and Inequality in the U.S.: A Wavelet AnalysisPreprint
Chang, S., Gupta, R., Miller, S. M., et al. (2018) · SSRN Electronic Journal · doi:10.2139/ssrn.3182856 · Cited by 1
Research works printed but not linked: 1
- Zhi S U, Man L U, Dexuan L I. Deep Learning in Financial Empirical Applications:Dynamics,Contributions and Prospects[J]. Journal of Financial Research, 2017.
Cited by
Predicting stock market index using LSTM
Bhandari, H. N., Rimal, B., Pokhrel, N. R., Rimal, R., Dahal, K. R., & Khatri, R. K. C. (2022) · Machine Learning with Applications · doi:10.1016/j.mlwa.2022.100320 · Cited by 306
Sonkavde, G., Dharrao, D. S., Bongale, A. M., Deokate, S. T., Doreswamy, D., & Bhat, S. K. (2023) · International Journal of Financial Studies · doi:10.3390/ijfs11030094 · Cited by 262
Chhajer, P., Shah, M., & Kshirsagar, A. (2022) · Decision Analytics Journal · doi:10.1016/j.dajour.2021.100015 · Cited by 258
Zhang, C., Sjarif, N. N. A., & Ibrahim, R. (2023) · Wiley Interdisciplinary Reviews Data Mining and Knowledge Discovery · doi:10.1002/widm.1519 · Cited by 282
“Under these conditions, denoising methods, such as filtering techniques or smoothing algorithms, are often used to preprocess the data and remove or reduce the impact of noise before feeding the data into an LSTM model (Bukhari et al., 2020; Qiu et al., 2020).”
Park, H. J., Kim, Y., & Kim, H. Y. (2021) · Applied Soft Computing · doi:10.1016/j.asoc.2021.108106 · Cited by 202
Metadata
- Authors
- Qiu, J., Wang, B., & Zhou, C.
- Affiliations
- Dalian University (CN)
- Dalian Minzu University (CN)
- Corresponding author
- Wang, Bin
- Zhou, Changjun
- Venue
- PLOS ONE
- Publisher
- Public Library of Science (PLoS)
- Published
- 2020-01-03
- Volume
- 15
- Issue
- 1
- Pages
- e0227222
- ISSN
- 1932-6203 (ISSN-L)
- PMC
- PMC6941898
- OpenAlex
- W2997421965
- Cited by
- 366
- References
- 32
- Citations by year
- 2026: 25 · 2025: 67 · 2024: 75 · 2023: 60 · 2022: 59 · 2021: 67 · 2020: 13
- FWCI
- 31.65
- Type
- journal article
- Language
- en
- Open access
- gold
- doi.org
- Licence
- Locations
- PLoS ONE (publishedVersion, cc-by)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- RePEc: Research Papers in Economics (submittedVersion)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
- Funders
- National Natural Science Foundation of China (Nos.61672121, 61425002, 61751203, 61772100, 61972266, 61802040, 61572093)
- Program for Changjiang Scholars and Innovative Research Team in University (IRT_15R07)
- Program for Liaoning Innovative Research Team in University (LT2017012)
- Natural Science Foundation of Liaoning Province (20180551241, 2019-ZD-0567)
- High-level Talent Innovation Support Program of Dalian City (2017RQ060, 2018RQ75)
- the Dalian Outstanding Young Science and Technology Talent Support Program (No.2017RJ08)
- Topics
- Social Sciences › Decision Sciences › Management Science and Operations Research › Stock Market Forecasting Methods
- Physical Sciences › Computer Science › Signal Processing › Time Series Analysis and Forecasting
- Physical Sciences › Environmental Science › Environmental Engineering › Hydrological Forecasting Using AI
- Keywords
- stock price prediction, long short-term memory, attention mechanism, wavelet denoising, financial time series forecasting, gated recurrent unit, S&P 500, Dow Jones Industrial Average, Hang Seng Index, recurrent neural networks
- MeSH terms
- Attention, Commerce, Forecasting, Humans, Neural Networks, Computer, Wavelet Analysis
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.