Demand Forecasting with AI: Methods, Accuracy, and When Not to Trust It
Back to InsightsTechnology

Demand Forecasting with AI: Methods, Accuracy, and When Not to Trust It

M

Merkmetryx Team

Senior Research Analyst

30 November 20267 min read

Compare AI demand forecasting methods, see what the M5 competition found, learn how to read an accuracy claim, and know when a forecast deserves suspicion.

Every demand forecast is wrong. The useful questions are by how much, in which direction, and whether you would know before it cost you. AI has made forecasting faster and, in the right conditions, more accurate. It has not removed the need to ask those questions.

This article covers the main methods behind AI demand forecasting, what the largest public forecasting competition found, how to read an accuracy claim, and the situations in which a forecast deserves suspicion. It extends our guide to predictive market intelligence, which explains how forecasting fits alongside anomaly detection and early-warning systems.

What Is AI Demand Forecasting?

AI demand forecasting uses machine learning models to estimate future demand for products or categories from sales history and other signals, such as prices, promotions, seasonality, search interest, and survey-based purchase intent. A good forecast gives a range, not just one number, and states how its accuracy was measured.

The Main Methods

MethodHow it worksWorks well forWatch out for
Naive and seasonal naiveNext period equals the last period, or the same period last yearThe benchmark every other method must beatIgnores everything else
Exponential smoothingWeights recent observations more heavily, with trend and seasonal termsStable products with clear seasonalitySudden changes in the market
ARIMA-type modelsModels patterns in a series' own past values and errorsSingle series with long, regular historiesMany short or sparse series
Gradient-boosted trees (e.g., LightGBM)Learns from many series and outside variables at onceLarge ranges with price and promotion dataNeeds careful feature design and validation
Neural networksLearns complex patterns across very large datasetsBig, data-rich portfoliosHard to explain and data hungry
Judgment-adjusted forecastsA planner adjusts the model for known future eventsLaunches, contracts, one-off eventsOptimism and internal politics

What the Biggest Public Forecasting Competition Found

The M5 competition, reported in the International Journal of Forecasting in 2022, asked teams to forecast 42,840 time series of unit sales from Walmart. It drew 5,507 teams from 101 countries. Spyros Makridakis and his coauthors reported several findings that matter for anyone buying forecasts:

  • Machine learning won. The authors describe M5 as the first competition in the series where all the top-performing methods were "pure" machine learning ones, and most used LightGBM.
  • The margin was real. The winning team beat the best statistical benchmark by 22.4 percent, and all of the top 50 submissions beat it by more than 14 percent.
  • Learning across series helped. Essentially all of the top 50 methods trained models across many related series rather than one model per product.
  • Outside information helped. The authors report that all winning submissions used external information to improve their forecasts.
  • Combining models helped. The winner combined several models, and an equal-weighted combination of the best five submissions was about 2 percent more accurate than the winner.

There is a catch. These were established retail products with long sales histories. The results say much less about a new product, a new market, or a category in upheaval.

How to Read an Accuracy Claim

"95 percent accurate" sounds definitive, but it means little until you know how it was measured. Ask five questions:

  1. Which error measure? Accuracy figures are usually derived from an error measure, so ask which one. Percentage errors such as the mean absolute percentage error (MAPE) divide by actual sales, so they swing wildly when sales are small and cannot be calculated when sales are zero. For intermittent demand, Rob Hyndman notes that some traditional measures "can give infinite or undefined values." Hyndman and Anne Koehler proposed the mean absolute scaled error (MASE) as a standard for comparing accuracy across many series.
  2. At what level? A forecast for a whole category is far easier than a forecast for one product in one store. Ask for accuracy at the level you plan at.
  3. Over what horizon? Next week is easier than next quarter.
  4. In or out of sample? Accuracy must be measured on periods the model did not see during training, ideally over a rolling window.
  5. Compared with what? A forecast should beat a simple benchmark such as seasonal naive. If it does not, it adds cost without adding accuracy.

MerkMetryx, for example, reports 94.2 percent demand forecast accuracy "validated against 12-month rolling actuals," which answers part of question 4. The same five questions apply to any provider, including us, and they are worth asking before you build plans on the number.

Where Market Research Improves the Model

Sales history tells a model what people bought. It cannot tell the model what they will want next, especially when something new enters the picture. Research supplies the missing inputs:

  • New products. With no sales history, concept tests and purchase intent from a representative sample are the main leading inputs.
  • Price changes. Price sensitivity methods such as Van Westendorp and conjoint analysis estimate how demand responds to prices the market has not yet seen.
  • Shifting preferences. Tracking studies and open-ended responses show changes in why people buy before those changes reach sales.

These inputs help only if they are clean and connected. Our articles on automated data collection and automated data cleaning cover both.

When Not to Trust the Forecast

  • There is little or no history. New products and new markets have no pattern to learn from.
  • The world just changed. A new competitor, a supply shock, or a regulation can break the patterns a model learned. Our predictive intelligence guide covers model drift and the Google Flu Trends warning.
  • Sales are not demand. When products sell out, sales records show what was available, not what customers wanted. A model trained on those periods learns to underforecast.
  • Demand is lumpy. Products that sell a few units at irregular intervals are hard to forecast, and percentage accuracy figures for them can mislead.
  • Nobody tracks the error. A forecast whose past errors are not recorded is a guess with a chart.

A Forecast Review Checklist

Before you use a forecast for a major decision, confirm that:

  1. it beats a simple benchmark on recent, out-of-sample periods;
  2. accuracy is reported at the level and horizon you plan at;
  3. it comes with a range, and the range has held about as often as it claims;
  4. known future events, such as promotions and launches, are built in;
  5. someone owns the forecast and records its errors; and
  6. everyone knows whether it is informing a decision or making one.

That last point is the line between predictive and prescriptive analytics, which our article on the four maturity levels of market intelligence explains.

Frequently Asked Questions

What is AI demand forecasting?

It is the use of machine learning models to estimate future demand from sales history and other signals, such as prices, promotions, search interest, and purchase intent, with a stated range and a documented accuracy measure.

Is machine learning better than statistical forecasting?

In the M5 competition, the top methods were all machine learning, and the winner beat the best statistical benchmark by 22.4 percent. Those were mature retail products with long histories, so the results say less about new or sparse products. Always compare against a benchmark.

How accurate should a demand forecast be?

There is no single target. Accuracy depends on the product, the level of detail, and the horizon. Ask how accuracy was measured, on what data, and against which benchmark.

Can survey data improve demand forecasts?

Yes, especially where history is thin. Purchase intent, concept tests, and price sensitivity studies supply leading inputs that sales data cannot, such as reactions to new products or new prices.

To see demand forecasting with confidence scoring on your own category, explore Merkmetryx solutions.