Role of Artificial Intelligence (AI)-Driven Demand Forecasting: A Machine Learning Approach for Supply Chain Resilience


Authors : Prateek Bansal

Volume/Issue : Volume 10 - 2025, Issue 4 - April


Google Scholar : https://tinyurl.com/duym563r

Scribd : https://tinyurl.com/4umxty4y

DOI : https://doi.org/10.38124/ijisrt/25apr2260

Note : A published paper may take 4-5 working days from the publication date to appear in PlumX Metrics, Semantic Scholar, and ResearchGate.


Abstract : Reducing financial risks, improving inventory management, and strengthening supply chain resilience all depend on accurate demand forecasts. Traditional forecasting methods often struggle with unpredictable market fluctuations, seasonal variations, and external disruptions, leading to inefficiencies such as stockouts and overstocking. This study leverages artificial intelligence (AI) and machine learning techniques to improve sales prediction accuracy using real-world Walmart sales data. This study utilizes ML techniques to predict sales accurately, comparing XGBoost, LightGBM, Random Forest, and K-Nearest Neighbors (KNN). A methodology involves data preprocessing, including data cleaning, one-hot encoding, and normalization, followed by feature selection and dataset splitting. XGBoost and LightGBM models outperform traditional methods, achieving high R2 values of 0.9752 and 0.9732, respectively, with low MSE, RMSE, and MAE, indicating strong predictive capabilities. Comparative analysis reveals that Random Forest (R2 = 0.9569) and KNN (R2 = 0.9381) exhibit lower accuracy. The actual vs. predicted sales plots for XGBoost and LightGBM demonstrate close alignment, while residual plots confirm minimal bias. Overall, the findings highlight the superiority of gradient boosting techniques in demand forecasting, offering valuable insights for effective sales prediction and inventory planning in the retail sector.

Keywords : Demand Forecasting, Machine Learning, Supply Chain Resilience, Walmart Sales Data, AI-Driven Decision Making.

References :

M. Abolghasemi, E. Beh, G. Tarr, and R. Gerlach, “Demand forecasting in supply chain: The impact of demand volatility in the presence of promotion,” Comput. Ind. Eng., 2020, doi: 10.1016/j.cie.2020.106380.

[2].       M. Seyedan and F. Mafakheri, “Predictive big data analytics for supply chain demand forecasting: methods, applications, and research opportunities,” J. Big Data, 2020, doi: 10.1186/s40537-020-00329-2.

[3].       K. Murugandi and R. Seetharaman, “Analysing the Role of Inventory and Warehouse Management in Supply Chain Agility : Insights from Retail and Manufacturing Industries,” Int. J. Curr. Eng. Technol., vol. 12, no. 6, pp. 583–590, 2022.

[4].       H. S. Chandu, “Enhancing Manufacturing Efficiency: Predictive Maintenance Models Utilizing IoT Sensor Data,” IJSART, vol. 10, no. 9, 2024.

[5].       M. A. Khan et al., “Effective Demand Forecasting Model Using Business Intelligence Empowered with Machine Learning,” IEEE Access, 2020, doi: 10.1109/ACCESS.2020.3003790.

[6].       Suhag Pandya, “Innovative blockchain solutions for enhanced security and verifiability of academic credentials,” Int. J. Sci. Res. Arch., vol. 6, no. 1, pp. 347–357, Jun. 2022, doi: 10.30574/ijsra.2022.6.1.0225.

[7].       S. Chatterjee, “Mitigating Supply Chain Malware Risks in Operational Technology : Challenges and Solutions for the Oil and Gas Industry,” J. Adv. Dev. Res., vol. 12, no. 2, pp. 1–12, 2021.

[8].       F. Z. Benhamida, O. Kaddouri, T. Ouhrouche, M. Benaichouche, D. Casado-Mansilla, and D. López-De-Ipiña, “Demand forecasting tool for inventory control smart systems,” J. Commun. Softw. Syst., 2021, doi: 10.24138/jcomss-2021-0068.

[9].       K. M. R. Seetharaman, “End-to-End SAP Implementation in Global Supply Chains: Bridging Functional and Technical Aspects of EDI Integration,” Int. J. Res. Anal. Rev., vol. 8, no. 2, pp. 1–7, 2021.

[10].    S. Murri, “Optimising Data Modeling Approaches for Scalable Data Warehousing Systems,” Int. J. Sci. Res. Sci. Eng. Technol., vol. 10, no. 5, pp. 369–382, Oct. 2023, doi: 10.32628/IJSRSET2358716.

[11].    E. Hofmann and E. Rutschmann, “Big data analytics and demand forecasting in supply chains: a conceptual analysis,” Int. J. Logist. Manag., vol. 29, no. 2, pp. 739–766, 2018.

[12].    S. Tyagi, “Analyzing Machine Learning Models for Credit Scoring with Explainable AI and Optimizing Investment Decisions,” Am. Int. J. Bus. Manag., vol. 5, no. 01, pp. 5–19, 2022.

[13].    S. Tyagi, T. Jindal, S. H. Krishna, S. M. Hassen, S. K. Shukla, and C. Kaur, “Comparative Analysis of Artificial Intelligence and its Powered Technologies Applications in the Finance Sector,” in Proceedings of 5th International Conference on Contemporary Computing and Informatics, IC3I 2022, 2022. doi: 10.1109/IC3I56241.2022.10073077.

[14].    S. Arora and S. R. Thota, “Using Artificial Intelligence with Big Data Analytics for Targeted Marketing Campaigns,” Int. J. Adv. Res. Sci. Commun. Technol., vol. 4, no. 3, pp. 593–602, Jun. 2024, doi: 10.48175/IJARSCT-18967.

[15].    Olamide Raimat Amosu, Praveen Kumar, Yewande Mariam Ogunsuji, Segun Oni, and Oladapo Faworaja, “AI-driven demand forecasting: Enhancing inventory management and customer satisfaction,” World J. Adv. Res. Rev., vol. 23, no. 2, pp. 708–719, 2024, doi: 10.30574/wjarr.2024.23.2.2394.

[16].    J. Feizabadi, “Machine learning demand forecasting and supply chain performance,” Int. J. Logist. Res. Appl., 2022, doi: 10.1080/13675567.2020.1803246.

[17].    N. Areerakulkan, C. Moryadee, L. Trakoonsanti, M. Khaengkhan, and N. Setthachotsombut, “A New Product’s Demand Forecasting Using Artificial Neural Network,” Int. Conf. Enterp. Inf. Syst. ICEIS - Proc., vol. 1, no. Iceis, pp. 417–424, 2024, doi: 10.5220/0012734800003690.

[18].    D. Lei et al., “Pooling and boosting for demand prediction in retail: A transfer learning approach,” Manuf. \& Serv. Oper. Manag., 2024.

[19].    L. P. E. Yani and A. Aamer, “Demand forecasting accuracy in the pharmaceutical supply chain: a machine learning approach,” Int. J. Pharm. Healthc. Mark., vol. 17, no. 1, pp. 1–23, 2023.

[20].    N. Shibu and R. Agarwal, “Analysing and Visualising trends for Supply Chain Demand Forecasting,” in Proceedings of International Conference on Computational Intelligence and Sustainable Engineering Solution, CISES 2023, 2023. doi: 10.1109/CISES58720.2023.10183439.

[21].    X. Ma, M. Li, J. Tong, and X. Feng, “Deep Learning Combinatorial Models for Intelligent Supply Chain Demand Forecasting,” Biomimetics, vol. 8, no. 3, 2023, doi: 10.3390/biomimetics8030312.

[22].    S. Taghiyeh, D. C. Lengacher, A. H. Sadeghi, A. Sahebi-Fakhrabad, and R. B. Handfield, “A novel multi-phase hierarchical forecasting approach with machine learning in supply chain management,” Supply Chain Anal., 2023, doi: 10.1016/j.sca.2023.100032.

[23].    B. Boddu, “Scaling Data Processing with Amazon Redshift Dba Best Practices for Heavy Loads,” Int. J. Core Eng. Manag., vol. 7, no. 7, 2023.

[24].    A. Alabrah, “An Improved CCF Detector to Handle the Problem of Class Imbalance with Outlier Normalization Using IQR Method,” Sensors, vol. 23, no. 9, 2023, doi: 10.3390/s23094406.

[25].    K. M. Alalayah, E. M. Senan, H. F. Atlam, I. A. Ahmed, and H. S. A. Shatnawi, “Automatic and Early Detection of Parkinson’s Disease by Analyzing Acoustic Signals Using Classification Algorithms Based on Recursive Feature Elimination Method,” Diagnostics, 2023, doi: 10.3390/diagnostics13111924.

[26].    A. Băicoianu, C. G. Gavrilă, C. M. Păcurar, and V. D. Păcurar, “Fractal interpolation in the context of prediction accuracy optimization,” Eng. Appl. Artif. Intell., vol. 133, p. 108380, 2024, doi: https://doi.org/10.1016/j.engappai.2024.108380.

[27].    A. Massaro, A. Panarese, D. Giannone, and A. Galiano, “Augmented Data and XGBoost Improvement for Sales Forecasting in the Large-Scale Retail Sector,” Appl. Sci., vol. 11, no. 17, 2021, doi: 10.3390/app11177793.

[28].    C. Yu, “Walmart Sales Forecasting using Different Models,” Highlights Sci. Eng. Technol., vol. 92, pp. 302–307, 2024, doi: 10.54097/kqf76062.

[29].    A. Tayyab, “Walmart Sales Prediction By Using Machine Learning Algorithms,” J. Innov. Comput. Emerg. Technol., vol. 4, 2024, doi: 10.56536/jicet.v4i2.132.

Reducing financial risks, improving inventory management, and strengthening supply chain resilience all depend on accurate demand forecasts. Traditional forecasting methods often struggle with unpredictable market fluctuations, seasonal variations, and external disruptions, leading to inefficiencies such as stockouts and overstocking. This study leverages artificial intelligence (AI) and machine learning techniques to improve sales prediction accuracy using real-world Walmart sales data. This study utilizes ML techniques to predict sales accurately, comparing XGBoost, LightGBM, Random Forest, and K-Nearest Neighbors (KNN). A methodology involves data preprocessing, including data cleaning, one-hot encoding, and normalization, followed by feature selection and dataset splitting. XGBoost and LightGBM models outperform traditional methods, achieving high R2 values of 0.9752 and 0.9732, respectively, with low MSE, RMSE, and MAE, indicating strong predictive capabilities. Comparative analysis reveals that Random Forest (R2 = 0.9569) and KNN (R2 = 0.9381) exhibit lower accuracy. The actual vs. predicted sales plots for XGBoost and LightGBM demonstrate close alignment, while residual plots confirm minimal bias. Overall, the findings highlight the superiority of gradient boosting techniques in demand forecasting, offering valuable insights for effective sales prediction and inventory planning in the retail sector.

Keywords : Demand Forecasting, Machine Learning, Supply Chain Resilience, Walmart Sales Data, AI-Driven Decision Making.

Never miss an update from Papermashup

Get notified about the latest tutorials and downloads.

Subscribe by Email

Get alerts directly into your inbox after each post and stay updated.
Subscribe
OR

Subscribe by RSS

Add our RSS to your feedreader to get regular updates from us.
Subscribe