基于K-Shape和LSTM两阶段优化的船舶备件深度学习需求预测
Deep Learning Enabled Demand Forecasting for Ship Spare Parts Based on K-Shape Clustering and Two-Stage LSTM Optimization
DOI: 10.12677/orf.2025.155231, PDF,    科研立项经费支持
作者: 陈薇如:上海理工大学管理学院,上海;傅文翰*:上海理工大学管理学院,上海;上海理工大学智慧应急管理学院,上海
关键词: 船舶建造备件需求预测长短期记忆网络K-Shape时间序列聚类Ship Building Spare Parts Demand Forecasting Long Short-Term Memory Network K-Shape Time Series Clustering
摘要: 船舶备件多为突发性需求,同时具有价值高、缺件损失大等特点,准确的需求预测可以帮助船舶企业优化库存,减少缺货导致的停航损失和紧急采购的高成本。因此,本文提出一种结合K-Shape聚类与两阶段LSTM的船舶备件深度学习预测方法。首先利用K-Shape算法对船舶备件产品的历史需求数据进行聚类;其次针对具有间歇性特征的备件构建两阶段LSTM模型,以期达到更好的预测效果;最后,以W公司为案例对所提方法进行验证。结果表明,两阶段LSTM在间歇性类别中预测效果最优,各评价指标优化率均明显优于其他类别,且相较于单阶段LSTM,RMSE、MAE、R2及MASE的优化率分别可达10.99%、15.39%、9.24%及16.10%。因此,所提出的两阶段LSTM方法适用于间歇性备件的需求预测,且预测效果更好。
Abstract: The demand for ship spare parts is often sudden and characterized by high value and significant losses due to shortages. Accurate demand forecasting can help enterprises optimize inventory, reduce losses from downtime caused by shortages, and lower the high costs of emergency procurement. Therefore, this paper proposes a deep learning enabled forecasting method that combines K-Shape clustering with a two-stage LSTM model. First, the K-Shape algorithm is used to cluster historical demand data for ship spare parts. Then, a two-stage LSTM model is constructed for spare parts with intermittent demand characteristics to achieve better forecasting performance. Finally, the proposed method is validated using Company W as a case study. The results show that the two-stage LSTM model performs best in the intermittent demand category, with all evaluation metrics significantly outperforming other categories. Compared to the single-stage LSTM, the optimization rates for RMSE, MAE, R2, and MASE are 10.99%, 15.39%, 9.24%, and 16.10%, respectively. Thus, the proposed two-stage LSTM method is suitable for demand forecasting of intermittent spare parts and offers superior forecasting performance.
文章引用:陈薇如, 傅文翰. 基于K-Shape和LSTM两阶段优化的船舶备件深度学习需求预测[J]. 运筹与模糊学, 2025, 15(5): 59-67. https://doi.org/10.12677/orf.2025.155231

参考文献

[1] 孟冠军, 杨思平, 钱晓飞. 基于红狐优化支持向量机回归的船舶备件预测[J]. 合肥工业大学学报(自然科学版), 2025, 48(1): 25-31.
[2] Teunter, R.H., Babai, M.Z. and Syntetos, A.A. (2010) ABC Classification: Service Levels and Inventory Costs. Production and Operations Management, 19, 343-352. [Google Scholar] [CrossRef
[3] 方忠民, 韩福义, 马蓉. 模糊ABC-FSN分类法在企业库存管理中的应用[J]. 物流技术, 2019, 38(1): 114-119.
[4] Tavassoli, M. and Farzipoor Saen, R. (2022) A Stochastic Data Envelopment Analysis Approach for Multi-Criteria ABC Inventory Classification. Journal of Industrial and Production Engineering, 39, 415-429. [Google Scholar] [CrossRef
[5] Yung, K.L., Ho, G.T.S., Tang, Y.M. and Ip, W.H. (2021) Inventory Classification System in Space Mission Component Replenishment Using Multi-Attribute Fuzzy ABC Classification. Industrial Management & Data Systems, 121, 637-656. [Google Scholar] [CrossRef
[6] Hu, Q., Chakhar, S., Siraj, S. and Labib, A. (2017) Spare Parts Classification in Industrial Manufacturing Using the Dominance-Based Rough Set Approach. European Journal of Operational Research, 262, 1136-1163. [Google Scholar] [CrossRef
[7] Cui, L., Tao, Y., Deng, J., Liu, X., Xu, D. and Tang, G. (2021) BBO-BPNN and AMPSO-BPNN for Multiple-Criteria Inventory Classification. Expert Systems with Applications, 175, Article ID: 114842. [Google Scholar] [CrossRef
[8] Zhang, S., Qin, X., Hu, S., Zhang, Q., Dong, B. and Zhao, J. (2020) Importance Degree Evaluation of Spare Parts Based on Clustering Algorithm and Back-Propagation Neural Network. Mathematical Problems in Engineering, 2020, Article ID: 6161825. [Google Scholar] [CrossRef
[9] 赵青雨, 苏之昀, 夏唐斌, 郑美妹. 基于改进聚类和神经网络的多准则备件分类[J]. 工业工程与管理, 2024, 29(5): 24-31.
[10] Goltsos, T.E., Syntetos, A.A., Glock, C.H. and Ioannou, G. (2022) Inventory—Forecasting: Mind the Gap. European Journal of Operational Research, 299, 397-419. [Google Scholar] [CrossRef
[11] Feng, Y., Chen, J., Lu, C. and Zhu, S. (2021) Civil Aircraft Spare Parts Prediction and Configuration Management Techniques: Review and Prospect. Advances in Mechanical Engineering, 13, 1-17. [Google Scholar] [CrossRef
[12] 张佳琦, 顾幸生. 基于改进灰狼算法优化的支持向量机锌耗预测[J]. 华东理工大学学报(自然科学版), 2022, 48(3): 343-351.
[13] 王宁, 李建华, 王军军, 等. 基于ARIMA与神经网络的备件需求组合预测方法[J]. 甘肃科技, 2020, 36(10): 61-65.
[14] 李晓娟, 张芳媛, 喻玲. 基于主成分分析-BP神经网络的风电备件需求预测[J]. 科学技术与工程, 2024, 24(1): 281-288.
[15] 杨华强, 熊坚, 张鹏. 基于改进Croston方法的多需求模式零备件预测[J]. 科学技术与工程, 2024, 24(21): 8987-8995.
[16] Paparrizos, J. and Gravano, L. (2015) k-Shape: Efficient and Accurate Clustering of Time Series. Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data, Melbourne, 31 May-4 June 2015, 1855-1870. [Google Scholar] [CrossRef
[17] 李海林, 贾瑞颖, 谭观音. 基于K-shape的时间序列模糊分类方法[J]. 电子科技大学学报, 2021, 50(6): 899-906.
[18] Hochreiter, S., Bengio, Y., Frasconi, P., et al. (2001) Gradient Flow in Recurrent Nets: The Difficulty of Learning Long-Term Dependencies. In: A Field Guide to Dynamical Recurrent Networks, Wiley, 237-243.
[19] Bengio, Y., Simard, P. and Frasconi, P. (1994) Learning Long-Term Dependencies with Gradient Descent Is Difficult. IEEE Transactions on Neural Networks, 5, 157-166. [Google Scholar] [CrossRef] [PubMed]
[20] Tian, Y. and Pan, L. (2015) Predicting Short-Term Traffic Flow by Long Short-Term Memory Recurrent Neural Network. 2015 IEEE International Conference on Smart City/SocialCom/SustainCom (SmartCity), Chengdu, 19-21 December 2015, 153-158. [Google Scholar] [CrossRef