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 条
  • [41] Robust Portfolio Design and Stock Price Prediction Using an Optimized LSTM Model
    Sen, Jaydip
    Mondal, Saikat
    Nath, Gourab
    arXiv, 2022,
  • [42] GAN-Enhanced Nonlinear Fusion Model for Stock Price Prediction
    Xu, Yingcheng
    Zhang, Yunfeng
    Liu, Peide
    Zhang, Qiuyue
    Zuo, Yuqi
    INTERNATIONAL JOURNAL OF COMPUTATIONAL INTELLIGENCE SYSTEMS, 2024, 17 (01)
  • [43] GAN-Enhanced Nonlinear Fusion Model for Stock Price Prediction
    Yingcheng Xu
    Yunfeng Zhang
    Peide Liu
    Qiuyue Zhang
    Yuqi Zuo
    International Journal of Computational Intelligence Systems, 17
  • [44] Time Series Prediction Based on LSTM-Attention-LSTM Model
    Wen, Xianyun
    Li, Weibang
    IEEE ACCESS, 2023, 11 : 48322 - 48331
  • [45] Stock Price Prediction Research Based on RF-SA-GRU Model
    Zou, Jie
    Li, Lu
    Computer Engineering and Applications, 2023, 59 (15) : 300 - 309
  • [46] Research on Stock Price Prediction Model based on GA Optimized SVM Parameters
    Liang Bang-long
    Lin Jie
    Yuan Guanghui
    INTERNATIONAL JOURNAL OF SECURITY AND ITS APPLICATIONS, 2016, 10 (07): : 269 - 279
  • [47] Application of LSTM, GRU and ICA for Stock Price Prediction
    Sethia, Akhil
    Raut, Purva
    INFORMATION AND COMMUNICATION TECHNOLOGY FOR INTELLIGENT SYSTEMS, ICTIS 2018, VOL 2, 2019, 107 : 479 - 487
  • [48] A Stock Index Futures Price Prediction Approach Based on the MULTI-GARCH-LSTM Mixed Model
    Pan, Haojun
    Tang, Yuxiang
    Wang, Guoqiang
    MATHEMATICS, 2024, 12 (11)
  • [49] Stock Price Prediction Using GRU, SimpleRNN and LSTM
    Shejul, Anjali A.
    Chaudhari, Aashay
    Dixit, Bharti A.
    Lavanya, B. Muni
    INTELLIGENT SYSTEMS AND APPLICATIONS, ICISA 2022, 2023, 959 : 529 - 535
  • [50] The Model of Stock Price Fluctuation with Markov Prediction Method
    Zhou, Qingxin
    2013 INTERNATIONAL CONFERENCE ON MANAGEMENT (ICM 2013), 2013, : 846 - 850