Skip to content
Open access

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

Aug 2026 · INOVTEK Polbeng - Seri Informatika · Vol 11, pp. 782-793 · 0 citations · 22 references

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.

Read PDF

Similar papers

Conference Sep 2026

Comparative Evaluation of LSTM and BiLSTM for Google Stock Price Forecasting

Unidirectional Long Short-Term Memory (LSTM) and Bidirectional LSTM (BiLSTM) models are types of Recurrent Neural Networks (RNNs) capable of modelling long-range dependencies in financial time series, such as stock prices. However, the performance of LSTM and BiLSTM is highly sensitive to hyperparameter tuning, and the...

Nur Haizum Abd Rahman, H. S. Zulkafli · 0 citations
Open access Oct 2026

Evaluating ARIMA, LSTM, and simple benchmarks for short-term COVID-19 case forecasting

This study compares Autoregressive Integrated Moving Average (ARIMA) and Long Short-Term Memory (LSTM) models for short-term forecasting of new confirmed COVID-19 cases in the United States. Using national-level data derived from the Johns Hopkins University CSSE COVID-19 repository, we evaluate both models under multi...

Ethan Liu · 0 citations
#software testing Review Open access Sep 2026

Optimizing Deep Learning for U.S. Technology Stock Price Forecasting Through Data Preprocessing and Hyperparameter Tuning

The results show that structured preprocessing and tuning influenced performance, although the effects differed across architectures and stocks, and that structured preprocessing and tuning influenced performance, although the effects differed across architectures and stocks.

Fauzan Ghazi, S. Anuar, Saharudin Ismail et al. · 0 citations
Open access Sep 2026

Implementation Of LSTM, GRU, And BI-LSTM Algorithms For LQ45 Index Prediction

The Indonesian capital market, particularly the LQ45 Index and its leading sectoral stocks, exhibits high volatility and complex non-linear price patterns. This complexity renders conventional statistical methods insufficient for accurate forecasting and risk mitigation. This study aims to develop and compare three Dee...

Anggaza Galih, Binastya Anggara Sekti · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.