基于用户行为序列的电商需求销量预估研究
Research on E-Commerce Demand and Sales Forecast Based on User Behavior Sequences
摘要: 在电商场景下精准预估供应链销量,对于优化冷链配置、提升配送效率与降低库存周转成本具有重要的现实意义。本文基于淘宝开源电商数据集,突破传统仅依赖历史销量的局限,将用户在线行为(点击、加购、收藏)纳入销量预估框架。研究发现,VAR模型有效地揭示了流量转化过程中各个层级的动态传导机制,而Transformer模型则精准捕捉了由大促活动引发的非线性需求脉冲。二者结合提升了短期订单量的预估精度。经验证,VAR模型能有效捕捉变量间动态联动关系,Transformer模型在非线性拟合上表现更优,二者形成互补。模型结果显示,“双十二”类促销活动能有效促进电商市场发展,相关企业应提前布局应对物流高峰。本文旨在为电商平台与物流企业探索轻量化、可落地的需求预估方案,为供应链协同决策提供数据支撑。
Abstract: Accurately predicting sales volume and supply chain throughput in e-commerce scenarios is of great practical significance for optimizing cold-chain allocation, improving distribution efficiency, and reducing inventory and turnover costs. Based on an open-source Taobao e-commerce dataset, this study breaks through the limitations of traditional sales forecasting by incorporating users’ online behaviors (clicks, add-to-cart, favorites) into the forecasting framework. It is found that the VAR model effectively reveals the dynamic transmission mechanism across all levels in the traffic conversion process, while the Transformer model accurately captures nonlinear demand shocks caused by livestreaming e-commerce or major promotion campaigns. Their combination improves the accuracy of short-term order volume prediction, providing a data-driven decision paradigm for omni-channel inventory allocation and front warehouse operations of e-commerce commodities. Verification shows that the VAR model effectively captures the dynamic linkage between variables, whereas the Transformer model performs better in nonlinear fitting, and the two models are complementary. The results indicate that shopping carnivals such as Double 12 effectively promote the positive development of the e-commerce market. Relevant enterprises and authorities should make advance arrangements to cope with logistics peaks during promotions. This study provides a lightweight and implementable solution for demand and sales forecasting for e-commerce platforms and logistics enterprises, and also offers data support for collaborative decision-making in the e-commerce supply chain.
文章引用:田珈瑞. 基于用户行为序列的电商需求销量预估研究[J]. 电子商务评论, 2026, 15(9): 206-215. https://doi.org/10.12677/ecl.2026.159988

参考文献

[1] 艾乐怡, 刘珉熙, 李浩, 杨新平. 基于贝叶斯模型与VAR模型的蔬菜销量与定价预估[J]. 数学建模及其应用, 2024, 13(2): 57-65.
[2] 周正. 基于VAR模型的气候变化对水资源的影响研究[J]. 黑龙江环境通报, 2024, 37(8): 47-49.
[3] 祝元浩, 常国宾, 杨木森. 应用赤池信息量准则优选惯性元器件的随机误差模型[J]. 中国惯性技术学报, 2024, 32(2): 180-186.
[4] Wen, Q., Zhou, T., Zhang, C., Chen, W., Ma, Z., Yan, J., et al. (2023) Transformers in Time Series: A Survey. Proceedings of the 32nd International Joint Conference on Artificial Intelligence, 19-25 August 2023, 6778-6786.
https://doi.org/10.24963/ijcai.2023/759
[5] 刘电威, 牛龙龙. 基于混沌RBF神经网络的电商市场销量预测模型技术研究[J]. 湘潭大学学报(自然科学版), 2023, 45(5): 57-64.
[6] 淘宝用户行为数据集[EB/OL].
https://www.heywhale.com/mw/dataset/5ef7024363975d002c9235d3, 2026-04-06.
[7] 周文. 基于Transformer-LSTM算法的电子商务平台用户行为预测研究[J]. 电子商务评论, 2025, 14(7): 1902-1910.
[8] 徐浩淼. 基于时间序列模型的动态零售环境下产品月销量预测——基于多个模型的比较分析[J]. 统计学与应用, 2023, 12(6): 1746-1762.
[9] 武玉英, 蒋国瑞. 融合LSTM与时间序列模型的电商销量预测方法[J]. 计算机工程与应用, 2019, 55(15): 177-184.
[10] Lim, B., Arık, S.Ö., Loeff, N. and Pfister, T. (2021) Temporal Fusion Transformers for Interpretable Multi-Horizon Time Series Forecasting. International Journal of Forecasting, 37, 1748-1764.
https://doi.org/10.1016/j.ijforecast.2021.03.012
[11] Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., et al. (2021) Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting. Proceedings of the AAAI Conference on Artificial Intelligence, 35, 11106-11115.
https://doi.org/10.1609/aaai.v35i12.17325
[12] Yi, S. and Zhao, W. (2026) A Hybrid LSTM and Transformer Model for Analyzing E-Commerce User Behavior and Path Optimization. PeerJ Computer Science, 12, e3707.
https://doi.org/10.7717/peerj-cs.3707