Comparing CNN and GRU for Gold Price Prediction Using Deep Learning

This research proposes a hybrid deep learning model that integrates Convolutional Neural Networks (CNNs) and Gated Recurrent Units (GRUs) to predict gold prices. The motivation stems from the volatile and complex nature of the gold market, heavily influenced by macroeconomic indicators such as the exchange rate (IDR/USD), Bank Indonesia (BI) interest rate, and inflation. In the hybrid architecture, the CNN serves as a feature extractor to identify nonlinear patterns in historical and economic data. At the same time, the GRU captures temporal dependencies, enabling the model to learn both short-term and long-term dynamics. The dataset comprises daily gold prices from January 2020 to August 2024, enriched with macroeconomic indicators to improve predictive relevance. Experimental results show rapid convergence of training and validation losses within 12 epochs. Model evaluation using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE) demonstrates high predictive accuracy, with a MAPE of 1.136%. A comparative analysis with standalone CNN and GRU models reveals that the hybrid CNN–GRU architecture consistently outperforms both in terms of accuracy and prediction stability. This study contributes to financial forecasting by providing a robust, data-driven predictive tool that can support timely investment decisions in volatile market conditions.

Authors

Institutions

Publication Details

Journal
Jurnal Sisfokom (Sistem Informasi dan Komputer)
Published
2025-10-15
DOI
https://doi.org/10.32736/sisfokom.v14i4.2406
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparing CNN and GRU for Gold Price Prediction Using Deep Learning

Hari Soetanto, Dwi Agung Yanumatrajaya, Ilham Fikri Dwi Asmarayani
Jurnal Sisfokom (Sistem Informasi dan Komputer)
Stock Market Forecasting Methods
article

Comparing CNN and GRU for Gold Price Prediction Using Deep Learning

Hari Soetanto, Dwi Agung Yanumatrajaya, Ilham Fikri Dwi Asmarayani
article en

Abstract

This research proposes a hybrid deep learning model that integrates Convolutional Neural Networks (CNNs) and Gated Recurrent Units (GRUs) to predict gold prices. The motivation stems from the volatile and complex nature of the gold market, heavily influenced by macroeconomic indicators such as the exchange rate (IDR/USD), Bank Indonesia (BI) interest rate, and inflation. In the hybrid architecture, the CNN serves as a feature extractor to identify nonlinear patterns in historical and economic data. At the same time, the GRU captures temporal dependencies, enabling the model to learn both short-term and long-term dynamics. The dataset comprises daily gold prices from January 2020 to August 2024, enriched with macroeconomic indicators to improve predictive relevance. Experimental results show rapid convergence of training and validation losses within 12 epochs. Model evaluation using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE) demonstrates high predictive accuracy, with a MAPE of 1.136%. A comparative analysis with standalone CNN and GRU models reveals that the hybrid CNN–GRU architecture consistently outperforms both in terms of accuracy and prediction stability. This study contributes to financial forecasting by providing a robust, data-driven predictive tool that can support timely investment decisions in volatile market conditions.

Jurnal Sisfokom (Sistem Informasi dan Komputer)Vol. 14(4)
Universitas Budi Luhur (ID)
Openalex Percentile: Top 64%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.