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 条
  • [21] Stock closing price prediction based on sentiment analysis and LSTM
    Jin, Zhigang
    Yang, Yang
    Liu, Yuhong
    NEURAL COMPUTING & APPLICATIONS, 2020, 32 (13): : 9713 - 9729
  • [22] Attention-Based Event Relevance Model for Stock Price Movement Prediction
    Liu, Jian
    Chen, Yubo
    Liu, Kang
    Zhao, Jun
    KNOWLEDGE GRAPH AND SEMANTIC COMPUTING: LANGUAGE, KNOWLEDGE, AND INTELLIGENCE, CCKS 2017, 2017, 784 : 37 - 49
  • [23] SP-LAN: A Stock Prediction Model Based on LSTM-Attention Network
    Sun, Jingyou
    Li, Dong
    Wang, Xing
    Kou, Yue
    Li, Peixuan
    Xie, Yang
    WEB AND BIG DATA. APWEB-WAIM 2022 INTERNATIONAL WORKSHOPS, KGMA 2022, SEMIBDMA 2022, DEEPLUDA 2022, 2023, 1784 : 63 - 74
  • [24] A Hybrid Prediction Method for Stock Price Using LSTM and Ensemble EMD
    Yujun, Yang
    Yimei, Yang
    Jianhua, Xiao
    COMPLEXITY, 2020, 2020
  • [25] Research on Improved GRU-Based Stock Price Prediction Method
    Chen, Chi
    Xue, Lei
    Xing, Wanqi
    APPLIED SCIENCES-BASEL, 2023, 13 (15):
  • [26] Stock Price Prediction using Combined LSTM-CNN Model
    Zhou, Xinrong
    2021 3RD INTERNATIONAL CONFERENCE ON MACHINE LEARNING, BIG DATA AND BUSINESS INTELLIGENCE (MLBDBI 2021), 2021, : 67 - 71
  • [27] A Novel Variant of LSTM Stock Prediction Method Incorporating Attention Mechanism
    Sang, Shuai
    Li, Lu
    MATHEMATICS, 2024, 12 (07)
  • [28] The Prediction Stock Market Price Using LSTM
    Barik, Rhada
    Baina, Amine
    Bellafkih, Mostafa
    EMERGING TRENDS IN INTELLIGENT SYSTEMS & NETWORK SECURITY, 2023, 147 : 444 - 453
  • [29] Multi-scale local cues and hierarchical attention-based LSTM for stock price trend prediction
    Teng, Xiao
    Zhang, Xiang
    Luo, Zhigang
    Neurocomputing, 2022, 505 : 92 - 100
  • [30] Multi-scale local cues and hierarchical attention-based LSTM for stock price trend prediction
    Teng, Xiao
    Zhang, Xiang
    Luo, Zhigang
    NEUROCOMPUTING, 2022, 505 : 92 - 100