LLM-Augmented Linear Transformer-CNN for Enhanced Stock Price Prediction

被引:0
|
作者
Zhou, Lei [1 ]
Zhang, Yuqi [1 ]
Yu, Jian [1 ]
Wang, Guiling [2 ]
Liu, Zhizhong [3 ]
Yongchareon, Sira [1 ]
Wang, Nancy [1 ]
机构
[1] Auckland Univ Technol, Dept Comp Sci, Auckland 1010, New Zealand
[2] North China Univ Technol, Sch Informat Sci & Technol, Beijing 100144, Peoples R China
[3] Yantai Univ, Sch Comp & Control Engn, Yantai 254005, Peoples R China
关键词
stock price prediction; Linear Transformer; CNN; LLM; deep learning; financial forecasting;
D O I
10.3390/math13030487
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
Accurately predicting stock prices remains a challenging task due to the volatile and complex nature of financial markets. In this study, we propose a novel hybrid deep learning framework that integrates a large language model (LLM), a Linear Transformer (LT), and a Convolutional Neural Network (CNN) to enhance stock price prediction using solely historical market data. The framework leverages the LLM as a professional financial analyst to perform daily technical analysis. The technical indicators, including moving averages (MAs), relative strength index (RSI), and Bollinger Bands (BBs), are calculated directly from historical stock data. These indicators are then analyzed by the LLM, generating descriptive textual summaries. The textual summaries are further transformed into vector representations using FinBERT, a pre-trained financial language model, to enhance the dataset with contextual insights. The FinBERT embeddings are integrated with features from two additional branches: the Linear Transformer branch, which captures long-term dependencies in time-series stock data through a linearized self-attention mechanism, and the CNN branch, which extracts spatial features from visual representations of stock chart data. The combined features from these three modalities are then processed by a Feedforward Neural Network (FNN) for final stock price prediction. Experimental results on the S&P 500 dataset demonstrate that the proposed framework significantly improves stock prediction accuracy by effectively capturing temporal, spatial, and contextual dependencies in the data. This multimodal approach highlights the importance of integrating advanced technical analysis with deep learning architectures for enhanced financial forecasting.
引用
收藏
页数:18
相关论文
共 50 条
  • [31] A NOVEL MODEL FOR STOCK CLOSING PRICE PREDICTION USING CNN-ATTENTION-GRU-ATTENTION
    Lu, Wenjie
    Li, Jiazheng
    Wang, Jingyang
    Wu, Shaowen
    ECONOMIC COMPUTATION AND ECONOMIC CYBERNETICS STUDIES AND RESEARCH, 2022, 56 (03): : 251 - 264
  • [32] A graph-based CNN-LSTM stock price prediction algorithm with leading indicators
    Jimmy Ming-Tai Wu
    Zhongcui Li
    Norbert Herencsar
    Bay Vo
    Jerry Chun-Wei Lin
    Multimedia Systems, 2023, 29 : 1751 - 1770
  • [33] A graph-based CNN-LSTM stock price prediction algorithm with leading indicators
    Wu, Jimmy Ming-Tai
    Li, Zhongcui
    Herencsar, Norbert
    Vo, Bay
    Lin, Jerry Chun-Wei
    MULTIMEDIA SYSTEMS, 2023, 29 (03) : 1751 - 1770
  • [34] Prediction and Analysis of ChiNext Stock Price Based on Linear and Non-linear Composite Model
    Jiang, Yueting
    Abdeldayem, Marwan Mohamed
    APPLIED MATHEMATICS AND NONLINEAR SCIENCES, 2022, 8 (01) : 689 - 696
  • [35] CTL: A Stock Price Index Prediction Network Based on a Hybrid Structure of CEEMDAN, Transformer and LSTM
    Sun, Song
    Zhang, Liang
    Yu, Chuanwei
    PROCEEDINGS OF 2024 3RD INTERNATIONAL CONFERENCE ON CYBER SECURITY, ARTIFICIAL INTELLIGENCE AND DIGITAL ECONOMY, CSAIDE 2024, 2024, : 606 - 612
  • [36] A MULTI-SCALE SAR-OPTICAL IMAGE MATCHING METHOD USING STRUCTURE-ENHANCED CONVOLUTIONAL LAYER AND TRANSFORMER-CNN MODEL
    Liu, Yijun
    Long, Jie
    Liu, Qian
    Liu, Chang
    Wang, Qingsong
    IGARSS 2024-2024 IEEE INTERNATIONAL GEOSCIENCE AND REMOTE SENSING SYMPOSIUM, IGARSS 2024, 2024, : 2975 - 2978
  • [37] Beyond Sentiment in Stock Price Prediction: Integrating News Sentiment and Investor Attention with Temporal Fusion Transformer
    Hajek, Petr
    Novotny, Josef
    ARTIFICIAL INTELLIGENCE APPLICATIONS AND INNOVATIONS, PT III, AIAI 2024, 2024, 713 : 30 - 43
  • [38] Enhanced stock price variation prediction via DOE and BPNN-based optimization
    Hsieh, Ling-Feng
    Hsieh, Su-Chen
    Tai, Pei-Hao
    EXPERT SYSTEMS WITH APPLICATIONS, 2011, 38 (11) : 14178 - 14184
  • [39] A Novel Bayesian Model Enhanced with Heuristic Likelihood Estimation for the Prediction of Stock Price Trend
    Vo, Van-Truc
    Lin, Bor-Shen
    COMPUTATIONAL ECONOMICS, 2025,
  • [40] A CNN-Based Method for AAPL Stock Price Trend Prediction Using Historical Data and Technical Indicators
    Gong, Yuxiao
    Wu, Jimmy Ming-Tai
    Li, Zhongcui
    Liu, Shuo
    Sun, Lingyun
    Chen, Chien-Ming
    ADVANCES IN INTELLIGENT SYSTEMS AND COMPUTING (ECC 2021), 2022, 268 : 25 - 33