A Stacking-Based Fusion Framework for Dynamic Demand Forecasting in E-Commerce
Lei Ni,
Zhonglin Huang and
Ning Fu ()
Additional contact information
Lei Ni: School of Electronic Information Engineering, Guang’an Institute of Technology, Guang’an 638346, China
Zhonglin Huang: Tianfu Jiangxi Laboratory, Chengdu 641419, China
Ning Fu: School of Electronic Information Engineering, Guang’an Institute of Technology, Guang’an 638346, China
Mathematics, 2025, vol. 13, issue 21, 1-16
Abstract:
In response to the growing complexity of e-commerce warehouse management driven by the expansion of live-streaming and cross-border businesses, this study tackles the critical challenge of product demand forecasting. We propose an intelligent forecasting approach based on a multi-model fusion framework, constructing a Stacking ensemble that integrates XGBoost, LightGBM, and CatBoost as base learners. Hyperparameter optimization is systematically conducted using grid search combined with cross-validation. To account for periodic trends, seasonal fluctuations are modeled as explicit temporal features, and a Seasonal Autoregressive Integrated Moving Average (SARIMA) model is incorporated to perform joint forecasting by capturing residual time-dependent patterns. Experimental results show that the proposed fusion model consistently outperforms all individual base learners across multiple metrics, including R 2 , RMSE, MAE, MAPE, Precision, Recall, and Accuracy. Furthermore, the mean cosine similarity of the forecast sequences reaches 0.986, underscoring both the stability of seasonal representations and the model’s robustness in capturing demand variations. This method effectively improves the accuracy of e-commerce product demand forecasts, offering reliable data support for inventory management and allocation strategies.
Keywords: stacking fusion; XGBoost; LightGBM; CatBoost; SARIMA (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/2227-7390/13/21/3436/pdf (application/pdf)
https://www.mdpi.com/2227-7390/13/21/3436/ (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:13:y:2025:i:21:p:3436-:d:1781381
Access Statistics for this article
Mathematics is currently edited by Ms. Emma He
More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().