Hyperparameter Optimization of Hybrid LSTM-GRU using Genetic Algorithm for Stock Price Prediction
bit-Tech · 10.04.2026 · 8 (3) · 3609-3619
DOI: 10.32877/bt.v8i3.3656 ↗Kurz gefasst
Fachartikel in der Zeitschrift bit-Tech, online erschienen am 10.04.2026. Verfasst von Mordekhai Gerin Lumangkun und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).
Abstract (Originalsprache)
Predicting stock prices in the banking sector, particularly for high-capitalisation stocks such as Bank Rakyat Indonesia (BBRI), remains challenging amid market volatility. While Hybrid LSTM-GRU models have demonstrated capability in capturing temporal dependencies in time-series data, prior studies have predominantly focused on manual tuning or optimization of single recurrent architectures, with limited application of Genetic Algorithms for optimizing hybrid recurrent networks in emerging stock markets (R1). This research aims to address this gap by implementing an evolutionary optimization framework using a Genetic Algorithm (GA) to automatically tune the hyperparameters of a Hybrid LSTM-GRU model for enhanced stock price forecasting accuracy. Historical BBRI data from November 2020 to June 2025 were preprocessed through normalization and transformed into supervised time-series sequences before being divided into training, validation, and testing sets. The GA was configured with a population size of 20, 80 generations, and a crossover rate of 0.8 to search for optimal learning rates, batch sizes, and hidden units. The optimized configuration identified 64 units for LSTM and GRU layers, a learning rate of 0.002, and a batch size of 16. The resulting model achieved an RMSE of 82.11 and an MAPE of 1.51%, representing a 20% error reduction compared to baseline hybrid models and outperforming benchmark approaches reported in prior studies (R1). Achieving a 1.51% MAPE indicates reliability for financial forecasting, supporting risk-sensitive investment decision-making (A). Overall, this study demonstrates that evolutionary hyperparameter optimization enhances hybrid deep learning architectures.
Zitieren
APA
Lumangkun, M. G., Swari, M. H. P., & Sihananto, A. N. (2026). Hyperparameter Optimization of Hybrid LSTM-GRU using Genetic Algorithm for Stock Price Prediction. bit-Tech, 8(3), 3609-3619. https://doi.org/10.32877/bt.v8i3.3656
Vancouver
Lumangkun MG, Swari MHP, Sihananto AN. Hyperparameter Optimization of Hybrid LSTM-GRU using Genetic Algorithm for Stock Price Prediction. bit-Tech. 2026;8(3):3609-3619. doi:10.32877/bt.v8i3.3656
BibTeX
@article{Lumangkun2026,
author = {Lumangkun, Mordekhai Gerin and Swari, Made Hanindia Prami and Sihananto, Andreas Nugroho},
title = {Hyperparameter Optimization of Hybrid LSTM-GRU using Genetic Algorithm for Stock Price Prediction},
journal = {bit-Tech},
year = {2026},
volume = {8},
number = {3},
pages = {3609--3619},
doi = {10.32877/bt.v8i3.3656}
}
EUVIMED