[Paper Review] Sales Forecast in E-commerce using Convolutional Neural Network
This paper proposes a CNN-based approach to automatically learn sales forecasting features from raw e-commerce log data, eliminating manual feature engineering. By transforming structured log data into a Data Frame and applying CNNs, the method achieves superior forecast accuracy—especially with sample weight decay and transfer learning—on a real-world CaiNiao.com dataset.
Sales forecast is an essential task in E-commerce and has a crucial impact on making informed business decisions. It can help us to manage the workforce, cash flow and resources such as optimizing the supply chain of manufacturers etc. Sales forecast is a challenging problem in that sales is affected by many factors including promotion activities, price changes, and user preferences etc. Traditional sales forecast techniques mainly rely on historical sales data to predict future sales and their accuracies are limited. Some more recent learning-based methods capture more information in the model to improve the forecast accuracy. However, these methods require case-by-case manual feature engineering for specific commercial scenarios, which is usually a difficult, time-consuming task and requires expert knowledge. To overcome the limitations of existing methods, we propose a novel approach in this paper to learn effective features automatically from the structured data using the Convolutional Neural Network (CNN). When fed with raw log data, our approach can automatically extract effective features from that and then forecast sales using those extracted features. We test our method on a large real-world dataset from CaiNiao.com and the experimental results validate the effectiveness of our method.
Motivation & Objective
- Address the limitations of traditional time series methods and manual feature engineering in e-commerce sales forecasting.
- Develop an end-to-end deep learning model that learns effective representations directly from raw structured log data.
- Improve forecast accuracy by leveraging automated feature learning using Convolutional Neural Networks.
- Integrate sample weight decay and transfer learning to further enhance model performance.
- Create a scalable, reusable framework for sales forecasting that adapts to new data with minimal human intervention.
Proposed method
- Transform raw e-commerce log data (e.g., PV, UV, PAY, GMV) and commodity attributes into a structured Data Frame for model input.
- Apply a Convolutional Neural Network (CNN) to the Data Frame to automatically extract hierarchical, effective features from temporal and spatial patterns in the data.
- Use a fully connected layer with regression head to predict future sales based on the extracted features.
- Implement sample weight decay to prioritize training samples closer to the target forecasting interval, improving short-term forecast accuracy.
- Apply transfer learning to fine-tune models across different regions or commodities, enhancing generalization and performance.
- Train the model using mean squared error (MSE) as the loss function on a large real-world dataset from CaiNiao.com.
Experimental results
Research questions
- RQ1Can a CNN-based model automatically learn effective features from raw structured e-commerce log data, outperforming traditional time series and manually engineered features?
- RQ2How does the length of the input Data Frame (i.e., historical window) affect forecasting performance and model robustness?
- RQ3To what extent do sample weight decay and transfer learning improve forecast accuracy and generalization?
- RQ4Is it feasible to train a unified model for forecasting across multiple regions, and how does it compare to region-specific models?
- RQ5What is the trade-off between forecasting interval length and accuracy, and how does it impact business decision flexibility?
Key findings
- The proposed CNN-based method significantly outperforms traditional time series models (e.g., ARIMA) and feature engineering with gradient boosting (FE+GBRT), especially in capturing complex, non-linear sales patterns.
- The use of sample weight decay with β = 0.02 achieves a balanced trade-off between learning long-term and short-term patterns, leading to improved forecast stability and accuracy.
- Transfer learning further enhances model performance, demonstrating its effectiveness in transferring knowledge across different commodities or regions.
- The model with both sample weight decay and transfer learning achieves the most competitive results, showing robustness and high accuracy on the CaiNiao.com dataset.
- Longer forecasting intervals are easier to predict due to greater sales stability, but shorter intervals offer more operational flexibility, highlighting a key trade-off in real-world applications.
- A unified model trained on all regions performs less competitively than region-specific models, suggesting that local patterns are better captured with tailored training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.