Spatial-temporal attention-based convolutional network with text and numerical information for stock price prediction

被引:0
|
作者
Chin-Teng Lin
Yu-Ka Wang
Pei-Lun Huang
Ye Shi
Yu-Cheng Chang
机构
[1] University of Technology Sydney,CIBCI lab, Australian Artificial Intelligence Institute
[2] National Chiao Tung University,Institute of Electrical and Control Engineering
来源
关键词
Long short-term memory; Convolutional neural network; Attention network; Stock price prediction;
D O I
暂无
中图分类号
学科分类号
摘要
In the financial market, the stock price prediction is a challenging task which is influenced by many factors. These factors include economic change, politics and global events that are usually recorded in text format, such as the daily news. Therefore, we assume that real-world text information can be used to forecast stock market activity. However, only a few works considered both text and numerical information to predict or analyse stock trends. These works used preprocessed text features as the model inputs; therefore, latent information in text may be lost because the relationships between the text and stock price are not considered. In this paper, we propose a fusion network, i.e. a spatial-temporal attention-based convolutional network (STACN) that can leverage the advantages of an attention mechanism, a convolutional neural network and long short-term memory to extract text and numerical information for stock price prediction. Benefiting from the utilisation of an attention mechanism, reliable text features that are highly relevant to stock value can be extracted, which improves the overall model performance. The experimental results on real-world stock data demonstrate that our STACN model and training scheme can handle both text and numerical data and achieve high accuracy on stock regression tasks. The STACN is compared with CNNs and LSTMs with different settings, e.g. a CNN with only stock data, a CNN with only news titles and LSTMs with only stock data. CNNs considering only stock data and news titles have mean squared errors of 28.3935 and 0.1814, respectively. The accuracy of LSTMs is 0.0763. The STACN can achieve an accuracy of 0.0304, outperforming CNNs and LSTMs in stock regression tasks.
引用
收藏
页码:14387 / 14395
页数:8
相关论文
共 50 条
  • [1] Spatial-temporal attention-based convolutional network with text and numerical information for stock price prediction
    Lin, Chin-Teng
    Wang, Yu-Ka
    Huang, Pei-Lun
    Shi, Ye
    Chang, Yu-Cheng
    [J]. NEURAL COMPUTING & APPLICATIONS, 2022, 34 (17): : 14387 - 14395
  • [2] STAD-GCN: Spatial-Temporal Attention-based Dynamic Graph Convolutional Network for retail market price prediction
    Kim, Sodam
    Park, Eunil
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2024, 255
  • [3] Network Traffic Prediction with Attention-based Spatial-Temporal Graph Network
    Peng, Yufei
    Guo, Yingya
    Hao, Run
    Lin, Junda
    [J]. 2023 IEEE 24TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE SWITCHING AND ROUTING, HPSR, 2023,
  • [4] Network traffic prediction with Attention-based Spatial-Temporal Graph Network
    Peng, Yufei
    Guo, Yingya
    Hao, Run
    Xu, Chengzhe
    [J]. COMPUTER NETWORKS, 2024, 243
  • [5] Attention-based global and local spatial-temporal graph convolutional network for vehicle emission prediction
    Fei, Xihong
    Ling, Qiang
    [J]. NEUROCOMPUTING, 2023, 521 : 41 - 55
  • [6] Trajectory Prediction with Attention-Based Spatial-Temporal Graph Convolutional Networks for Autonomous Driving
    Li, Hongbo
    Ren, Yilong
    Li, Kaixuan
    Chao, Wenjie
    [J]. APPLIED SCIENCES-BASEL, 2023, 13 (23):
  • [7] Attention-Based Multiscale Spatial-Temporal Convolutional Network for Motor Imagery EEG Decoding
    Zhang, Yu
    Li, Penghai
    Cheng, Longlong
    Li, Mingji
    Li, Hongji
    [J]. IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, 2024, 70 (01) : 2423 - 2434
  • [8] Traffic Flow Prediction Based on Spatial-Temporal Attention Convolutional Neural Network
    Xia Y.
    Liu M.
    [J]. Xinan Jiaotong Daxue Xuebao/Journal of Southwest Jiaotong University, 2023, 58 (02): : 340 - 347
  • [9] Cascade Attention-based Spatial-temporal Convolutional Neural Network for Motion Image Posture Recognition
    Zhang, Shuqi
    [J]. Journal of Computers (Taiwan), 2022, 33 (01): : 21 - 30
  • [10] Information Propagation Prediction Based on Spatial-Temporal Attention and Heterogeneous Graph Convolutional Networks
    Liu, Xiaoyang
    Miao, Chenxiang
    Fiumara, Giacomo
    De Meo, Pasquale
    [J]. IEEE TRANSACTIONS ON COMPUTATIONAL SOCIAL SYSTEMS, 2024, 11 (01) : 945 - 958