應用分層時間序列調和模型於供應鏈通路之需求預測-以快速消費品供應鏈為例
Applying Hierarchical Time Series Reconciliation Models to Demand Forecasting in Supply Chain Channel: A Study on Fast-Moving Consumer Goods Supply Chain
摘要
本研究旨在探討零售業快速消費品(Fast-Moving Consumer Goods, FMCG)在多層級需求結構下,如何透過分層時間序列調和模型提升跨層級預測一致性,並為供應鏈管理決策提供參考依據。研究問題聚焦於兩個層面:一是基礎預測模型在不同層級的預測表現差異,二是調和方法在改善層級一致性的同時,是否能維持甚至提升整體預測準確度。
本研究資料以真實零售業FMCG公司資料抽樣所建構之模擬資料集,依通路、地區、品類三維度建立四層級階層結構,共計58個節點。在研究方法上,本研究先使用LightGBM建構各節點之基礎預測模型,再以MinT Shrinkage進行跨層級調和,並以RMSE、MAE、MAPE、MASE評估各層級之預測誤差,同時計算調和前後之加總差異以驗證一致性改善程度。
研究結果顯示,LightGBM於總體層、通路層與地區層之預測誤差較低,MAPE約介於0.185%至0.290%;品類層因節點數量較多且需求波動較大,預測難度相對較高,基礎預測MAPE達6.153%。經MinT Shrinkage調和後,各層級加總差異皆降為0,達成完全一致性;但調和後整體平均誤差略為上升,RMSE、MAE、MAPE與MASE皆高於調和前。研究結果顯示,MinT Shrinkage在本研究案例中能有效解決加總不一致問題,但一致性與預測準確度改善之間仍存在取捨,因此未能同時提升整體預測準確度。
整體而言,本研究結果可作為零售業供應鏈需求預測導入分層預測與調和方法之參考,亦可作為後續模型優化與調和方法應用提供實證基礎。
關鍵詞:供應鏈需求預測、總合需求預測、分層時間序列、LightGBM、MinT Shrinkage
本研究資料以真實零售業FMCG公司資料抽樣所建構之模擬資料集,依通路、地區、品類三維度建立四層級階層結構,共計58個節點。在研究方法上,本研究先使用LightGBM建構各節點之基礎預測模型,再以MinT Shrinkage進行跨層級調和,並以RMSE、MAE、MAPE、MASE評估各層級之預測誤差,同時計算調和前後之加總差異以驗證一致性改善程度。
研究結果顯示,LightGBM於總體層、通路層與地區層之預測誤差較低,MAPE約介於0.185%至0.290%;品類層因節點數量較多且需求波動較大,預測難度相對較高,基礎預測MAPE達6.153%。經MinT Shrinkage調和後,各層級加總差異皆降為0,達成完全一致性;但調和後整體平均誤差略為上升,RMSE、MAE、MAPE與MASE皆高於調和前。研究結果顯示,MinT Shrinkage在本研究案例中能有效解決加總不一致問題,但一致性與預測準確度改善之間仍存在取捨,因此未能同時提升整體預測準確度。
整體而言,本研究結果可作為零售業供應鏈需求預測導入分層預測與調和方法之參考,亦可作為後續模型優化與調和方法應用提供實證基礎。
關鍵詞:供應鏈需求預測、總合需求預測、分層時間序列、LightGBM、MinT Shrinkage
This study aims to investigate how hierarchical time series reconciliation models can improve cross-level forecast coherency in multi-level demand structures for fast-moving consumer goods (FMCG) retail, thereby providing a reference for supply chain management decisions. The research questions focus on two aspects: first, the differences in base forecasting model performance across hierarchical levels; and second, whether reconciliation methods can maintain or even improve overall forecast accuracy while improving hierarchical coherency.
The dataset is a simulated dataset constructed by sampling from real-world FMCG retail company data, organized into a four-level hierarchical structure across three dimensions—channel, region, and product category—comprising 58 nodes in total. In terms of methodology, this study first uses LightGBM to construct base forecasting models for each node, then applies MinT Shrinkage for cross-level reconciliation. Forecast errors at each level are evaluated using RMSE, MAE, MAPE, and MASE, while the summation discrepancy before and after reconciliation is calculated to verify the degree of coherency improvement.
The results show that LightGBM achieves lower forecast errors at the aggregate, channel, and region levels, with MAPE ranging from approximately 0.185% to 0.290%. The product category level, due to its larger number of nodes and greater demand volatility, presents relatively higher forecasting difficulty, with a base forecast MAPE of 6.153%. After MinT Shrinkage reconciliation, the summation discrepancy at all levels is reduced to zero, achieving full coherency; however, the overall average error increases slightly post-reconciliation, with RMSE, MAE, MAPE, and MASE all higher than their pre-reconciliation values. These results indicate that MinT Shrinkage effectively resolves the summation inconsistency problem in this research context, but a trade-off remains between coherency and forecast accuracy improvement, as the two could not be improved simultaneously.
Overall, the findings of this study can serve as a reference for implementing hierarchical forecasting and reconciliation methods in retail supply chain demand prediction, and provide an empirical foundation for subsequent model optimization and the application of reconciliation methods.
Keywords: Supply Chain Demand Forecasting, Aggregate Demand Forecasting, Hierarchical Time Series, LightGBM, MinT Shrinkage
The dataset is a simulated dataset constructed by sampling from real-world FMCG retail company data, organized into a four-level hierarchical structure across three dimensions—channel, region, and product category—comprising 58 nodes in total. In terms of methodology, this study first uses LightGBM to construct base forecasting models for each node, then applies MinT Shrinkage for cross-level reconciliation. Forecast errors at each level are evaluated using RMSE, MAE, MAPE, and MASE, while the summation discrepancy before and after reconciliation is calculated to verify the degree of coherency improvement.
The results show that LightGBM achieves lower forecast errors at the aggregate, channel, and region levels, with MAPE ranging from approximately 0.185% to 0.290%. The product category level, due to its larger number of nodes and greater demand volatility, presents relatively higher forecasting difficulty, with a base forecast MAPE of 6.153%. After MinT Shrinkage reconciliation, the summation discrepancy at all levels is reduced to zero, achieving full coherency; however, the overall average error increases slightly post-reconciliation, with RMSE, MAE, MAPE, and MASE all higher than their pre-reconciliation values. These results indicate that MinT Shrinkage effectively resolves the summation inconsistency problem in this research context, but a trade-off remains between coherency and forecast accuracy improvement, as the two could not be improved simultaneously.
Overall, the findings of this study can serve as a reference for implementing hierarchical forecasting and reconciliation methods in retail supply chain demand prediction, and provide an empirical foundation for subsequent model optimization and the application of reconciliation methods.
Keywords: Supply Chain Demand Forecasting, Aggregate Demand Forecasting, Hierarchical Time Series, LightGBM, MinT Shrinkage