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 条
  • [1] A new attention-based LSTM model for closing stock price prediction
    Lin, Yuyang
    Huang, Qi
    Zhong, Qiyin
    Li, Muyang
    Li, Yan
    Ma, Fei
    INTERNATIONAL JOURNAL OF FINANCIAL ENGINEERING, 2022, 09 (03)
  • [2] Stock Price Prediction Based on FinBERT-LSTM Model
    Fan, Shijia
    Chen, Xu
    Wang, Xu-an
    COMPLEX, INTELLIGENT AND SOFTWARE INTENSIVE SYSTEMS, CISIS-2024, 2024, 87 : 37 - 47
  • [3] Stock price prediction based on LSTM and LightGBM hybrid model
    Tian, Liwei
    Feng, Li
    Yang, Lei
    Guo, Yuankai
    JOURNAL OF SUPERCOMPUTING, 2022, 78 (09): : 11768 - 11793
  • [4] Stock price prediction based on LSTM and LightGBM hybrid model
    Liwei Tian
    Li Feng
    Lei Yang
    Yuankai Guo
    The Journal of Supercomputing, 2022, 78 : 11768 - 11793
  • [5] Carbon Price Prediction of LSTM Method Based on Attention Mechanism
    Luo, Xiaohu
    Yu, Runxin
    Guo, Yuchen
    Jia, Heping
    Liu, Dunnan
    2022 4TH INTERNATIONAL CONFERENCE ON SMART POWER & INTERNET ENERGY SYSTEMS, SPIES, 2022, : 2198 - 2202
  • [6] An Attention-Based LSTM Model for Stock Price Trend Prediction Using Limit Order Books
    Li, Yunhao
    Li, Liuliu
    Zhao, Xudong
    Ma, Tianyi
    Zou, Ying
    Chen, Ming
    5TH ANNUAL INTERNATIONAL CONFERENCE ON INFORMATION SYSTEM AND ARTIFICIAL INTELLIGENCE (ISAI2020), 2020, 1575
  • [7] Study on the prediction of stock price based on the associated network model of LSTM
    Guangyu Ding
    Liangxi Qin
    International Journal of Machine Learning and Cybernetics, 2020, 11 : 1307 - 1317
  • [8] Study on the prediction of stock price based on the associated network model of LSTM
    Ding, Guangyu
    Qin, Liangxi
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2020, 11 (06) : 1307 - 1317
  • [9] Two-channel Attention Mechanism Fusion Model of Stock Price Prediction Based on CNN-LSTM
    Sun, Lin
    Xu, Wenzheng
    Liu, Jimin
    ACM TRANSACTIONS ON ASIAN AND LOW-RESOURCE LANGUAGE INFORMATION PROCESSING, 2021, 20 (05)
  • [10] The LSTM Model with Error Rectification in Stock Price Prediction
    Li, Junxi
    Li, Zheran
    Lei, Wanning
    2021 3RD INTERNATIONAL CONFERENCE ON MACHINE LEARNING, BIG DATA AND BUSINESS INTELLIGENCE (MLBDBI 2021), 2021, : 140 - 143