Achieving Sales Forecasting with Higher Accuracy and Efficiency: A New Model Based on Modified Transformer

被引:5
作者
Li, Qianying [1 ]
Yu, Mingyang [1 ]
机构
[1] Shanghai Jiao Tong Univ, Antai Coll Econ & Management, Shanghai 200030, Peoples R China
关键词
sales forecasting; higher accuracy and efficiency; model; multi-head attention mechanisms; Transformer; deep learning; TIME-SERIES; NEURAL-NETWORKS;
D O I
10.3390/jtaer18040100
中图分类号
F [经济];
学科分类号
02 ;
摘要
With the exponential expansion of e-commerce, an immense volume of historical sales data has been generated and amassed. This influx of data has created an opportunity for more accurate sales forecasting. While various sales forecasting methods and models have been applied in practice, existing ones often struggle to fully harness sales data and manage significant fluctuations. As a result, they frequently fail to make accurate predictions, falling short of meeting enterprise needs. Therefore, it is imperative to explore new models to enhance the accuracy and efficiency of sales forecasting. In this paper, we introduce a model tailored for sales forecasting based on a Transformer with encoder-decoder architecture and multi-head attention mechanisms. We have made specific modifications to the standard Transformer model, such as removing the Softmax layer in the last layer and adapting input embedding, position encoding, and feedforward network components to align with the unique characteristics of sales forecast data and the specific requirements of sales forecasting. The multi-head attention mechanism in our proposed model can directly compute the dot product results in a single step, addressing long-term time-dependent computation challenges while maintaining lower time complexity and greater interpretability. This enhancement significantly contributes to improving the model's accuracy and efficiency. Furthermore, we provide a comprehensive formula representation of the model for the first time, facilitating better understanding and implementation. We conducted experiments using sales datasets that incorporate various factors influencing sales forecasts, such as seasons, holidays, and promotions. The results demonstrate that our proposed model significantly outperforms seven selected benchmark methods, reducing RMSLE, RMSWLE, NWRMSLE, and RMALE by approximately 48.2%, 48.5%, 45.2, and 63.0%, respectively. Additionally, ablation experiments on the multi-head attention and the number of encoder-decoders validate the rationality of our chosen model parameters.
引用
收藏
页码:1990 / 2006
页数:17
相关论文
共 50 条
[21]   Research on Apparel Retail Sales Forecasting Based on xDeepFM-LSTM Combined Forecasting Model [J].
Luo, Tian ;
Chang, Daofang ;
Xu, Zhenyu .
INFORMATION, 2022, 13 (10)
[22]   Supply chain sales forecasting based on lightGBM and LSTM combination model [J].
Weng, Tingyu ;
Liu, Wenyang ;
Xiao, Jun .
INDUSTRIAL MANAGEMENT & DATA SYSTEMS, 2020, 120 (02) :265-279
[23]   Sales Forecasting Using GBDT Based Model And Data Mining Method [J].
Zhou, Yichun ;
Cheng, Yu ;
Lin, Yucheng ;
Mengqiu, Tian .
2021 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS AND COMPUTER ENGINEERING (ICCECE), 2021, :398-401
[24]   A New Transformer Model Based on Modified Multi-Conductor Transmission Line Theory [J].
Liang, Guishu ;
Zhu, Xiaoyan ;
Dong, Huaying .
2009 ASIA-PACIFIC POWER AND ENERGY ENGINEERING CONFERENCE (APPEEC), VOLS 1-7, 2009, :3591-3594
[25]   Research on the Construction of Sales Forecasting Model of Fashion Products Based on Feature Representation of Multimodal and Deep Learning [J].
Wang, Tingting ;
Li, Li ;
Huang, Wenming .
PROCEEDINGS OF NINETEENTH WUHAN INTERNATIONAL CONFERENCE ON E-BUSINESS, 2020, :43-50
[26]   Powerformer: A temporal-based transformer model for wind power forecasting [J].
Mo, Site ;
Wang, Haoxin ;
Li, Bixiong ;
Xue, Zhe ;
Fan, Songhai ;
Liu, Xianggen .
ENERGY REPORTS, 2024, 11 :736-744
[27]   Transformer-Based Hybrid Forecasting Model for Multivariate Renewable Energy [J].
Padilha, Guilherme Afonso Galindo ;
Ko, JeongRyun ;
Jung, Jason J. ;
Gomes de Mattos Neto, Paulo Salgado .
APPLIED SCIENCES-BASEL, 2022, 12 (21)
[28]   Transformer-Based Global Zenith Tropospheric Delay Forecasting Model [J].
Zhang, Huan ;
Yao, Yibin ;
Xu, Chaoqian ;
Xu, Wei ;
Shi, Junbo .
REMOTE SENSING, 2022, 14 (14)
[29]   Wave height forecasting correction model based on transformer improved UNet [J].
Chen, Wei ;
Wang, Luning ;
Ai, Bo ;
Lv, Guannan .
SIXTH INTERNATIONAL CONFERENCE ON GEOSCIENCE AND REMOTE SENSING MAPPING, GRSM 2024, PT 1, 2025, 13506
[30]   Sales Forecasting Based on Multi-dimensional Grey Model and Neural Network [J].
Huang H.-Y. ;
Liu W.-X. ;
Ding Z.-H. .
Ruan Jian Xue Bao/Journal of Software, 2019, 30 (04) :1031-1044