Comparative analysis of modern machine learning models for retail sales forecasting

Authors

  • Luka Hobor Faculty of Electrical Engineering and Computing, University of Zagreb, Unska 3 Zagreb, Croatia
  • Mario Brčić Faculty of Electrical Engineering and Computing, University of Zagreb, Unska 3 Zagreb, Croatia; It From Bit d.o.o., Zagreb, Croatia
  • Lidija Polutnik Babson College, Babson Park, Massachusetts, United States
  • Ante Kapetanović mStart Plus d.o.o., Zagreb, Croatia

Abstract

Accurate demand forecasting is critical for brick-and-mortar retailers to optimize inventory management and minimize costs. This study evaluates statistical baselines, tree-based ensembles (XGBoost and LightGBM), and deep learning architectures (N-BEATS, N-HiTS, and the Temporal Fusion Transformer) on retail sales data characterized by intermittent demand, substantial missingness, and frequent product turnover. Models are compared across four configurations varying by aggregation level and imputation strategy, using evaluation protocols that reflect typical deployment patterns for each model class. Localized tree-based methods achieve superior performance, with XGBoost attaining the lowest RMSE of 4.833. While SAITS-based imputation improved neural network performance in aggregated settings, these models remained inferior to ensemble methods. The results suggest that, under the studied constraints, model selection should prioritize alignment with problem characteristics over architectural sophistication. 

Downloads

Published

2026-07-08

Issue

Section

CRORR Journal Regular Issue