Forecast-Oriented Factor–Lag Optimization for Short-Term Gold Price Forecasting

Hai Nguyen Minh, Minh Hai Nguyen, Ngọc-Giang Nguyen

Abstract


Accurate short-term gold price forecasting remains challenging because financial markets exhibit high dimensionality, nonlinear relationships, and temporal dependence. This study proposes a forecast-oriented framework that integrates kernel-based nonlinear dimensionality reduction with autoregressive distributed lag modeling to jointly optimize factor representation and temporal lag structure. Candidate factor–lag configurations are evaluated according to validation forecasting performance, and the best-performing representation is subsequently used as a common input for Random Forest, Extreme Gradient Boosting, Multi-Layer Perceptron, Long Short-Term Memory, and Gated Recurrent Unit models. The results show that the Gated Recurrent Unit model achieves the lowest forecasting errors, with a root mean squared error of 10.6064, a mean absolute error of 8.8690, and a mean absolute percentage error of 0.4305%. Rolling-window validation further supports the temporal robustness of the selected model. Shapley-value-based interpretation indicates that historical gold-price lags remain the dominant predictors, while kernel-derived factors provide complementary nonlinear information. Overall, the proposed framework extends nonlinear dimensionality reduction toward forecast-oriented factor–lag optimization for compact and interpretable short-term forecasting with high-dimensional financial data.


Keywords


Gold price forecasting; KTPCA; PCA kernel-derived factors; ARDL; GRU; SHAP; financial time series

Full Text:

PDF

References


I. Maryati, “Gold Prices Time-Series Forecasting: Comparison of Statistical Techniques,” Journal of Applied Data Sciences, vol. 4, no. 4, pp. 372–381, Dec. 2023, doi: 10.47738/jads.v4i4.135.

S. Das, J. Nayak, B. K. Rao, K. Vakula, and A. R. Routray, "Gold price forecasting using machine learning techniques: Review of a decade," in Computational Intelligence in Pattern Recognition (CIPR 2021), Singapore: Springer, 2022, pp. 679–695.

C. Zhang, N. N. A. Sjarif, and R. Ibrahim, "Deep learning models for price forecasting of financial time series: A review of recent advancements (2020–2022)," Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, vol. 14, no. 1, Art. no. e1519, 2024.

A. Saini, R. K. Singh, and P. Sinha, "Forecasting gold price using hybrid deep neural network LSTM-autoencoder," Discover Artificial Intelligence, vol. 5, no. 1, Art. no. 281, 2025, doi: 10.1007/s44163-025-00464-w.

B. Schölkopf, A. Smola, and K.-R. Müller, "Kernel principal component analysis," in Proc. International Conference on Artificial Neural Networks (ICANN), 1997, pp. 583–588.

H. Zou, T. Hastie, and R. Tibshirani, "Sparse principal component analysis," Journal of Computational and Graphical Statistics, vol. 15, no. 2, pp. 265–286, 2006.

M. Greenacre, P. J. F. Groenen, T. Hastie, et al., "Principal component analysis," Nature Reviews Methods Primers, vol. 2, Art. no. 100, 2022.

D. V. Thanh and N. M. Hai, "Kernel-based dimension reduction method for time series nowcasting," IEEE Access, 2024.

U. Hounyo and Z. Li, "Forecasting economic time series in the presence of weak factors: Multiple supervised learning-based approach," International Journal of Forecasting, vol. 42, no. 2, pp. 414–433, 2026, doi: 10.1016/j.ijforecast.2025.07.005.

L. Breiman, "Random forests," Machine Learning, vol. 45, no. 1, pp. 5–32, 2001.

B. Schölkopf and A. J. Smola, "A short introduction to learning with kernels," in Advanced Lectures on Machine Learning. Berlin, Germany: Springer, 2003, pp. 41–64.

K. Cho, B. van Merriënboer, C. Gulcehre, D. Bahdanau, F. Bougares, H. Schwenk, and Y. Bengio, "Learning phrase representations using RNN encoder–decoder for statistical machine translation," arXiv preprint arXiv:1406.1078, 2014.

S. Hochreiter and J. Schmidhuber, "Long short-term memory," Neural Computation, vol. 9, no. 8, pp. 1735–1780, 1997.

S. M. Lundberg and S.-I. Lee, "A unified approach to interpreting model predictions," in Advances in Neural Information Processing Systems (NeurIPS), vol. 30, 2017.

B. Goswami and A. Uddin, "Significance of predictors: Revisiting stock return predictions using explainable AI," Annals of Operations Research, early access, 2025, doi: 10.1007/s10479-025-06717-2.

G. Koop and R. Quinlivan, Analysis of Economic Data, 2nd ed. Chichester, U.K.: Wiley, 2000.




DOI: https://doi.org/10.47738/jads.v7i4.1541

Refbacks

  • There are currently no refbacks.



Barcode

Journal of Applied Data Sciences

ISSN:2723-6471 (Online)
Publisher:Bright Publisher
Website:http://bright-journal.org/JADS
Email:taqwa@amikompurwokerto.ac.id (principal contact)
  support@bright-journal.org (technical issues)

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0