{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T19:47:27Z","timestamp":1770234447825,"version":"3.49.0"},"reference-count":31,"publisher":"MDPI AG","issue":"12","license":[{"start":{"date-parts":[[2025,12,2]],"date-time":"2025-12-02T00:00:00Z","timestamp":1764633600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Algorithms"],"abstract":"<jats:p>We implement, optimize, and compare the performance of deep learning models in forecasting prices of crude oil markets, namely West Texas Intermediate (WTI) and Brent. We focus on deep learning models as these are state-of-the-art forecasting systems for complex and nonlinear time series. In this regard, we implement convolutional neural networks (CNNs), long short-term memory (LSTM), and gated recurrent units (GRUs). Classical recurrent neural networks (RNNs) are chosen as the baseline artificial neural networks. We contribute to the literature by examining the effect of fine-tuning of the parameters of the predictive systems by means of Bayesian optimization (BO) on their performance. Also, to check the robustness of the optimized models, they are trained and tested on daily, weekly, and monthly data. The assessment of forecasting performance is based on three different metrics including the root mean of squared errors (RMSE), mean absolute deviation (MAD), and mean absolute percentage error (MAPE). The simulation results show that the GRU-BO and RNN-BO are respectively the best systems to predict prices of BRENT and WTI. In addition, the simulation results show that BO enhances the accuracy of the predictive models. The results obtained would help oil producers, suppliers, traders, and investors to implement the appropriate prediction system for each market to improve accuracy and generate profits for each time horizon.<\/jats:p>","DOI":"10.3390\/a18120762","type":"journal-article","created":{"date-parts":[[2025,12,5]],"date-time":"2025-12-05T18:42:02Z","timestamp":1764960122000},"page":"762","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":3,"title":["Improving Deep Learning Models by Bayesian Optimization to Predict Crude Oil Prices"],"prefix":"10.3390","volume":"18","author":[{"given":"Shagun","family":"Kachwaha","sequence":"first","affiliation":[{"name":"Department of Supply Chain and Business Technology Management, Concordia University, Montreal, QC H3G 1M8, Canada"}]},{"given":"Salim","family":"Lahmiri","sequence":"additional","affiliation":[{"name":"Department of Supply Chain and Business Technology Management, Concordia University, Montreal, QC H3G 1M8, Canada"}]}],"member":"1968","published-online":{"date-parts":[[2025,12,2]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"81","DOI":"10.5547\/ISSN0195-6574-EJ-Vol27-No4-4","article-title":"Forecasting Nonlinear Crude Oil Futures Prices","volume":"27","author":"Moshiri","year":"2006","journal-title":"Energy J."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"149908","DOI":"10.1109\/ACCESS.2019.2946992","article-title":"Forecasting Crude Oil Price Using Kalman Filter Based on the Reconstruction of Modes of Decomposition Ensemble Model","volume":"7","author":"Gao","year":"2019","journal-title":"IEEE Access"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Wu, J., Chen, Y., Zhou, T., and Li, T. (2019). An Adaptive Hybrid Learning Paradigm Integrating CEEMD, ARIMA and SBL for Crude Oil Price Forecasting. Energies, 12.","DOI":"10.3390\/en12071239"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"104757","DOI":"10.1016\/j.eneco.2020.104757","article-title":"Forecasting crude oil and refined products volatilities and correlations: New evidence from fractionally integrated multivariate GARCH models","volume":"88","author":"Marchese","year":"2020","journal-title":"Energy Econ."},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"103342","DOI":"10.1016\/j.resourpol.2023.103342","article-title":"Forecasting oil, coal, and natural gas prices in the pre-and post-COVID scenarios: Contextual evidence from India using time series forecasting tools","volume":"81","author":"Alam","year":"2023","journal-title":"Resour. Policy"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"102737","DOI":"10.1016\/j.resourpol.2022.102737","article-title":"Multi-perspective crude oil price forecasting with a new decomposition-ensemble framework","volume":"77","author":"Guo","year":"2022","journal-title":"Resour. Policy"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"692","DOI":"10.1016\/j.asoc.2016.09.023","article-title":"LSSVR ensemble learning with uncertain parameters for crude oil price forecasting","volume":"56","author":"Yu","year":"2017","journal-title":"Appl. Soft Comput."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"120797","DOI":"10.1016\/j.energy.2021.120797","article-title":"Multi-step-ahead crude oil price forecasting based on two-layer decomposition technique and extreme learning machine optimized by the particle swarm optimization algorithm","volume":"229","author":"Zhang","year":"2021","journal-title":"Energy"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"104790","DOI":"10.1016\/j.eneco.2020.104790","article-title":"A multi-granularity heterogeneous combination approach to crude oil price forecasting","volume":"91","author":"Wang","year":"2020","journal-title":"Energy Econ."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Zhang, Y., and Lahmiri, S. (2025). A Deep Learning-Based Ensemble System for Brent and WTI Crude Oil Price Analysis and Prediction. Entropy, 27.","DOI":"10.3390\/e27111122"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"4602","DOI":"10.1109\/TII.2020.3016594","article-title":"A Learning System Integrating Temporal Convolution and Deep Learning for Predictive Modeling of Crude Oil Price","volume":"17","author":"Niu","year":"2021","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"107513","DOI":"10.1016\/j.compchemeng.2021.107513","article-title":"Crude oil price prediction: A comparison between AdaBoost-LSTM and AdaBoost-GRU for improving forecasting performance","volume":"155","author":"Busari","year":"2021","journal-title":"Comput. Chem. Eng."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"122964","DOI":"10.1016\/j.energy.2021.122964","article-title":"Crude oil time series prediction model based on LSTM network with chaotic Henry gas solubility optimization","volume":"242","author":"Karasu","year":"2022","journal-title":"Energy"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"104438","DOI":"10.1016\/j.resourpol.2023.104438","article-title":"Forecasting the Crude Oil prices for last four decades using deep learning approach","volume":"88","author":"Sen","year":"2024","journal-title":"Resour. Policy"},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"160","DOI":"10.1016\/j.energy.2018.12.016","article-title":"Crude oil price prediction model with long short term memory deep learning based on prior knowledge data transfer","volume":"169","author":"Cen","year":"2019","journal-title":"Energy"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Nagendra Kumar, Y.J., Preetham, P., Kiran Varma, P., Rohith, P., and Dilip Kumar, P. (2020, January 15\u201317). Crude Oil Price Prediction Using Deep Learning. Proceedings of the 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA), Coimbatore, India.","DOI":"10.1109\/ICIRCA48905.2020.9183258"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"104216","DOI":"10.1016\/j.resourpol.2023.104216","article-title":"A novel deep-learning technique for forecasting oil price volatility using historical prices of five precious metals in context of green financing\u2014A comparison of deep learning, machine learning, and statistical models","volume":"86","author":"Mohsin","year":"2023","journal-title":"Resour. Policy"},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"436","DOI":"10.1038\/nature14539","article-title":"Deep learning","volume":"521","author":"LeCun","year":"2015","journal-title":"Nature"},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","article-title":"Long short-term memory","volume":"9","author":"Hochreiter","year":"1997","journal-title":"Neural Comput."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Cho, K., van Merri\u00ebnboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. (2014). Learning phrase representations using RNN encoder-decoder for statistical machine translation. arXiv.","DOI":"10.3115\/v1\/D14-1179"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"179","DOI":"10.1207\/s15516709cog1402_1","article-title":"Finding structure in time","volume":"14","author":"Elman","year":"1990","journal-title":"Cogn. Sci."},{"key":"ref_22","unstructured":"Gelbart, M., Snoek, J., and Adams, R.P. (2014). Bayesian Optimization with Unknown Constraints. arXiv."},{"key":"ref_23","unstructured":"(2023, September 21). Available online: https:\/\/fred.stlouisfed.org\/."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Lahmiri, S. (2025). Wavelet Entropy for Efficiency Assessment of Price, Return, and Volatility of Brent and WTI During Extreme Events. Commodities, 4.","DOI":"10.3390\/commodities4020004"},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"100343","DOI":"10.1016\/j.nexus.2024.100343","article-title":"Price disorder and information content in energy and gold markets: The effect of the COVID-19 pandemic","volume":"16","author":"Lahmiri","year":"2024","journal-title":"Energy Nexus"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Lahmiri, S. (2025). Causality Between Brent and West Texas Intermediate: The Effects of COVID-19 Pandemic and Russia\u2013Ukraine War. Commodities, 4.","DOI":"10.3390\/commodities4010002"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"100344","DOI":"10.1016\/j.nexus.2024.100344","article-title":"The nexus between fossil energy markets and the effect of the COVID-19 pandemic on clustering structures","volume":"16","author":"Lahmiri","year":"2024","journal-title":"Energy Nexus"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Tang, Y., Gao, Z., Li, Y., Cai, Z., Yu, J., and Qin, P. (2025). Crude Oil and Hot-Rolled Coil Futures Price Prediction Based on Multi-Dimensional Fusion Feature Enhancement. Algorithms, 18.","DOI":"10.3390\/a18060357"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Ma, N., Wang, Z., Ba, Z., Li, X., Yang, N., Yang, X., and Zhang, H. (2023). Hierarchical Reinforcement Learning for Crude Oil Supply Chain Scheduling. Algorithms, 16.","DOI":"10.3390\/a16070354"},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"An, S. (2022). Dynamic Multiscale Information Spillover among Crude Oil Time Series. Entropy, 24.","DOI":"10.3390\/e24091248"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Fnu, N., and Bansal, A. (2024, January 14\u201315). Understanding the architecture of vision transformer and its variants: A review. Proceedings of the 1st International Conference on Innovative Engineering Sciences and Technological Research (ICIESTR) 2024, Muscat, Oman.","DOI":"10.1109\/ICIESTR60916.2024.10798341"}],"container-title":["Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-4893\/18\/12\/762\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,12,5]],"date-time":"2025-12-05T18:59:25Z","timestamp":1764961165000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-4893\/18\/12\/762"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,12,2]]},"references-count":31,"journal-issue":{"issue":"12","published-online":{"date-parts":[[2025,12]]}},"alternative-id":["a18120762"],"URL":"https:\/\/doi.org\/10.3390\/a18120762","relation":{},"ISSN":["1999-4893"],"issn-type":[{"value":"1999-4893","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,12,2]]}}}