Intermittent demand forecasting

Also known as: sparse demand forecasting

On this page 7

Intermittent demand forecasting is the prediction of time series in which many periods have zero demand and nonzero demand arrives irregularly and in variable sizes. Within time series & forecasting, a core area of applied artificial intelligence, it is a distinct problem because standard models built for smooth, continuous signals produce biased and poorly calibrated forecasts when most observations are zero. It is also called sparse demand forecasting.

Typical intermittent series include spare parts, slow-moving retail items, medical supplies and long-tail products in e-commerce. In many inventories, such items make up the majority of stock-keeping units and a large share of capital tied up in stock, so even modest accuracy gains translate into lower holding costs and fewer stockouts.

Why sparse demand breaks standard forecasting methods

Sparse demand breaks standard methods because they model the level of a series, while an intermittent series has two separate sources of uncertainty: whether demand occurs and how large it is when it does. Simple exponential smoothing, for example, decays toward zero after a run of empty periods and then jumps after each sale, which places the forecast too high just after demand and too low before it.

Error metrics also fail. MAPE is undefined when actual values are zero, and a flat forecast of zero often scores well on absolute error while being useless for stocking decisions. For this reason, practitioners evaluate sparse series with scaled metrics such as MASE and RMSSE, with bias measures, and, increasingly, with inventory outcomes such as achieved service level.

Classifying demand patterns

Demand patterns are usually classified with two statistics: the average demand interval (ADI), the mean number of periods between nonzero demands, and the squared coefficient of variation (CV²) of the nonzero demand sizes. The widely used cutoffs of ADI 1.32 and CV² 0.49 come from the Syntetos, Boylan and Croston classification and divide series into four categories.

CategoryADICV²Suggested approach
Smoothbelow 1.32below 0.49Exponential smoothing or ETS
Erraticbelow 1.320.49 or aboveRobust smoothing, probabilistic models
Intermittent1.32 or abovebelow 0.49Croston-type methods
Lumpy1.32 or above0.49 or aboveBias-corrected Croston, bootstrapping
Demand categories by interval and size variability

The classification is a routing heuristic, not a law. Cutoffs depend on the time bucket, and the same item can be intermittent weekly but smooth at monthly aggregation.

Croston’s method and its variants

Croston’s method, published in 1972, separates the series into nonzero demand sizes and the intervals between them, and smooths each with exponential smoothing. The forecast of demand per period is the smoothed size divided by the smoothed interval, and both components are updated only when demand occurs.

Later research showed that the original estimator is positively biased, which motivated several corrections. The table compares the most widely used variants.

MethodCore ideaStrengthLimitation
CrostonSeparate smoothing of size and intervalSimple and stableUpward bias
SBACroston multiplied by 1 minus alpha/2Corrects most biasStill a point forecast
TSBSmooths demand probability every periodReacts to obsolescenceNeeds two parameters
ADIDA and IMAPATemporal aggregation, then disaggregationReduces zero frequencyChoice of aggregation level
BootstrappingResamples historical demand over lead timeGives full distributionsNeeds enough history
Main forecasting methods for intermittent series

The Teunter-Syntetos-Babai (TSB) method is often preferred for items at risk of obsolescence, because its probability estimate declines during long gaps, while Croston keeps forecasting the last level indefinitely.

Temporal aggregation offers a complementary route. ADIDA sums weekly demand into monthly or quarterly buckets, where zeros are rarer and smoothing works better, and then disaggregates the forecast back to the original bucket. IMAPA repeats this at several aggregation levels and averages the resulting forecasts, which reduces the risk of choosing a single unsuitable level. Smoothing constants for all of these methods are usually low, typically between 0.05 and 0.2, because each nonzero observation carries considerable noise.

Machine learning and probabilistic approaches

Machine learning approaches treat many sparse series together as a global forecasting model, so that patterns learned from one item help predict another. In the M5 competition, which used Walmart sales with a large share of zeros, gradient-boosted trees trained with a Tweedie loss were among the strongest solutions, since the Tweedie distribution places mass at zero and on positive values.

Deep forecasters such as DeepAR handle sparse counts by using a negative binomial likelihood, and zero-inflated Poisson or hurdle models make the occurrence and size processes explicit. Because stocking decisions depend on tails, probabilistic forecasting is more useful here than point forecasts: the planner needs a quantile of lead-time demand, not its mean.

SituationRecommended approachReason
Few items, short historySBA or TSBRobust with little data
Thousands of related itemsGlobal boosted trees with Tweedie lossShares information across series
Rich covariates availableDeepAR or similar global modelUses prices, promotions, calendar features
Service-level targetsQuantile or bootstrap forecastsMatches safety stock logic
Declining productsTSBDetects obsolescence
Choosing an approach by data situation

Evaluation and common mistakes

Evaluation should reflect the decision the forecast supports. Point accuracy metrics often favor forecasts that are close to zero, so experts combine scaled errors with bias checks and simulate stock levels to see whether a target such as a 95 percent fill rate is achieved at acceptable inventory cost. Quantile forecasts are scored with pinball loss.

  • Using MAPE on series that contain zeros.
  • Rewarding zero forecasts because they minimize absolute error.
  • Ignoring Croston bias, which inflates safety stock.
  • Choosing a bucket too fine, such as daily data for parts sold a few times per year.
  • Forecasting the mean only when the stocking rule needs a high quantile.

The simple explanation

Some products sell rarely. A shop may sell a certain spare part twice in March and then nothing until July. Predicting such sales is hard because most days show zero.

Intermittent demand forecasting uses methods built for this pattern. They ask two questions. How often does a sale happen? And how big is it when it does? The answers help a business keep just enough stock without filling shelves with items nobody buys.

How it is used in practice

A regional distributor of industrial pump parts manages about 12,000 spare part numbers. Weekly sales show that roughly 70 percent of the parts have an ADI above 1.32, and many are lumpy. The planning team had been using simple exponential smoothing for everything, which produced frequent stockouts for critical seals and excess stock of obsolete gaskets.

The team classifies each part by ADI and CV², applies SBA to stable intermittent parts, TSB to parts showing declining demand, and a bootstrap of lead-time demand for lumpy items. Reorder points are set at the 95th percentile of lead-time demand. After two quarters of operation, the fill rate on critical parts rises while total inventory value falls, and several declining parts are flagged early for phase-out before they become dead stock.