Research Article

Improved Gold Price Prediction Based on the LSTM-ARIMA Hybrid Model

Yucheng Ye*
Aberdeen Institute of Data Science and Artificial Intelligence, South China Normal University, Foshan, P.R. China

* Corresponding author: [email protected]

Abstract

Gold price forecasting is a crucial task in financial markets due to gold's unique attributes as a commodity, precious metal, and currency. Traditional time series models such as ARIMA are effective in capturing linear trends and seasonal components but struggle with nonlinear dependencies present in gold price data. In contrast, deep learning models, especially Long Short-Term Memory (LSTM) networks, excel at modeling complex nonlinear relationships and long-term dependencies. However, standalone LSTM models may overlook certain linear patterns. This paper proposes a novel hybrid forecasting approach that integrates LSTM and ARIMA models to leverage the strengths of both methodologies. The LSTM model first learns nonlinear features from historical gold price data, and the ARIMA model further models the residuals to capture remaining linear trends. Empirical analysis is conducted using daily gold price data from August 19, 2013, to November 22, 2024. Experimental results demonstrate that the hybrid LSTM-ARIMA model significantly outperforms the standalone LSTM model across all major evaluation metrics, with remarkable reductions in forecasting errors and improvements in accuracy and robustness. The proposed hybrid model offers a more reliable and precise tool for gold price prediction, providing valuable quantitative support for investors and policymakers in the gold market.

Keywords: Artificial Intelligence; Deep Learning; Gold Price Forecasting; LSTM-ARIMA Hybrid Model; Time Series Analysis.
Published: July 4, 2025
DOI: 10.54254/2755-2721/2025.LD24518
Volume: ACE Vol.165
pp. 57-66
Download PDF

References

  1. Sharma, Dipasha. (2016). Nexus between financial inclusion and economic growth: Evidence from the emerging Indian economy. Journal of Financial Economic Policy. 8. 10.1108/JFEP-01-2015-0004.
  2. Baur, D.G. and Lucey, B.M. (2010), Is Gold a Hedge or a Safe Haven? An Analysis of Stocks, Bonds and Gold. Financial Review, 45: 217-229. https: //doi.org/10.1111/j.1540-6288.2010.00244.x
  3. Bams, Dennis and Blanchard, Gildas and Honarvar, Iman and Lehnert, Thorsten, Does Oil and Gold Price Uncertainty Matter for the Stock Market? (July 5, 2017). Journal of Empirical Finance, Vol. 44, 2017, Available at SSRN: https: //ssrn.com/abstract=2692987 or http: //dx.doi.org/10.2139/ssrn.2692987.
  4. Shafiee, S., & Topal, E. (2010). An overview of global gold market and gold price forecasting. Resources Policy, 35, 178-189.
  5. Saumendra, Das & Nayak, Janmenjoy & Rao, B. & Kanithi, Vakula & Routray, Ashanta. (2022). Gold Price Forecasting Using Machine Learning Techniques: Review of a Decade. 10.1007/978-981-16-2543-5_58.
  6. Sadorsky, Perry. (2021). Predicting Gold and Silver Price Direction Using Tree-Based Classifiers. Journal of Risk and Financial Management. 14. 198. 10.3390/jrfm14050198.
  7. Tunnicliffe Wilson, Granville. (2016). Time Series Analysis: Forecasting and Control, 5th Edition, by George E. P. Box, Gwilym M. Jenkins, Gregory C. Reinsel and Greta M. Ljung, 2015. Published by John Wiley and Sons Inc., Hoboken, New Jersey, pp. 712. ISBN: 978-1-118-67502-1. Journal of Time Series Analysis. 37. n/a-n/a. 10.1111/jtsa.12194.
  8. Zhang, Peter. (2003). Zhang, G.P.: Time Series Forecasting Using a Hybrid ARIMA and Neural Network Model. Neurocomputing 50, 159-175. Neurocomputing. 50. 159-175. 10.1016/S0925-2312(01)00702-0.
  9. D. M. Q. Nelson, A. C. M. Pereira and R. A. de Oliveira, "Stock market's price movement prediction with LSTM neural networks, " 2017 International Joint Conference on Neural Networks (IJCNN), Anchorage, AK, USA, 2017, pp. 1419-1426, doi: 10.1109/IJCNN.2017.7966019.
  10. Maknickas A, Maknickiene N. Support System for Trading in Exchange Market by Distributional Forecasting Model. Informatica. 2019; 30(1): 73-90. doi: 10.3233/INF-2019-1201.
  11. S. Siami-Namini, N. Tavakoli and A. Siami Namin, "A Comparison of ARIMA and LSTM in Forecasting Time Series, " 2018 17th IEEE International Conference on Machine Learning and Applications (ICMLA), Orlando, FL, USA,2018, pp. 1394-1401, doi: 10.1109/ICMLA.2018.00227.
  12. Zhang, Peter & Qi, Min. (2005). Neural network forecasting for seasonal and trend time series. European Journal of Operational Research. 160. 501-514. 10.1016/j.ejor.2003.08.037.
  13. Achkar, R., Elias-Sleiman, F., Ezzidine, H., & Haidar, N. (2018). Comparison of BPA-MLP and LSTM-RNN for Stocks Prediction. 2018 6th International Symposium on Computational and Business Intelligence (ISCBI), 48-51.
  14. Gers FA, Schmidhuber J, Cummins F. Learning to forget: continual prediction with LSTM. Neural Comput. 2000 Oct; 12(10): 2451-71. doi: 10.1162/089976600300015015. PMID: 11032042.
  15. Hyndman, R. J., & Khandakar, Y. (2008). Automatic Time Series Forecasting: The forecast Package for R. Journal of Statistical Software, 27(3), 1–22. https: //doi.org/10.18637/jss.v027.i03.
  16. Lai, G., Chang, W., Yang, Y., & Liu, H. (2017). Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networks. The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval.