Gold Price Prediction Based on ARIMA and LSTM Neural Network
Keywords:
Gold price forecasting, ARIMA, LSTM, Time series, financial modelingAbstract
This study compares the forecasting performance of the Autoregressive Integrated Moving Average (ARIMA) model and the Long Short-Term Memory (LSTM) neural network in predicting daily closing prices of gold. Using a dataset covering the period from January 1, 2023, to May 25, 2025, both models were implemented in Python and evaluated using standard error metrics: Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE).
The ARIMA model was constructed following differencing and optimal order selection based on the Akaike Information Criterion. The LSTM model employed a multi-layer architecture refined through experimental trials. Results indicate that the ARIMA model outperformed the LSTM network across all metrics, suggesting its greater suitability for modeling short-term gold price movements in this context.
References
Gao, M., Shi, G., & Li, S. (2018). Online prediction of ship behavior with automatic identification system sensor data using bidirectional long short-term memory recurrent neural network. Sensors, 18(12), 4211.
Gong, W. (2024). Research on gold price forecasting based on lstm and linear regression. SHS Web of Conferences,
Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural computation, 9(8), 1735-1780.
Madhika, Y. R., Kusrini, K., & Hidayat, T. (2023). Gold Price Prediction Using the ARIMA and LSTM Models. Sinkron: jurnal dan penelitian teknik informatika, 7(3), 1255-1264.
Mun, W. K., Sufahani, S. F., Kamil, A. A., & Nawawi, M. K. M. (2025). PREDICTION OF GOLD PRICES USING HYBRID MODEL ARIMA-LSTM. Advances and Applications in Statistics, 92(5), 749-766.
Ngah, S., Rohani , A. B., Embong, A., & Razali, S. Two-steps implementation of sigmoid function for artificial neural network in field programmable gate array. ARPN Journal of Engineering and Applied Sciences, 4882-4888.
Setyowibowo, S., As' ad, M., Sujito, S., & Farida, E. (2022). Forecasting of daily gold price using arima-garch hybrid model. Jurnal Ekonomi Pembangunan, 19(2), 257-270.
Siami-Namini, S., Tavakoli, N., & Namin, A. S. (2018). A comparison of ARIMA and LSTM in forecasting time series. 2018 17th IEEE international conference on machine learning and applications (ICMLA),
Siami-Namini, S., Tavakoli, N., & Namin, A. S. (2019). A comparative analysis of forecasting financial time series using arima, lstm, and bilstm. arXiv preprint arXiv:1911.09512.
Xiao, Y., & Yin, Y. (2019). Hybrid LSTM neural network for short-term traffic flow prediction. Information, 10(3), 105.