← Research/Consumer Goods

Demand sensing vs demand forecasting: what the M5 competition taught CPG planners

Solnix MediaJun 2, 2026 · Updated Oct 19, 20269 min read

42,840

Walmart sales series forecast in the M5 accuracy competition

Source: International Journal of Forecasting

Traditional CPG forecasting projects monthly volume from shipment history. Demand sensing adds recent signals, such as point-of-sale data, promotions, prices, weather and events, to correct the short-term forecast. The M5 competition, run on ten years-plus of daily Walmart sales, offers hard evidence on what works [1].

CONSUMER GOODS · DEMAND42,840Walmart sales series forecast in the M5 competitionWinning methodsMostly LightGBMOne model across seriesBeat one per seriesShort-term accuracyDamps the bullwhipMakridakis et al. · International Journal of Forecasting
01

What M5 showed

The M5 accuracy competition asked teams to forecast 42,840 hierarchical daily sales series from Walmart stores in three US states [1]. The organisers' findings: most of the top entries used LightGBM gradient-boosted trees; models that learned across many series beat per-series models; and explanatory variables such as prices, promotions and calendar events improved accuracy.

02

Sensing and forecasting are different jobs

A demand sensing model corrects the next few days or weeks using the latest signals. A statistical forecast sets the baseline for months ahead. Hyndman and Athanasopoulos's open textbook remains the practical reference for the baseline methods and how to evaluate them [2]. Most teams need both, with sensing overriding the baseline only in the short horizon.

03

Why short-term accuracy matters upstream

Lee, Padmanabhan and Whang described the bullwhip effect: small changes in consumer demand become large swings in orders as they move up the supply chain, through order batching, price promotions and shortage gaming [3]. Better short-term demand signals, shared with suppliers, reduce that amplification.

04

Getting started

  • Get daily point-of-sale or sell-out data for the main customers, with promotions and prices.
  • Build one model across SKUs and locations, with calendar, price and promotion features.
  • Measure forecast accuracy and bias at the level decisions are made: SKU by DC by week.
  • Feed the sensed forecast into replenishment, not just a dashboard.

Sources

  1. [1]M5 accuracy competition: Results, findings, and conclusions (Makridakis et al., 2022) · International Journal of Forecasting
  2. [2]Forecasting: Principles and Practice, 3rd edition (Hyndman & Athanasopoulos) · OTexts
  3. [3]The Bullwhip Effect in Supply Chains (Lee, Padmanabhan & Whang, 1997) · MIT Sloan Management Review

Found this useful?

Share the key finding on X.

Post on X

Implement this

Ready to deploy this at your organisation?

Talk to our AI team →

More from Solnix