This paper explores effective methods for predicting gold prices, proposing three modeling strategies: a standalone Long Short-Term Memory (LSTM) network, a Convolutional Self-Attention (CSA) Network, and a combination model of both. Through empirical analysis, we systematically compare the performance of these three models in gold price forecasting, with a focus on evaluating their predictive accuracy. The experimental results indicate that the LSTM-Attention combination model significantly outperforms the standalone LSTM and Convolutional Self-Attention (CSA) Network in terms of prediction accuracy, demonstrating a more comprehensive ability to capture the dynamic features of price fluctuations. This model not only showcases the effective integration of LSTM and attention mechanisms in time series forecasting but also provides a practical tool for financial decision-making, offering valuable insights for investors in a volatile market environment.
Cite this paper
Wu, J. and Liu, J. (2026). Gold Price Prediction Based on LSTM-Attention Combined Model. Open Access Library Journal, 13, e14759. doi: http://dx.doi.org/10.4236/oalib.1114759.
Xu, J. (2017) Empirical Analysis of Gold Futures Prices Based on ARMA Model—523 Groups of Data from the New York Exchange from 2006 to 2016. Industrial Economic Forum, 4, 16-22.
Luo, H. (2014) Intelligent Hybrid Prediction Research of Financial Time Series Based on Gray-ARIMA. The Theory and Practice of Finance and Economics, 35, 27-34.
Liu, L., Lou, L., Liu, X., et al. (2021) Comparative Study on COMEX Gold Futures Price Prediction Based on LSTM. Journal of Changchun University of Science and Technology (Natural Science Edition), 44, 129-135.
Kim, H.Y. and Won, C.H. (2018) Forecasting the Volatility of Stock Price Index: A Hy-brid Model Integrating LSTM with Multiple GARCH-Type Models. Expert Systems with Applications, 103, 25-37. https://doi.org/10.1016/j.eswa.2018.03.002
Ouyang, H., Huang, K. and Yan, H. (2020) Financial Time Series Predic-tion Based on LSTM Neural Network. Chinese Journal of Management Science, 28, 27-35.
Yang, C. and Chen, G. (2023) International Gold Futures Price Prediction Based on EMD-LSTM. Journal of South-Central Minzu University (Natural Sci-ence Edition), 42, 857-864.
Li, S., Jin, X., Xuan, Y., et al. (2019) Enhanc-ing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecasting. Proceedings of the 33rd International Conference on Neural Information Processing Systems, Vancouver, 8-14 December 2019, 5243-5253.
Cai, L., Janowicz, K., Mai, G., Yan, B. and Zhu, R. (2020) Traffic Trans-former: Capturing the Continuity and Periodicity of Time Series for Traffic Forecasting. Transactions in GIS, 24, 736-755. https://doi.org/10.1111/tgis.12644
Li, C., Zhang, X., Qaosar, M., Ahmed, S., Alam, K.M.R. and Morimoto, Y. (2019) Multi-Factor Based Stock Price Prediction Using Hybrid Neural Networks with Attention Mechanism. 2019 IEEE Internation-al Conference on Dependable, Autonomic and Secure Computing, International Conference on Pervasive Intelligence and Computing, International Conference Cloud and Big Data Computing, International Conference on Cyber Science and Tech-nology Congress (DASC/PiCom/CBDCom/CyberSciTech), Fukuoka, 5-8 August 2019, 961-966. https://doi.org/10.1109/dasc/picom/cbdcom/cyberscitech.2019.00176
Wang, H., Shi, J. and Zhang, Z. (2018) Semantic Relation Extraction Based on LSTM with Atten-tion Mechanism. Application Research of Computers, 35, 1417-1420 1440.