Skip to main content
QUICK REVIEW

[Paper Review] Demand Forecasting using Long Short-Term Memory Neural Networks

Marta Golabek, Robin Senge|arXiv (Cornell University)|Aug 19, 2020
Time Series Analysis and ForecastingComputer Science15 references7 citations
TL;DR

This paper evaluates long short-term memory (LSTM) networks for multi-step demand forecasting in e-grocery retail, using univariate and multivariate models trained on 100 fast-moving consumer goods. The multivariate LSTM outperformed benchmark models for food products and matched or exceeded most benchmarks for beverages, demonstrating LSTMs' strong suitability for product-level demand forecasting despite limited data and challenges in capturing substitutive/complementary effects.

ABSTRACT

In this paper we investigate to what extent long short-term memory neural networks (LSTMs) are suitable for demand forecasting in the e-grocery retail sector. For this purpose, univariate as well as multivariate LSTM-based models were developed and tested for 100 fast-moving consumer goods in the context of a master's thesis. On average, the developed models showed better results for food products than the comparative models from both statistical and machine learning families. Solely in the area of beverages random forest and linear regression achieved slightly better results. This outcome suggests that LSTMs can be used for demand forecasting at product level. The performance of the models presented here goes beyond the current state of research, as can be seen from the evaluations based on a data set that unfortunately has not been publicly available to date.

Motivation & Objective

  • To assess the suitability of LSTMs for product-level demand forecasting in e-grocery retail.
  • To compare univariate and multivariate LSTM models against statistical and machine learning benchmarks.
  • To investigate the impact of pretraining across related time series and parallel forecasting of multiple products.
  • To evaluate the role of exogenous variables like price, weekday, and store opening status in improving forecast accuracy.
  • To determine whether LSTMs can outperform existing models in real-world e-grocery data with limited temporal scope.

Proposed method

  • Developed univariate and multivariate LSTM models using historical demand and exogenous features such as weekday, price, and store opening status.
  • Applied hyperparameter tuning to optimize network architecture (number of layers and neurons) per product, reflecting product-specific complexity.
  • Used pretraining on related time series from different warehouses with moderate to strong Spearman correlation to improve generalization.
  • Implemented parallel forecasting across multiple products to learn substitutive and complementary effects.
  • Evaluated models using mMAPE across multiple lookaheads and compared performance using box plots and error distributions.
  • Employed a two-month evaluation window due to data limitations, focusing on multi-step forecasts for an entire working week.

Experimental results

Research questions

  • RQ1Can multivariate LSTMs outperform traditional statistical and machine learning models in e-grocery demand forecasting?
  • RQ2Does pretraining on related time series from different warehouses improve LSTM performance on limited data?
  • RQ3Can parallel forecasting of multiple products leverage substitutive and complementary product relationships to enhance forecast accuracy?
  • RQ4How do exogenous variables like price and store opening status affect LSTM forecasting performance?
  • RQ5To what extent do model architectures vary across products, and does product-specific tuning improve results?

Key findings

  • The multivariate LSTM model achieved better average performance than five benchmark models for food products, indicating strong suitability for this category.
  • For beverages, the multivariate LSTM was outperformed only by linear regression and random forest in overall mMAPE, but still outperformed three of the five benchmarks.
  • The LSTM model achieved the best individual product forecast for 11 out of 24 beverage items, representing approximately 45% of the products tested.
  • The median error across products was lower for the LSTM model than for all benchmark models in both food and beverages, as shown in box plot analysis.
  • Model architectures varied significantly across products in terms of layers and neurons, suggesting that product-specific hyperparameter tuning is beneficial.
  • Pretraining across related time series did not improve performance in this dataset, though it may help in settings with shorter or sparser time series.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.