基于机器学习的电商物流末端配送需求预测与调度优化研究
Research on Demand Forecasting and Scheduling Optimization for E-Commerce Logistics Last-Mile Delivery Based on Machine Learning
摘要: 随着电子商务的快速发展,末端配送已成为配送成本的主要构成部分和运营效率的关键瓶颈。传统调度方法大多依赖静态规则或人工经验,难以有效应对电商订单需求波动带来的不确定性。本文旨在构建一种融合机器学习预测与优化调度的决策框架,以降低电商物流末端配送成本、提升时效达成率。本文基于某电商平台城市配送中心的历史订单数据,提取时间、天气、区域等多维特征,构建XGBoost、LightGBM、随机森林和LSTM四种机器学习模型,对比预测精度并选取最优模型。将预测结果嵌入调度决策流程,采用将预测分布信息纳入调度决策的方法处理预测不确定性,形成预测驱动的调度策略,并通过电商平台真实数据仿真验证。XGBoost在预测精度上优于对比模型,平均绝对误差为23.6件/小时。本文提出的预测–调度一体化方法较人工调度降低配送成本20.2%,较静态调度降低10.8%;时效达成率提升至91.8%,较人工调度提高13.3个百分点。在电商大促期间,该方法有效缓解了订单峰值带来的配送压力。
Abstract: With the rapid development of e-commerce, last-mile delivery has become the main component of delivery costs and a key bottleneck for operational efficiency. Traditional scheduling methods mostly rely on static rules or manual experience, which are unable to effectively cope with the uncertainty brought about by fluctuations in e-commerce order demands. This paper aims to construct a decision framework that integrates machine learning prediction and optimization scheduling to reduce the cost of e-commerce logistics last-mile delivery and improve the on-time delivery rate. Based on the historical order data of a certain e-commerce platform’s urban distribution center, this paper extracts multi-dimensional features such as time, weather, and region, and builds four machine learning models: XGBoost, LightGBM, random forest, and LSTM. It compares the prediction accuracy and selects the optimal model. The prediction results are embedded into the scheduling decision process, and the method of incorporating the prediction distribution information into the scheduling decision is adopted to handle the prediction uncertainty, forming a prediction-driven scheduling strategy, and verified through real data simulation of the e-commerce platform. XGBoost outperforms the comparison models in terms of prediction accuracy, with an average absolute error of 23.6 items per hour. The proposed prediction-scheduling integrated method reduces the delivery cost by 20.2% compared to manual scheduling and by 10.8% compared to static scheduling; the on-time delivery rate is increased to 91.8%, which is 13.3 percentage points higher than manual scheduling. During e-commerce promotions, this method effectively alleviates the delivery pressure caused by peak orders.
文章引用:马欣媛. 基于机器学习的电商物流末端配送需求预测与调度优化研究[J]. 电子商务评论, 2026, 15(8): 253-261. https://doi.org/10.12677/ecl.2026.158871

参考文献

[1] 韩鑫. 从世界最大寄递网络看活力中国(读数·年度数据深一度) [N/OL]. 人民日报, 2026-01-28(08).
http://paper.people.com.cn/rmrb/pc/content/202601/28/content_30136225.html, 2026-06-05.
[2] Gomes, A.C., De Lima Junior, F.B., Soliani, R.D., Oliveira, P.R.D.S., De Oliveira, D.A., Siqueira, R.M., et al. (2023) Logistics Management in E-Commerce: Challenges and Opportunities. Revista de Gestão e Secretariado, 14, 7252-7272.
https://doi.org/10.7769/gesec.v14i5.2119
[3] 卢越. 推进快递行业高质量发展思考[J]. 中国投资(中英文), 2024(Z9): 68-69.
[4] Chen, T. and Guestrin, C. (2016) Xgboost: A Scalable Tree Boosting System. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, 13-17 August 2016, 785-794.
https://doi.org/10.1145/2939672.2939785
[5] Ho, G.T.S., Tang, V., Tong, P.H. and Tam, M.M.F. (2025) Demand-Driven Storage Allocation for Optimizing Order Picking Processes. Expert Systems with Applications, 272, Article 126812.
https://doi.org/10.1016/j.eswa.2025.126812
[6] Faramarzzadeh, M. and Akpinar, Ş. (2025) A Literature Review of Collaborative Truck and Drone in Last-Mile Delivery. Computers & Industrial Engineering, 209, Article 111477.
https://doi.org/10.1016/j.cie.2025.111477
[7] 蒋丽, 王洪艳, 梁昌勇. 新零售背景下卡车与无人机协同的电商物流末端配送优化[J]. 系统管理学报, 2024, 33(6): 1461-1470.
[8] Ni, L., Huang, Z. and Fu, N. (2025) A Stacking-Based Fusion Framework for Dynamic Demand Forecasting in E-Commerce. Mathematics, 13, Article 3436.
https://doi.org/10.3390/math13213436
[9] Bhavishya, S.M. and Anusha, T. (2025) Enhancing Demand Prediction Accuracy in E-Commerce with Ensemble Machine Learning. In: Dou, R., Liu, J., Khasawneh, M.T., Masehian, E., Shu, D., Kalganova, T. and Vyas, N., Eds., Atlantis Highlights in Intelligent Systems, Atlantis Press, 527-538.
https://doi.org/10.2991/978-94-6463-866-0_44
[10] 柴和平, 沈雪, 季英杰, 马和平. 基于货量预测与优化调度的电商物流网络问题研究[J]. 科技创新与生产力, 2024, 45(10): 22-27.
[11] Boysen, N., Fedtke, S. and Schwerdfeger, S. (2021) Last-Mile Delivery Concepts: A Survey from an Operational Research Perspective. OR Spectrum, 43, 1-58.
https://doi.org/10.1007/s00291-020-00607-8
[12] Hoogendoorn, Y.N. and Spliet, R. (2025) An Evaluation of Common Modeling Choices for the Vehicle Routing Problem with Stochastic Demands. European Journal of Operational Research, 321, 107-122.
https://doi.org/10.1016/j.ejor.2024.09.007
[13] Jeong, J., Ghaddar, B., Zufferey, N. and Nathwani, J. (2024) Adaptive Robust Electric Vehicle Routing under Energy Consumption Uncertainty. Transportation Research Part C: Emerging Technologies, 160, Article 104529.
https://doi.org/10.1016/j.trc.2024.104529
[14] Wang, X. and Zhao, J. (2025) Distributionally Robust Optimization of the Vehicle Routing Problem with Uncertain Customers. Journal of Industrial and Management Optimization, 21, 1983-2006.
https://doi.org/10.3934/jimo.2024159
[15] Yin, F. and Zhao, Y. (2025) Wasserstein Distributionally Robust Equilibrium Optimization under Random Fuzzy Environment for the Electric Vehicle Routing Problem. IEEE Transactions on Fuzzy Systems, 33, 1120-1132.
https://doi.org/10.1109/tfuzz.2024.3504822
[16] Elmachtoub, A.N. and Grigas, P. (2022) Smart “Predict, Then Optimize”. Management Science, 68, 9-26.
https://doi.org/10.1287/mnsc.2020.3922
[17] 简瑜莎, 张长江. 新时代“电商平台 + 农村物流”发展困境与路径分析[J]. 物流科技, 2024, 47(22): 37-39.
[18] 刘倩, 钟颖, 林梅. 大数据技术背景下跨境电商物流优化路径研究[J]. 中国商论, 2024, 33(23): 85-88.
[19] 周艳红. 大数据分析在电商物流需求预测与库存布局中的应用研究[J]. 全国流通经济, 2025(23): 61-64.