Skip to main content
QUICK REVIEW

[Paper Review] Approximate Bayesian Inference in Linear State Space Models for Intermittent Demand Forecasting at Scale

Matthias Seeger, Syama Sundar Rangapuram|arXiv (Cornell University)|Sep 22, 2017
Forecasting Techniques and ApplicationsDecision Sciences15 references12 citations
TL;DR

This paper proposes a scalable approximate Bayesian inference method for linear state space models tailored to intermittent and bursty demand forecasting at industrial scale. By leveraging Newton-Raphson optimization reduced to linear-time Kalman smoothing, the approach enables efficient maximum likelihood estimation in non-Gaussian state space models, outperforming existing methods on real-world e-commerce datasets with hundreds of millions of item-days.

ABSTRACT

We present a scalable and robust Bayesian inference method for linear state space models. The method is applied to demand forecasting in the context of a large e-commerce platform, paying special attention to intermittent and bursty target statistics. Inference is approximated by the Newton-Raphson algorithm, reduced to linear-time Kalman smoothing, which allows us to operate on several orders of magnitude larger problems than previous related work. In a study on large real-world sales datasets, our method outperforms competing approaches on fast and medium moving items.

Motivation & Objective

  • To develop a robust, automated, and scalable Bayesian inference method for demand forecasting in large-scale e-commerce environments.
  • To address the limitations of Gaussian assumptions in forecasting intermittent and bursty demand patterns common in large product catalogs.
  • To enable accurate quantile forecasts for short- and long-term lead times, incorporating features like holidays, promotions, and price changes.
  • To overcome computational bottlenecks in existing approximate inference methods by reducing complexity from cubic to linear time via Kalman smoothing.

Proposed method

  • Employs a hybrid model combining generalized linear models for long-term trend and seasonality with exponential smoothing for temporal continuity and uncertainty quantification.
  • Introduces a multi-stage likelihood function with three stages: zero-inflated, unit mass, and Poisson-distributed counts for values ≥2, tailored to intermittent and bursty demand.
  • Applies approximate Bayesian inference via Laplace approximation, reformulated using Newton-Raphson optimization to reduce computational cost.
  • Reduces the inference computation to a single Kalman smoothing pass per iteration, achieving linear-time complexity instead of cubic, enabling scalability to large datasets.
  • Uses a novel transfer function for Poisson likelihood that stabilizes the Laplace approximation under bursty demand conditions.
  • Supports missing data and parameterized likelihood potentials, with efficient gradient computation via forward and adjoint passes through the Kalman filter.

Experimental results

Research questions

  • RQ1Can a scalable Bayesian inference method be developed for linear state space models that handles non-Gaussian, intermittent, and bursty demand patterns at industrial scale?
  • RQ2Does combining generalized linear models with exponential smoothing improve forecasting accuracy for medium- and long-term lead times in sparse demand scenarios?
  • RQ3Can approximate inference via Newton-Raphson and Kalman smoothing achieve linear-time complexity while maintaining robustness and accuracy in real-world e-commerce data?
  • RQ4How does the proposed multi-stage likelihood and robust Poisson transfer function improve performance over standard Poisson or zero-inflated models in bursty demand regimes?
  • RQ5To what extent can automated, expert-free parameter learning be achieved in a high-dimensional, large-scale forecasting system?

Key findings

  • The proposed method outperforms competing approaches on fast- and medium-moving items in large-scale real-world e-commerce datasets, particularly in quantile forecast accuracy.
  • The linear-time Kalman smoothing reduction enables processing of several orders of magnitude more data than previous related work, making it feasible for industrial-scale applications.
  • The multi-stage likelihood and robust Poisson transfer function are essential for performance; the method fails without these innovations on bursty data.
  • The Newton-Raphson-based inference with Kalman smoothing is more robust than L-BFGS-based alternatives in real-world use cases, where L-BFGS fails to converge.
  • The method successfully models slowly drifting time series patterns such as changing day-of-week effects over time, which previous models could not capture.
  • The framework supports long-term forecasting with dynamic features like holidays, promotions, and price changes, enabling accurate predictions up to several months in advance.

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.