Repository logo
 

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

aut.relation.articlenumber487
aut.relation.endpage487
aut.relation.issue3
aut.relation.journalMathematics
aut.relation.startpage487
aut.relation.volume13
dc.contributor.authorZhou, Lei
dc.contributor.authorZhang, Yuqi
dc.contributor.authorYu, Jian
dc.contributor.authorWang, Guiling
dc.contributor.authorLiu, Zhizhong
dc.contributor.authorYongchareon, Sira
dc.contributor.authorWang, Nancy
dc.date.accessioned2025-02-05T02:55:39Z
dc.date.available2025-02-05T02:55:39Z
dc.date.issued2025-01-31
dc.description.abstractAccurately 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.
dc.identifier.citationMathematics, ISSN: 2227-7390 (Print); 2227-7390 (Online), MDPI AG, 13(3), 487-487. doi: 10.3390/math13030487
dc.identifier.doi10.3390/math13030487
dc.identifier.issn2227-7390
dc.identifier.issn2227-7390
dc.identifier.urihttp://hdl.handle.net/10292/18588
dc.languageen
dc.publisherMDPI AG
dc.relation.urihttps://www.mdpi.com/2227-7390/13/3/487
dc.rights© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
dc.rights.accessrightsOpenAccess
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.subject49 Mathematical sciences
dc.titleLLM-Augmented Linear Transformer–CNN for Enhanced Stock Price Prediction
dc.typeJournal Article
pubs.elements-id588844

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
LLM-Augmented Linear Transformer–CNN for Enhanced Stock Price Prediction.pdf
Size:
390.4 KB
Format:
Adobe Portable Document Format
Description:
Journal article