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

被引:3
|
作者
Li, Qianying [1 ]
Yu, Mingyang [1 ]
机构
[1] Shanghai Jiao Tong Univ, Antai Coll Econ & Management, Shanghai 200030, Peoples R China
来源
JOURNAL OF THEORETICAL AND APPLIED ELECTRONIC COMMERCE RESEARCH | 2023年 / 18卷 / 04期
关键词
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 条
  • [1] A transformer-based framework for enterprise sales forecasting
    Sun, Yupeng
    Li, Tian
    PEERJ COMPUTER SCIENCE, 2024, 10 : 1 - 14
  • [2] Improving Accuracy and Efficiency in Time Series Forecasting with an Optimized Transformer Model
    Chen, Junhong
    Dai, Hong
    Wang, Shuang
    Liu, Chengrui
    ENGINEERING LETTERS, 2024, 32 (01) : 1 - 11
  • [3] LSTM-based Sales Forecasting Model
    Hong, Jun-Ki
    KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2021, 15 (04): : 1232 - 1245
  • [4] A Hybrid Temporal Convolutional Network and Transformer Model for Accurate and Scalable Sales Forecasting
    Al Rafi, Md
    Rodrigues, Gourab Nicholas
    Mir, Md Nazmul Hossain
    Bhuiyan, Md Shahriar Mahmud
    Mridha, M. F.
    Islam, M. D. Rashedul
    Watanobe, Yutaka
    IEEE OPEN JOURNAL OF THE COMPUTER SOCIETY, 2025, 6 : 380 - 391
  • [5] Efficient Sales Forecasting Using PSO Based Adaptive ARMA Model
    Majhi, Ritanjali
    Mishra, Sashikala
    Majhi, Babita
    Panda, Ganapati
    Rout, Minakshi
    2009 WORLD CONGRESS ON NATURE & BIOLOGICALLY INSPIRED COMPUTING (NABIC 2009), 2009, : 1332 - +
  • [6] A New Feature Based Deep Attention Sales Forecasting Model for Enterprise Sustainable Development
    Huang, Jian
    Chen, Qinyu
    Yu, Chengqing
    SUSTAINABILITY, 2022, 14 (19)
  • [7] Transformer-Based Model for Electrical Load Forecasting
    L'Heureux, Alexandra
    Grolinger, Katarina
    Capretz, Miriam A. M.
    ENERGIES, 2022, 15 (14)
  • [8] A hybrid method for forecasting new product sales based on fuzzy clustering and deep learning
    Yin, Peng
    Dou, Guowei
    Lin, Xudong
    Liu, Liangliang
    KYBERNETES, 2020, 49 (12) : 3099 - 3118
  • [9] Multi-Transformer: A New Neural Network-Based Architecture for Forecasting S&P Volatility
    Ramos-Perez, Eduardo
    Alonso-Gonzalez, Pablo J.
    Nunez-Velazquez, Jose Javier
    MATHEMATICS, 2021, 9 (15)
  • [10] A dynamic changepoint model for new product sales forecasting
    Fader, PS
    Hardie, BGS
    Huang, CY
    MARKETING SCIENCE, 2004, 23 (01) : 50 - 65