# Enhancing Stock Price Forecasting Accuracy Through Compositional Learning of Recurrent Architectures: A Multi-Variant RNN Approach > Kasse I. URL kanonis: https://discover.unhas.ac.id/publications/enhancing-stock-price-forecasting-accuracy-through-compositional-learning-of-rec Jurnal / Konferensi: IEEE Access Tahun terbit: 2025 DOI: https://doi.org/10.1109/ACCESS.2025.3602721 ISSN: 21693536 Kuartil SJR: Q1 Citations: 0 ## Authors - Kasse I. ## Abstract Accurate stock price forecasting is essential for profitable and risk-aware decision-making in volatile financial markets. Accordingly, this study proposes a forecasting method that integrates a robust composition of deep learning algorithms applied to well-structured financial data to enhance the predictive accuracy. A compositional learning approach was developed to systematically design and assess Recurrent Neural Network (RNN) architectures, specifically Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), and Simple Recurrent Unit (SRU), for effective multivariate time-series prediction. A total of 54 models (18 for each type) were created and tested, with hyperparameter tuning using both Random Search (RS) and Grey Wolf Optimizer (GWO). The results show that LSTM-GWO (1-1-0-1) performed best, with R-squared = 99.2427%, MAPE = 1.1721%, RMSPE = 1.6221%, RMSE = 339.3902, WI = 0.9981, NSE = 0.9924, and PBIAS = 0.0523, demonstrating high accuracy, low error, excellent model agreement, efficiency, and minimal bias. The GRU-GWO (2-1-1-1) and SRU-GWO (2-2-0-0) also showed improved results over RS optimization, confirming that GWO consistently boosts model accuracy and stability across all RNN variants. These findings confirm that a systematic architecture design combined with metaheuristic optimization significantly enhances stock forecasting performance. The proposed compositional RNN framework offers a reliable foundation for developing robust and accurate stock prediction systems that aid strategic investment decisions in dynamic and nonlinear financial markets. ## Keywords - Computer science - Recurrent neural network - Artificial intelligence - Machine learning - Stock price - Stock (firearms) - Time series - Series (stratigraphy) - Artificial neural network - Biology - Engineering - Paleontology - Mechanical engineering --- Sumber: Discover Unhas — RIMS Universitas Hasanuddin. Saat mengutip, gunakan DOI bila tersedia atau URL kanonis di atas.