Robustness Analysis of GRU with Grid Search in Retail Demand Forecasting under Heterogeneous Operational Conditions

Authors

DOI:

https://doi.org/10.30983/knowbase.v6i1.11657

Keywords:

Gated Recurrent Unit, Demand Forecasting Supply Chain Management, Demand Forecasting, Robustness Analysis, Grid Search

Abstract

Demand forecasting is an essential component of supply chain management for preventing inventory imbalances and revenue loss. Although deep learning models demonstrate strong forecasting capability, their operational robustness across heterogeneous retail conditions remains insufficiently evaluated. This study assesses the robustness of a Gated Recurrent Unit optimized using Grid Search (GRU-GS) through a close reproduction of a published weather-enhanced benchmark on the Rossmann Store Sales dataset (1,115 stores; 844,338 active records). Following an eight-step preprocessing pipeline and an 80:20 random split, GRU-GS was evaluated across seven operational subsets: promotion versus non-promotion, holiday versus regular days, and three weather conditions (rain, no recorded weather event, and fog). The replicated baseline reached a test MAE of 670.10, higher than the 369.79 of the reference study; because all subsets share one identical pipeline, cross-subset comparisons remain internally valid. Applying an explicit robustness criterion (MAPE < 15% and MAE degradation not exceeding +5% of baseline), five of the seven subsets were classified as Robust and two as Degraded — rain (ΔMAE = +43.83; +6.5%) and days with no recorded weather event (ΔMAE = +33.88; +5.1%) — with no subset classified as Failed. MAPE remained between 8.83% and 11.50% in every subset. The largest degradation occurred under rain, indicating that precipitation represents the principal weather-related challenge to absolute accuracy. Grid Search required 389.54 minutes for eight configurations. A single globally optimized configuration therefore preserves percentage-level stability but does not uniformly preserve absolute accuracy

References

[1] H. Hoeltgebaum, D. Borenstein, C. Fernandes, and Á. Veiga, “A score-driven model of short-term demand forecasting for retail distribution centers,” Journal of Retailing, vol. 97, no. 4, pp. 715–725, 2021, doi: 10.1016/j.jretai.2021.05.003.

[2] A. Belhadi, S. Kamble, S. Fosso Wamba, and M. M. Queiroz, “Building supply-chain resilience: an artificial intelligence-based technique and decision-making framework,” Int. J. Prod. Res., vol. 60, no. 14, pp. 4487–4507, 2022, doi: 10.1080/00207543.2021.1950935.

[3] N. U. H. Qureshi, S. Javed, K. Javed, S. Meesam Raza Naqvi, A. Raza, and Z. Saeed, “Demand Forecasting in Supply Chain Management for Rossmann Stores Using Weather Enhanced Deep Learning Model,” IEEE Access, vol. 12, pp. 145570–145581, 2024, doi: 10.1109/ACCESS.2024.3472499.

[4] R. Sharma, A. Shishodia, A. Gunasekaran, H. Min, and Z. H. Munim, “The role of artificial intelligence in supply chain management: mapping the territory,” Int. J. Prod. Res., vol. 60, no. 24, pp. 7527–7550, 2022, doi: 10.1080/00207543.2022.2029611.

[5] S. A. R. Khan, Z. Yu, H. Golpira, A. Sharif, and A. Mardani, “A state-of-the-art review and meta-analysis on sustainable supply chain management: Future research directions,” J. Clean. Prod., vol. 278, p. 123357, 2021, doi: 10.1016/j.jclepro.2020.123357.

[6] L. Terrada, M. El Khaili, and H. Ouajji, “Demand Forecasting Model using Deep Learning Methods for Supply Chain Management 4.0,” International Journal of Advanced Computer Science and Applications, vol. 13, no. 5, pp. 704–711, 2022, doi: 10.14569/IJACSA.2022.0130581.

[7] J. Mageto, “Big data analytics in sustainable supply chain management: A focus on manufacturing supply chains,” Sustainability (Switzerland), vol. 13, no. 13, 2021, doi: 10.3390/su13137101.

[8] R. Liu and V. Vakharia, “Optimizing Supply Chain Management Through BO-CNN-LSTM for Demand Forecasting and Inventory Management,” Journal of Organizational and End User Computing, vol. 36, no. 1, pp. 1–25, 2024, doi: 10.4018/JOEUC.335591.

[9] S. Bunian, M. A. Al-Ebrahim, and A. A. Nour, “Role and Applications of Artificial Intelligence and Machine Learning in Manufacturing Engineering: A Review,” Engineered Science, vol. 29, Jun. 2024, doi: 10.30919/es1088.

[10] I. Amellal, A. Amellal, H. Seghiouer, and M. Rida Ech-Charrat, “An integrated approach for modern supply chain management: Utilizing advanced machine learning models for sentiment analysis, demand forecasting, and probabilistic price prediction,” Decision Science Letters, vol. 13, pp. 237–248, 2024, doi: 10.5267/dsl.2023.9.003.

[11] J. N. C. Gonçalves, P. Cortez, M. S. Carvalho, and N. M. Frazão, “A multivariate approach for multi-step demand forecasting in assembly industries: Empirical evidence from an automotive supply chain,” Decis. Support Syst., vol. 142, Mar. 2021, doi: 10.1016/j.dss.2020.113452.

[12] K. Douaioui, R. Oucheikh, O. Benmoussa, and C. Mabrouki, “Machine Learning and Deep Learning Models for Demand Forecasting in Supply Chain Management: A Critical Review,” Oct. 01, 2024, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/asi7050093.

[13] R. J. Hyndman and G. Athanasopoulos, “Forecasting: Principles and Practice,” Apr. 2018.

[14] D. Mircetic, B. Rostami-Tabar, S. Nikolicic, and M. Maslaric, “Forecasting hierarchical time series in supply chains: an empirical investigation,” Int. J. Prod. Res., vol. 60, no. 8, pp. 2514–2533, 2022, doi: 10.1080/00207543.2021.1896817.

[15] A. Deiva Ganesh and P. Kalpana, “Future of artificial intelligence and its influence on supply chain risk management – A systematic review,” Comput. Ind. Eng., vol. 169, Jul. 2022, doi: 10.1016/j.cie.2022.108206.

[16] X. Zhu, A. Ninh, H. Zhao, and Z. Liu, “Demand Forecasting with Supply-Chain Information and Machine Learning: Evidence in the Pharmaceutical Industry,” Prod. Oper. Manag., vol. 30, no. 9, pp. 3231–3252, Sep. 2021, doi: 10.1111/poms.13426.

[17] I. Goodfellow, Y. Bengio, and A. Courville, “Deep Learning,” 2016.

[18] S. Hochreiter and J. Schmidhuber, “Long Short-Term Memory,” 1997. doi: 10.1162/neco.1997.9.8.1735.

[19] K. Cho, B. van Merrienboer, D. Bahdanau, and Y. Bengio, “On the Properties of Neural Machine Translation: Encoder-Decoder Approaches,” Oct. 2014, [Online]. Available: http://arxiv.org/abs/1409.1259

[20] I. Amalou, N. Mouhni, and A. Abdali, “Multivariate time series prediction by RNN architectures for energy consumption forecasting,” Energy Reports, vol. 8, pp. 1084–1091, Nov. 2022, doi: 10.1016/j.egyr.2022.07.139.

[21] A. Yunita et al., “Performance analysis of neural network architectures for time series forecasting: A comparative study of RNN, LSTM, GRU, and hybrid models,” Dec. 01, 2025, Elsevier B.V. doi: 10.1016/j.mex.2025.103462.

[22] A. M. Guruvaya, A. Kollu, P. B. Divakarachari, P. Falkowski-Gilski, and H. D. Praveena, “Bi-GRU-APSO: Bi-Directional Gated Recurrent Unit with Adaptive Particle Swarm Optimization Algorithm for Sales Forecasting in Multi-Channel Retail,” Telecom, vol. 5, no. 3, pp. 537–555, Sep. 2024, doi: 10.3390/telecom5030028.

[23] Y. A. Ali, E. M. Awwad, M. Al-Razgan, and A. Maarouf, “Hyperparameter Search for Machine Learning Algorithms for Optimizing the Computational Complexity,” Processes, vol. 11, no. 2, Feb. 2023, doi: 10.3390/pr11020349.

[24] J. Bergstra and Y. Bengio, “Random Search for Hyper-Parameter Optimization,” 2012. [Online]. Available: http://scikit-learn.sourceforge.net.

[25] E. Elgeldawi, A. Sayed, A. R. Galal, and A. M. Zaki, “Hyperparameter tuning for machine learning algorithms used for arabic sentiment analysis,” Informatics, vol. 8, no. 4, Dec. 2021, doi: 10.3390/informatics8040079.

[26] M. Oszczypała, J. Konwerski, J. Ziółkowski, and J. Małachowski, “A genetic algorithm and particle swarm optimization for redundancy allocation problem in systems with limited number of non-cooperating repairmen,” Expert Syst. Appl., vol. 256, Dec. 2024, doi: 10.1016/j.eswa.2024.124841.

[27] J. Divasón, A. Pernia-Espinoza, and F. J. Martinez-de-Pison, “HYB-PARSIMONY: A hybrid approach combining Particle Swarm Optimization and Genetic Algorithms to find parsimonious models in high-dimensional datasets,” Neurocomputing, vol. 560, Dec. 2023, doi: 10.1016/j.neucom.2023.126840.

[28] J. Noh, H. J. Park, J. S. Kim, and S. J. Hwang, “Gated recurrent unit with genetic algorithm for product demand forecasting in supply chain management,” Mathematics, vol. 8, no. 4, Apr. 2020, doi: 10.3390/math8040565.

[29] D. Wu, Q. Guan, Z. Fan, H. Deng, and T. Wu, “AutoML with Parallel Genetic Algorithm for Fast Hyperparameters Optimization in Efficient IoT Time Series Prediction,” IEEE Trans. Industr. Inform., vol. 19, no. 9, pp. 9555–9564, Sep. 2023, doi: 10.1109/TII.2022.3231419.

[30] G. Papazoglou and P. Biskas, “Review and Comparison of Genetic Algorithm and Particle Swarm Optimization in the Optimal Power Flow Problem,” Feb. 01, 2023, MDPI. doi: 10.3390/en16031152.

[31] D. S. Deighan, S. E. Field, C. D. Capano, and G. Khanna, “Genetic-algorithm-optimized neural networks for gravitational wave classification,” Neural Comput. Appl., vol. 33, no. 20, pp. 13859–13883, Oct. 2021, doi: 10.1007/s00521-021-06024-4.

[32] T. Akiba, S. Sano, T. Yanase, T. Ohta, and M. Koyama, “Optuna: A Next-generation Hyperparameter Optimization Framework,” Jul. 2019, [Online]. Available: http://arxiv.org/abs/1907.10902

[33] J. Pineau et al., “Improving Reproducibility in Machine Learning Research (A Report from the NeurIPS 2019 Reproducibility Program),” Dec. 2020, [Online]. Available: http://arxiv.org/abs/2003.12206

Downloads

Published

2026-06-30

How to Cite

Devega, M. ., kusrini, K., Utami, E., & Yuana, K. A. (2026). Robustness Analysis of GRU with Grid Search in Retail Demand Forecasting under Heterogeneous Operational Conditions. Knowbase : International Journal of Knowledge in Database, 6(1), 65–79. https://doi.org/10.30983/knowbase.v6i1.11657

Issue

Section

Articles

Citation Check