Author
Listed:
- Lei Zhou
(Department of Computer Science, Auckland University of Technology, Auckland 1010, New Zealand)
- Yuqi Zhang
(Department of Computer Science, Auckland University of Technology, Auckland 1010, New Zealand)
- Jian Yu
(Department of Computer Science, Auckland University of Technology, Auckland 1010, New Zealand)
- Guiling Wang
(School of Information Science and Technology, North China University of Technology, Beijing 100144, China)
- Zhizhong Liu
(The School of Computer and Control Engineering, Yantai University, Yantai 254005, China)
- Sira Yongchareon
(Department of Computer Science, Auckland University of Technology, Auckland 1010, New Zealand)
- Nancy Wang
(Department of Computer Science, Auckland University of Technology, Auckland 1010, New Zealand)
Abstract
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.
Suggested Citation
Lei Zhou & Yuqi Zhang & Jian Yu & Guiling Wang & Zhizhong Liu & Sira Yongchareon & Nancy Wang, 2025.
"LLM-Augmented Linear Transformer–CNN for Enhanced Stock Price Prediction,"
Mathematics, MDPI, vol. 13(3), pages 1-18, January.
Handle:
RePEc:gam:jmathe:v:13:y:2025:i:3:p:487-:d:1581357
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jmathe:v:13:y:2025:i:3:p:487-:d:1581357. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.