A dual-path convolutional neural network combined with an attention-based bidirectional long short-term memory network for stock price prediction.

Journal: PloS one
PMID:

Abstract

The complexities of stock price data, characterized by its nonlinearity, non-stationarity, and intricate spatiotemporal patterns, make accurate prediction a substantial challenge. To address this, we propose the DCA-BiLSTM model, which combines dual-path convolutional neural networks with an attention mechanism (DCA) and bidirectional long short-term memory networks (BiLSTM). This model captures deep information and complex dependencies within time-series data. First, wavelet packet decomposition extracts high- and low-frequency features, followed by DCA for robust deep feature extraction, and finally, BiLSTM models bidirectional dependencies. Validated on datasets from Yahoo Finance, including Apple, Google, Tesla stocks, and the Nasdaq index, the model consistently outperforms traditional approaches. The DCA-BiLSTM achieves an [Formula: see text] of 0.9507 for Apple, 0.9595 for Google, 0.9077 for Tesla, and 0.9594 for the Nasdaq index, with significant reductions in error metrics across all datasets. These results demonstrate the model's robustness and improved predictive accuracy, offering reliable insights for stock price forecasting.

Authors

  • Guiyan Zhao
    Qiaoxing School of Economics and Management, Fujian Polytechnic Normal University, Fuzhou, China.
  • Yunfei Cheng
    Deloitte Tohmatsu Consulting LLC, Tokyo, Japan.
  • Jianhui Yang
    Department of Pancreatic Surgery, Fudan University Shanghai Cancer Center, No. 270 Dong'An Road, Shanghai, 200032, People's Republic of China.
  • Jiayuan Ouyang
    Qiaoxing School of Economics and Management, Fujian Polytechnic Normal University, Fuzhou, China.