A Hybrid Deep Learning Framework for Stock Market Prediction Using PPO-Based Sentiment Analysis and Transductive LSTM
Keywords:
Stock Market Prediction, Transductive Long Short-Term Memory (TLSTM), Sentiment Analysis, Reinforcement Learning, Off-policy Proximal Policy Optimization (PPO)Abstract
Stock market prediction is a challenging task due to the highly volatile, nonlinear, and dynamic nature of financial markets. This work proposes a hybrid intelligent framework that integrates technical indicators, reinforcement learning–based sentiment analysis, and deep learning models to enhance stock price forecasting accuracy. The system begins with dataset preprocessing and quality validation, followed by the extraction of technical indicators such as Simple Moving Average (SMA), Relative Strength Index (RSI), and Moving Average Convergence Divergence (MACD) from the NIFTY-50 dataset. In addition, market sentiment information is extracted and classified using an Off-Policy Proximal Policy Optimization (PPO) based sentiment model combined with deep learning features. The sentiment classification results demonstrate strong performance, achieving 92.4% accuracy, 93.4% F1-score, and a G-Mean of 0.908, outperforming baseline models such as BiLSTM (88.1% accuracy) and BERT+CNN (86.3% accuracy). The reinforcement learning training process shows stable convergence, where the average reward increases from –0.18 to approximately 0.90, indicating effective policy learning. For stock price prediction, a Transductive Long Short-Term Memory (TLSTM) model is employed to capture long-term temporal dependencies in financial time series. Experimental results show that the TLSTM model achieves RMSE = 0.045, MAPE = 2.14%, and MAE = 0.031, outperforming traditional models such as ARIMA (RMSE = 0.082), SVM (RMSE = 0.069), and BiLSTM (RMSE = 0.064). The proposed framework also demonstrates significant improvements compared to baseline methods, achieving 22.41% reduction in RMSE, 15.08% reduction in MAPE, and 20.51% reduction in MAE. Statistical significance analysis further confirms the robustness of the proposed approach with p-values below 0.05 when compared with several baseline models.
Downloads
References
Y. Wang, “Stock Prediction with Improved Feedforward Neural Networks and Multimodal Fusion,” Journal of Computer Technology and Software, vol. 4, no. 1, 2025, doi: https://doi.org/10.5281/zenodo.14785321.
Wang, H., Xie, Z., Chiu, D.K.W. et al. Multimodal market information fusion for stock price trend prediction in the pharmaceutical sector. Appl Intell 55, 77 (2025). https://doi.org/10.1007/s10489-024-05894-0
P.-F. Pai and C.-S. Lin, “A hybrid ARIMA and support vector machines model in stock price forecasting,” Omega, vol. 33, no. 6, pp. 497–505, Dec. 2005. https://doi.org/10.1016/j.omega.2004.07.024
T. Fischer and C. Krauss, “Deep learning with long short-term memory networks for financial market predictions,” European Journal of Operational Research, vol. 270, no. 2, pp. 654–669, Oct. 2018, doi: https://doi.org/10.1016/j.ejor.2017.11.054.
D. M. Q. Nelson, A. C. M. Pereira and R. A. de Oliveira, "Stock market's price movement prediction with LSTM neural networks," 2017 International Joint Conference on Neural Networks (IJCNN), Anchorage, AK, USA, 2017, pp. 1419-1426, doi: 10.1109/IJCNN.2017.7966019.
M. N. Ashtiani and B. Raahemi, “News-based intelligent prediction of financial markets using text mining and machine learning: A systematic literature review,” Expert Systems with Applications, vol. 217, p. 119509, May 2023, doi: https://doi.org/10.1016/j.eswa.2023.119509.
T. Shaik, X. Tao, C. Dann, H. Xie, Y. Li, and L. Galligan, “Sentiment analysis and opinion mining on educational data: A survey,” Natural Language Processing Journal, vol. 2, p. 100003, Mar. 2023, doi: https://doi.org/10.1016/j.nlp.2022.100003.
C. Padurariu and M. E. Breaban, “Dealing with Data Imbalance in Text Classification,” Procedia Computer Science, vol. 159, pp. 736–745, 2019, doi: https://doi.org/10.1016/j.procs.2019.09.229.
Md. A. Babu, M. Ahammad, M. Mahmud, and Md. S. Uddin, “Social Media as a Market Prophecy: Leveraging ML Algorithms for Predicting Market Trends and Demand,” Transportation Research Procedia, vol. 84, pp. 137–144, 2025, doi: https://doi.org/10.1016/j.trpro.2025.03.056.
Han, H., Wang, WY., Mao, BH. (2005). Borderline-SMOTE: A New Over-Sampling Method in Imbalanced Data Sets Learning. In: Huang, DS., Zhang, XP., Huang, GB. (eds) Advances in Intelligent Computing. ICIC 2005. Lecture Notes in Computer Science, vol 3644. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11538059_91
M. Buda, A. Maki, and M. A. Mazurowski, “A systematic study of the class imbalance problem in convolutional neural networks,” Neural Networks, vol. 106, pp. 249–259, Oct. 2018, doi: https://doi.org/10.1016/j.neunet.2018.07.011.
Lin, E., Chen, Q. & Qi, X. Deep reinforcement learning for imbalanced classification. Appl Intell 50, 2488–2502 (2020). https://doi.org/10.1007/s10489-020-01637-z
Y. Gu, Y. Cheng, C. L. P. Chen and X. Wang, "Proximal Policy Optimization With Policy Feedback," in IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 52, no. 7, pp. 4600-4610, July 2022, doi: 10.1109/TSMC.2021.3098451.
A. Yunita et al., “Performance analysis of neural network architectures for time series forecasting: A comparative study of RNN, LSTM, GRU, and hybrid models,” MethodsX, vol. 15, p. 103462, Jul. 2025, doi: https://doi.org/10.1016/j.mex.2025.103462.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 International Journal of Scientific Research in Science and Technology

This work is licensed under a Creative Commons Attribution 4.0 International License.
https://creativecommons.org/licenses/by/4.0