[Paper Review] Machine learning applications in time series hierarchical forecasting
This paper proposes a machine learning (ML)-based dynamic disaggregation approach for hierarchical time series forecasting in supply chains, using XGBoost, ANN, and SVR to predict bottom-level sales proportions from middle-level forecasts. The method significantly outperforms traditional statistical models, with XGBoost achieving the best accuracy at the bottom level and ML models consistently outperforming BU and COM-WLS models in promotional demand scenarios.
Hierarchical forecasting (HF) is needed in many situations in the supply chain (SC) because managers often need different levels of forecasts at different levels of SC to make a decision. Top-Down (TD), Bottom-Up (BU) and Optimal Combination (COM) are common HF models. These approaches are static and often ignore the dynamics of the series while disaggregating them. Consequently, they may fail to perform well if the investigated group of time series are subject to large changes such as during the periods of promotional sales. We address the HF problem of predicting real-world sales time series that are highly impacted by promotion. We use three machine learning (ML) models to capture sales variations over time. Artificial neural networks (ANN), extreme gradient boosting (XGboost), and support vector regression (SVR) algorithms are used to estimate the proportions of lower-level time series from the upper level. We perform an in-depth analysis of 61 groups of time series with different volatilities and show that ML models are competitive and outperform some well-established models in the literature.
Motivation & Objective
- To address the limitations of static hierarchical forecasting models (e.g., Top-Down, Bottom-Up, Optimal Combination) in capturing dynamic demand shifts caused by promotions.
- To investigate whether machine learning models can improve disaggregation accuracy in hierarchical time series by learning time-varying proportions of lower-level series from upper-level forecasts.
- To evaluate the performance of ML models (XGBoost, ANN, SVR) against established statistical models (e.g., COM-WLS, BU) in a real-world FMCG sales dataset with high volatility due to promotions.
- To demonstrate the effectiveness of a middle-out (MO) approach enhanced with ML for dynamic proration in hierarchical forecasting.
Proposed method
- A middle-out (MO) forecasting approach is used, where forecasts are generated at the middle level of a two-level supply chain hierarchy.
- The middle-level forecast is aggregated to the top level and then disaggregated to the bottom level using ML models trained to predict the proportion of each bottom-level series.
- Three machine learning models—XGBoost, Artificial Neural Networks (ANN), and Support Vector Regression (SVR)—are trained to estimate dynamic disaggregation factors based on historical sales and promotional features.
- The models are evaluated using MAE and MASE metrics across one-, four-, and eight-step-ahead forecasts at the top, middle, and bottom levels of the hierarchy.
- The study uses a real-world dataset from an Australian FMCG company with 61 groups of time series, each exhibiting varying volatility due to promotional events.
- Statistical benchmarks include Top-Down (TD), Bottom-Up (BU), and Optimal Combination (COM) models, with COM-WLS and COM-SHR as specific variants.
Experimental results
Research questions
- RQ1Can machine learning models effectively capture dynamic demand variations caused by promotions in hierarchical time series forecasting?
- RQ2How does the performance of ML-based dynamic disaggregation compare to traditional static hierarchical forecasting models like BU, TD, and COM?
- RQ3Does using a middle-out approach with ML-based proration improve forecast accuracy at the bottom level compared to direct bottom-up forecasting?
- RQ4Which machine learning model—XGBoost, ANN, or SVR—yields the most accurate disaggregation in hierarchical forecasting under promotional volatility?
- RQ5Is there a significant difference in forecast accuracy between ML models and state-of-the-art statistical models at different levels of the hierarchy?
Key findings
- XGBoost achieved the highest forecast accuracy at the bottom level, significantly outperforming both the BU model and the COM-WLS and COM-SHR statistical benchmarks.
- SVR generated the second-best results at the bottom level, demonstrating strong performance among ML models and competitive accuracy compared to statistical models.
- DHF-ANN (Dynamic Hierarchical Forecasting with ANN) produced competitive forecasts at the bottom level, outperforming BU and approaching the performance of COM-WLS and COM-SHR.
- The TD and TDFP models generated the best forecasts at the top level, with no significant difference between them, due to aggregation reducing variability in total sales.
- There was a statistically significant difference (p < 0.05) in forecast accuracy between ML models and state-of-the-art statistical models across all levels, particularly at the bottom level.
- Despite the middle-level series having different demand patterns than the bottom-level series, the BU model performed comparably to the MO approach at the middle level, with no significant difference in forecast accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.