Hybrid LSTM-Transformer Model for Stock Market Prediction: A Deep Learning Approach

变压器 计算机科学 深度学习 人工智能 股票市场 股市预测 机器学习 工程类 电气工程 地质学 古生物学 电压
作者
Naga Sathwik Reddy Gona,Direesh Reddy Aunugu,Vijayalaxmi Methuku,Manan Agrawal,Praveen Kumar Myakala
标识
DOI:10.1109/aitest66680.2025.00018
摘要

Stock market prediction is a complex and dynamic task due to the volatile nature of financial markets, influenced by economic, social, and geopolitical factors. Traditional machine learning models, including Long Short-Term Memory (LSTM) networks, have shown potential but often fall short in capturing both short-term price fluctuations and long-term dependencies. This paper proposes a novel LSTM-Transformer hybrid model that integrates the sequential modeling capabilities of LSTM with the attention-based long-range pattern recognition of Transformers. To enhance predictive performance, we incorporate key technical indicators—Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD), Bollinger Bands—as well as sentiment features derived from FinBERT, a finance-specific large language model.The model is trained on historical stock data spanning 2015 to 2024 and evaluated using an $80 \%-20 \%$ training-testing split. Performance is assessed using Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Percentage Error (MAPE), and Sharpe Ratio to capture both prediction accuracy and risk-adjusted returns. A rolling-window backtesting approach is used to simulate real-world trading behavior across varying market conditions. Our hybrid model outperforms standalone LSTM, GRU, and Transformer baselines, achieving an MSE of 0.0021, RMSE of 0.0467, and a directional accuracy of $76.4 \%$. These findings highlight the value of combining deep learning, financial indicators, and sentiment analysis for robust stock market forecasting. A conceptual extension discussing the role of generative models like GPT for unstructured financial data is also presented.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
anyon完成签到,获得积分10
刚刚
意昂完成签到,获得积分10
刚刚
刚刚
1秒前
795836发布了新的文献求助100
1秒前
1秒前
1秒前
Augreen完成签到,获得积分10
1秒前
cf发布了新的文献求助10
1秒前
aaaa应助曦麟采纳,获得20
1秒前
1秒前
2秒前
kyan发布了新的文献求助10
2秒前
2秒前
2秒前
wxhzsdvv发布了新的文献求助10
2秒前
曾图图发布了新的文献求助10
2秒前
王富贵完成签到,获得积分10
2秒前
666666完成签到,获得积分20
3秒前
MSS2819发布了新的文献求助10
4秒前
liuwei发布了新的文献求助10
4秒前
橘子发布了新的文献求助30
4秒前
漂亮雅山发布了新的文献求助10
4秒前
4秒前
4秒前
4秒前
4秒前
liu完成签到 ,获得积分10
4秒前
wanci应助xzn1123采纳,获得80
5秒前
现代的代丝应助胡锐采纳,获得10
5秒前
6秒前
落寞依珊发布了新的文献求助10
6秒前
赫鲁晓楠发布了新的文献求助10
6秒前
巫马尔槐发布了新的文献求助10
6秒前
嘤嘤发布了新的文献求助10
6秒前
7秒前
ding应助sssssss采纳,获得10
7秒前
7秒前
xxxxxn完成签到,获得积分20
8秒前
豆包完成签到,获得积分10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
HYDROLYSE ACIDE DE QUELQUES DIOXASPIROCYCLANES 1000
Navigating Normative Orders. Interdisciplinary Perspectives 800
1 Peter and Christ's Descent to the Dead in Its Early Christian Reception 700
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 600
Organizational Behavior 510
Management and the Arts 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7741454
求助须知:如何正确求助?哪些是违规求助? 9290040
关于积分的说明 20199037
捐赠科研通 7319859
什么是DOI,文献DOI怎么找? 3306737
关于科研通互助平台的介绍 2458937
邀请新用户注册赠送积分活动 2317142