基于LSTM-随机森林组合模型的电商平台产品需求预测
Inventory Demand Forecasting for E-Commerce Platforms Based on Combined LSTM-Random Forest Modeling
DOI: 10.12677/ecl.2025.1493008, PDF,   
作者: 刘 湘, 王 静:武汉科技大学管理学院,湖北 武汉
关键词: 电商需求预测LSTM随机森林组合模型E-Commerce Demand Forecasting LSTM Random Forest Combinatorial Modeling
摘要: 精准的产品需求预测是电商平台优化供应链管理、降低库存成本及提升用户体验的核心环节。然而,电商场景中的需求数据具有高波动性、非线性和受多因素(如促销、季节性变化、用户行为等)影响的复杂特征,传统预测方法难以有效应对。本研究提出一种基于长短期记忆网络(LSTM)和随机森林(Random Forest, RF)的组合预测模型,通过融合LSTM的时序特征提取能力与随机森林的非线性建模优势,显著提升了电商场景下的需求预测精度。通过整合某电商平台四类核心产品(电子产品、服装服饰、家居用品、美妆个护)的历史数据,结果表明,组合模型在促销期突发需求和季节性波动场景中表现尤为突出,为电商平台的智能补货、库存优化及动态定价策略提供了有力支持。
Abstract: Accurate product demand forecasting is the core link of e-commerce platforms to optimize supply chain management, reduce inventory costs, and improve user experience. However, demand data in e-commerce scenarios has high volatility, nonlinearity, and complex characteristics affected by multiple factors (such as promotions, seasonal changes, user behavior, etc.), making it difficult for traditional forecasting methods to effectively deal with them. This study proposes a combined prediction model based on long short-term memory network (LSTM) and random forest (RF), which significantly improves the accuracy of demand prediction in e-commerce scenarios by combining the temporal feature extraction ability of LSTM with the nonlinear modeling advantages of random forest. By integrating the historical data of the four core products (electronic products, clothing, household products, beauty and personal care) of an e-commerce platform, the results show that the combined model is particularly prominent in the sudden demand and seasonal fluctuation scenarios during the promotion period, providing strong support for the intelligent replenishment, inventory optimization and dynamic pricing strategy of the e-commerce platform.
文章引用:刘湘, 王静. 基于LSTM-随机森林组合模型的电商平台产品需求预测[J]. 电子商务评论, 2025, 14(9): 1023-1035. https://doi.org/10.12677/ecl.2025.1493008

参考文献

[1] 马佳玉, 孙宗军. 基于组合模型的某农场电商生鲜农产品需求预测研究[J]. 物流科技, 2022, 45(13): 71-74.
[2] 高东东, 王凤忠, 成祥玉. 基于需求预测的电商仓库库存研究[J]. 物流技术, 2022, 41(8): 78-82.
[3] Liao, Y., Yang, C. and Zheng, S. (2024) Product Demand Forecasting Based on LGBM Deep Learning Models. Journal of Applied Mathematics and Computation, 8, 83-87. [Google Scholar] [CrossRef
[4] 李婷婷, 黄欣迪, 曹萌萌, 等. 基于LightGBM模型的离散制造业产品物料需求智能预测[J]. 智能计算机与应用, 2023, 13(9): 59-66.
[5] Zhou, X. (2021) Stock Price Prediction Using Combined LSTM-CNN Model. 2021 3rd International Conference on Machine Learning, Big Data and Business Intelligence (MLBDBI), Taiyuan, 3-5 December 2021, 67-71. [Google Scholar] [CrossRef
[6] Qian, F. and Chen, X. (2019) Stock Prediction Based on LSTM under Different Stability. 2019 IEEE 4th International Conference on Cloud Computing and Big Data Analysis (ICCCBDA), Chengdu, 12-15 April 2019, 483-486. [Google Scholar] [CrossRef
[7] 范华鹏, 刘畅, 程锋云. 基于不同机器学习分类算法的滇西北森林碳储量估测[J]. 西南林业大学学报(自然科学), 2025, 45(1): 1-9.
[8] 芦杨笛, 邓瑞, 汪益, 等. 基于NOA优化随机森林算法的砂岩孔隙度预测[J]. 石油地球物理勘探, 2025, 60(1): 1-11.
[9] 包吉祥, 李林, 赵梦鸽. 基于考虑滞后性LSTM模型的电商需求预测[J]. 计算机工程与应用, 2022, 58(24): 276-283.
[10] 梅俊涛, 陈静, 白静盼. 融合LSTM和LightGBM的用户购买行为预测算法[J]. 电脑知识与技术, 2024, 20(14): 29-31.
[11] Wang, X., Xu, N., Meng, X. and Chang, H. (2022) Prediction of Gas Concentration Based on Lstm-Lightgbm Variable Weight Combination Model. Energies, 15, Article 827. [Google Scholar] [CrossRef
[12] 李琼, 陈佳, 徐斌. 多产品相互制约条件下的制造业产品需求预测研究[J]. 计算机应用与软件, 2021, 38(3): 59-69.
[13] Tian, L., Feng, L., Yang, L. and Guo, Y. (2022) Stock Price Prediction Based on LSTM and Lightgbm Hybrid Model. The Journal of Supercomputing, 78, 11768-11793. [Google Scholar] [CrossRef
[14] 杨凡, 方娜. 基于GRU和Transformer的跨组织业务流程异常检测[J/OL]. 计算机应用研究, 1-11.
https://link.cnki.net/doi/10.19734/j.issn.1001-3695.2025.04.0117, 2025-09-04.
[15] 郑李园, 吴鑫, 李君, 等. 基于TCN的电商商品需求预测[J]. 数字技术与应用, 2023, 41(1): 110-113.
[16] 赵钰逸, 王春晓, 吴桥. 基于组合模型的中小电商商品短期需求预测[J]. 浙江万里学院学报, 2023, 36(1): 7-13.
[17] 胡昊, 张剑飞. 基于iWOA-iTransformer模型的物料需求预测[J]. 高师理科学刊, 2025, 45(4): 27-33+40.
[18] Bai, X., Zhang, L., Feng, Y., Yan, H. and Mi, Q. (2024) Multivariate Temperature Prediction Model Based on CNN-Bilstm and Randomforest. The Journal of Supercomputing, 81, Article No. 162. [Google Scholar] [CrossRef