INOVTEK Polbeng - Seri Informatika
Vol. 11 No. 3 (2026): August

Comparison of Hyperparameter Optimization Methods for LSTM-Based XAU/USD Forecasting and Web-Based System Implementation

Irsad Nizarudin (Muria Kudus University)
Yudie Irawan (Muria Kudus University)
Anteng Widodo (Muria Kudus University)



Article Info

Publish Date
16 Aug 2026

Abstract

Unequal search budgets and single-seed experiments can confound comparisons of hyperparameter optimisation methods in financial forecasting. This study compares grid search, random search, and Bayesian optimisation for tuning a long short-term memory model to forecast the XAU/USD closing price for the next trading day. The dataset comprised 1,705 daily observations from January 2020 to July 2026 using open, high, low, close, and release-date-aligned United States inflation. Each method evaluated the same 32 configurations using three random seeds, resulting in 96 candidate-model evaluations per method. Performance was assessed on 37 independent testing dates and descriptively examined using a five-fold post-selection walk-forward diagnostic without repeating hyperparameter optimisation within each fold. All methods selected the same configuration and produced a mean testing MAPE of 2.785052% and an ensemble MAPE of 2.696161%. Grid Search reached the final-best configuration earlier, but naïve persistence achieved the lowest MAPE of 1.358325%. Thus, optimisation improved the LSTM relative to the predefined baseline but did not outperform persistence. The procedures were also implemented in a Streamlit application. The findings are limited to the examined dataset, search space, seeds, testing period, and computational environment.

Copyrights © 2026






Journal Info

Abbrev

ISI

Publisher

Subject

Computer Science & IT

Description

The Journal of Innovation and Technology (INOVTEK Polbeng—Seri Informatika) is a distinguished publication hosted by the State Polytechnic of Bengkalis. Dedicated to advancing the field of informatics, this scientific research journal serves as a vital platform for academics, researchers, and ...