A Transformer-Based Framework for Precious Metal Price Prediction With Explicit Cross-Metal Dependency Modeling
DOI:
https://doi.org/10.62051/27n4y403Keywords:
Precious metal price forecasting, Transformer, cross-metal dependency, multi-head attention, time series, Informer, financial market prediction.Abstract
Precious metals serve as critical investment assets and industrial commodities in global financial markets. Accurate price forecasting is challenged by their strong nonlinearity, long-range temporal dependencies, and complex inter-metal linkages. Traditional econometric models and existing deep learning approaches often overlook explicit cross-metal interactions, leading to suboptimal multi-metal prediction performance. This paper proposes an improved Transformer architecture for multi-precious metal price forecasting, which jointly models individual temporal dynamics and cross-metal correlations in a unified framework. The method integrates metal-specific embedding, hybrid multi-head attention for temporal and cross-metal modeling, a cross-attention mechanism for leader–follower relationship capture, and an Informer-based sparse attention for long-sequence efficiency. A hybrid loss function combining Huber regression and inter-metal correlation constraints is designed to preserve realistic market co-movements. Experiments on daily futures data of eight precious metals from 2005 to 2025 show that the proposed method outperforms baseline models including linear regression, gradient boosting, SVR, LSTM, GRU, and CNN across multiple prediction horizons. The results validate that explicit cross-metal dependency modeling significantly enhances forecasting accuracy in interconnected precious metal markets.
Downloads
References
[1] G. Cohen, “Algorithmic strategies for precious metals price forecasting,” Mathematics, vol. 10, no. 7, p. 1134, 2022.
[2] C. Pierdzioch and M. Risse, “Forecasting precious metal returns with multivariate random forests,” Empirical Economics, vol. 58, pp. 1167–1184, 2020.
[3] P. Foroutan and S. Lahmiri, “Deep learning systems for forecasting the prices of crude oil and precious metals,” Financial Innovation, vol. 10, p. 111, 2024.
[4] P. Sadorsky, “Predicting gold and silver price direction using tree-based classifiers,” J. Risk Financial Manag., vol. 14, no. 5, p. 198, 2021.
[5] D. N. Gono, H. Napitupulu, and Firdaniza, “Silver price forecasting using extreme gradient boosting (XGBoost) method,” Mathematics, vol. 11, no. 18, p. 3813, 2023.
[6] S. B. Jabeur, S. Mefteh-Wali, and J.-L. Viviani, “Forecasting gold price with the XGBoost algorithm and SHAP interaction values,” Ann. Oper. Res., vol. 334, pp. 679–699, 2024.
[7] A. Amini and R. Kalantari, “Gold price prediction by a CNN-Bi-LSTM model along with automatic parameter tuning,” PLOS ONE, vol. 19, no. 3, p. e0298426, 2024.
[8] Y. Yang, “TCN-QV: An attention-based deep learning method for long sequence time-series forecasting of gold prices,” PLOS ONE, vol. 20, no. 5, p. e0319776, 2025.
[9] A. A. Salisu, R. Gupta, E. Bouri, and Q. Ji, “The role of global economic conditions in forecasting gold market volatility: Evidence from a GARCH-MIDAS approach,” Res. Int. Bus. Finance, vol. 54, p. 101308, 2021.
[10] W. Mensi, A. Aslan, X. V. Vo, and S. H. Kang, “Time-frequency spillovers and connectedness between precious metals, oil futures and financial markets: Hedge and safe haven implications,” Int. Rev. Econ. Finance, vol. 83, pp. 219–232, 2023.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Transactions on Computer Science and Intelligent Systems Research

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.








