Research on Stock Price Prediction Method Based on the GAN-LSTM-Attention Model

被引:0
|
作者
Li, Peng [1 ]
Wei, Yanrui [1 ]
Yin, Lili [1 ]
机构
[1] Harbin Univ Sci & Technol, Coll Comp Sci & Technol, Harbin 150080, Peoples R China
来源
CMC-COMPUTERS MATERIALS & CONTINUA | 2025年 / 82卷 / 01期
关键词
Stock price prediction; generative adversarial network; attention mechanism; time-series prediction; MARKET PREDICTION;
D O I
10.32604/cmc.2024.056651
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Stock price prediction is a typical complex time series prediction problem characterized by dynamics, nonlinearity, and complexity. This paper introduces a generative adversarial network model that incorporates an attention mechanism (GAN-LSTM-Attention) to improve the accuracy of stock price prediction. Firstly, the generator of this model combines the Long and Short-Term Memory Network (LSTM), the Attention Mechanism and, the Fully-Connected Layer, focusing on generating the predicted stock price. The discriminator combines the Convolutional Neural Network (CNN) and the Fully-Connected Layer to discriminate between real stock prices and generated stock prices. Secondly, to evaluate the practical application ability and generalization ability of the GAN-LSTM-Attention model, four representative stocks in the United States of America (USA) stock market, namely, Standard & Poor's 500 Index stock, Apple Incorporated stock, Advanced Micro Devices Incorporated stock, and Google Incorporated stock were selected for prediction experiments, and the prediction performance was comprehensively evaluated by using the three evaluation metrics, namely, mean absolute error (MAE), root mean square error (RMSE), and coefficient of determination (R2). Finally, the specific effects of the attention mechanism, convolutional layer, and fully-connected layer on the prediction performance of the model are systematically analyzed through ablation study. The results of experiment show that the GAN-LSTM-Attention model exhibits excellent performance and robustness in stock price prediction.
引用
收藏
页码:609 / 625
页数:17
相关论文
共 50 条
  • [31] Research on Stock Index Prediction Based on the Spatiotemporal Attention BiLSTM Model
    Mu, Shengdong
    Liu, Boyu
    Gu, Jijian
    Lien, Chaolung
    Nadia, Nedjah
    MATHEMATICS, 2024, 12 (18)
  • [32] PREDICTION STOCK PRICE BASED ON DIFFERENT INDEX FACTORS USING LSTM
    Lai, Chun Yuan
    Chen, Rung-Ching
    Caraka, Rezzy Eko
    PROCEEDINGS OF 2019 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS (ICMLC), 2019, : 416 - 421
  • [33] LSTM with Wavelet Transform Based Data Preprocessing for Stock Price Prediction
    Liang, Xiaodan
    Ge, Zhaodi
    Sun, Liling
    He, Maowei
    Chen, Hanning
    MATHEMATICAL PROBLEMS IN ENGINEERING, 2019, 2019
  • [34] Interpreting Attention of Stock Price Prediction
    Yoshida, Kenichi
    2022 IEEE 46TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2022), 2022, : 1268 - 1273
  • [35] A-stock price fluctuation forecast model based on LSTM
    Zeng, Yawen
    Liu, Xing
    2018 14TH INTERNATIONAL CONFERENCE ON SEMANTICS, KNOWLEDGE AND GRIDS (SKG), 2018, : 261 - 264
  • [36] A Stock Prediction Method Based on Heterogeneous Bidirectional LSTM
    Sang, Shuai
    Li, Lu
    APPLIED SCIENCES-BASEL, 2024, 14 (20):
  • [37] A Dual-Attention-Based Stock Price Trend Prediction Model With Dual Features
    Chen, Yingxuan
    Lin, Weiwei
    Wang, James Z.
    IEEE ACCESS, 2019, 7 : 148047 - 148058
  • [38] Applied attention-based LSTM neural networks in stock prediction
    Cheng, Li-Chen
    Huang, Yu-Hsiang
    Wu, Mu-En
    2018 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2018, : 4716 - 4718
  • [39] Stock linkage prediction based on optimized LSTM model
    Ma, Chi
    Liang, Yan
    Wang, Shaofan
    Lu, Shengliang
    MULTIMEDIA TOOLS AND APPLICATIONS, 2022, 81 (09) : 12599 - 12617
  • [40] Stock linkage prediction based on optimized LSTM model
    Chi Ma
    Yan Liang
    Shaofan Wang
    Shengliang Lu
    Multimedia Tools and Applications, 2022, 81 : 12599 - 12617