An Efficient Hybrid Model for Stock Market Price Prediction Using CNN-BiLSTM with Attention Mechanism and Sentimental Analysis
Received: 2 May 2025 | Revised: 6 June 2025 | Accepted: 15 June 2025 | Online: 2 August 2025
Corresponding author: Bhanujyothi H. C.
Abstract
Stock price prediction is a challenging task with dynamic trends and volatile markets due to opinion and sentiment forces in the market. The conventional Autoregressive Integrated Moving Average (ARIMA) and Support Vector Regression (SVR) methods only take into account historical numerical values and ignore the influence of current financial news. Thus, they do not model the interdependence between historical stock prices and opinion data and are plagued by lower precision and prediction power. To overcome these drawbacks, this study proposes a Hybrid Sentiment-Aware Stock Prediction Model (HSASP) that integrates Convolutional Neural Networks (CNN) and Bidirectional Long Short-Term Memory (BiLSTM) with an Attention Mechanism (AM). The CNN captures spatial relations from Tesla's past stock history, and BiLSTM uses opinion-based information from Reddit News to capture temporal relations. The AM selects the most significant features by assigning weights to valuable details, enhancing the predictability of the model. The suggested HSASP model improves accuracy by 18%, precision by 16%, and trend consistency by 20%, being successful for stock price prediction. With the integration of price- and opinion-based information, the suggested model provides a strong option for decision-making with high efficiency and precision.
Keywords:
hybrid machine learning model, CNN, BiLSTM, attention techanism, sentiment analysisDownloads
References
T. Sidogi, W. T. Mongwe, R. Mbuvha, and T. Marwala, "Fusing Sell-Side Analyst Bidirectional Forecasts Using Machine Learning," IEEE Access, vol. 10, pp. 76966–76974, 2022. DOI: https://doi.org/10.1109/ACCESS.2022.3193141
S. Wang, "A Stock Price Prediction Method Based on BiLSTM and Improved Transformer," IEEE Access, vol. 11, pp. 104211–104223, 2023. DOI: https://doi.org/10.1109/ACCESS.2023.3296308
V. K. Anand and D. Chandawat, "An Evaluation of Machine Learning Algorithms for Predicting Closing Stock Prices in the Indian Stock Market," in TENCON 2024 - 2024 IEEE Region 10 Conference (TENCON), Singapore, Singapore, Dec. 2024, pp. 1485–1488. DOI: https://doi.org/10.1109/TENCON61640.2024.10903061
G. Mu, N. Gao, Y. Wang, and L. Dai, "A Stock Price Prediction Model Based on Investor Sentiment and Optimized Deep Learning," IEEE Access, vol. 11, pp. 51353–51367, 2023. DOI: https://doi.org/10.1109/ACCESS.2023.3278790
X. Hou, K. Wang, C. Zhong, and Z. Wei, "ST-Trader: A Spatial-Temporal Deep Neural Network for Modeling Stock Market Movement," IEEE/CAA Journal of Automatica Sinica, vol. 8, no. 5, pp. 1015–1024, May 2021. DOI: https://doi.org/10.1109/JAS.2021.1003976
N. Kanungsukkasem and T. Leelanupab, "Financial Latent Dirichlet Allocation (FinLDA): Feature Extraction in Text and Data Mining for Financial Time Series Prediction," IEEE Access, vol. 7, pp. 71645–71664, 2019. DOI: https://doi.org/10.1109/ACCESS.2019.2919993
J. You, H. Jang, M. Kang, S. B. Yang, and S. H. Yoon, "Leveraging Stock Discussion Forum Posts for Stock Price Predictions: Focusing on the Secondary Battery Sector," IEEE Access, vol. 12, pp. 153537–153549, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3481442
F. M. M. Alsheebah and B. A. Al-Fuhaidi, "Emerging Stock Market Prediction Using GRU Algorithm: Incorporating Endogenous and Exogenous Variables," IEEE Access, vol. 12, pp. 132964–132971, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3444699
A. Bareket and B. Pârv, "Adaptive Feature Subset and Dynamic Trend Indicators for Medium-Term Stock Market Predictions: A 70 Trading Days Forecasting Approach," IEEE Access, vol. 12, pp. 84306–84322, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3412989
A. Peivandizadeh et al., "Stock Market Prediction With Transductive Long Short-Term Memory and Social Media Sentiment Analysis," IEEE Access, vol. 12, pp. 87110–87130, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3399548
Y. Ansari, "Multi-Cluster Graph (MCG): A Novel Clustering-Based Multi-Relation Graph Neural Networks for Stock Price Forecasting," IEEE Access, vol. 12, pp. 154482–154502, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3476159
M. Patel, K. Jariwala, and C. Chattopadhyay, "An Approach Toward Stock Market Prediction and Portfolio Optimization in Indian Financial Sectors," IEEE Transactions on Computational Social Systems, vol. 12, no. 1, pp. 128–139, Feb. 2025. DOI: https://doi.org/10.1109/TCSS.2024.3450291
T. Jayanth, A. Manimaran, and G. Siva, "Enhancing Stock Price Forecasting With a Hybrid SES-DA-BiLSTM-BO Model: Superior Accuracy in High-Frequency Financial Data Analysis," IEEE Access, vol. 12, pp. 173618–173637, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3502175
W. M. P. Dhuhita, M. F. A. Farid, A. Yaqin, H. Haryoko, and A. A. Huda, "Gold Price Prediction Based On Yahoo Finance Data Using Lstm Algorithm," in 2023 International Conference on Informatics, Multimedia, Cyber and Informations System (ICIMCIS), Jakarta Selatan, Indonesia, Nov. 2023, pp. 420–425. DOI: https://doi.org/10.1109/ICIMCIS60089.2023.10349035
T. S. Mian, "Evaluation of Stock Closing Prices using Transformer Learning," Engineering, Technology & Applied Science Research, vol. 13, no. 5, pp. 11635–11642, Oct. 2023. DOI: https://doi.org/10.48084/etasr.6017
A. Mardjo and C. Choksuchat, "HyVADRF: Hybrid VADER–Random Forest and GWO for Bitcoin Tweet Sentiment Analysis," IEEE Access, vol. 10, pp. 101889–101897, 2022. DOI: https://doi.org/10.1109/ACCESS.2022.3209662
B. Yoon, Y. Jeong, and S. Kim, "Detecting a Risk Signal in Stock Investment Through Opinion Mining and Graph-Based Semi-Supervised Learning," IEEE Access, vol. 8, pp. 161943–161957, 2020. DOI: https://doi.org/10.1109/ACCESS.2020.3021182
R. Zhang and V. Y. Mariano, "Integration of Emotional Factors With GAN Algorithm in Stock Price Prediction Method Research," IEEE Access, vol. 12, pp. 77368–77378, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3406223
L. Bacco, L. Petrosino, D. Arganese, L. Vollero, M. Papi, and M. Merone, "Investigating Stock Prediction Using LSTM Networks and Sentiment Analysis of Tweets Under High Uncertainty: A Case Study of North American and European Banks," IEEE Access, vol. 12, pp. 122239–122248, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3450311
B. Li, J. Luo, and H. Xu, "A Portfolio Selection Strategy Based on the Peak Price Involving Randomness," IEEE Access, pp. 1–1, 2023. DOI: https://doi.org/10.1109/ACCESS.2023.3278980
K. Alam, M. H. Bhuiyan, I. U. Haque, M. F. Monir, and T. Ahmed, "Enhancing Stock Market Prediction: A Robust LSTM-DNN Model Analysis on 26 Real-Life Datasets," IEEE Access, vol. 12, pp. 122757–122768, 2024. DOI: https://doi.org/10.1109/ACCESS.2024.3434524
N. Passalis, A. Tefas, J. Kanniainen, M. Gabbouj, and A. Iosifidis, "Temporal Bag-of-Features Learning for Predicting Mid Price Movements Using High Frequency Limit Order Book Data," IEEE Transactions on Emerging Topics in Computational Intelligence, vol. 4, no. 6, pp. 774–785, Dec. 2020. DOI: https://doi.org/10.1109/TETCI.2018.2872598
S. S. Alotaibi, "Ensemble Technique With Optimal Feature Selection for Saudi Stock Market Prediction: A Novel Hybrid Red Deer-Grey Algorithm," IEEE Access, vol. 9, pp. 64929–64944, 2021. DOI: https://doi.org/10.1109/ACCESS.2021.3073507
Downloads
How to Cite
License
Copyright (c) 2025 H. C. Bhanujyothi , I. Jeena Jacob

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.
