AI and Demand Forecasting

A lot of opinions have been published about how Artificial Intelligence (AI) can improve forecasts generated from demand history.  Most of this talk has been based on the belief that AI should be able to improve forecasts, but we need to gain a better understanding of when it can do so, and understand what is required to enable it to do so.

Forecasting software has included AI concepts for over 60 years.  Forecasting algorithms such as Exponential Smoothing and regression algorithms are examples of this and work well when forecasting demand that is stable.  Recognised specialists on the topic have gone so far as to state that AI can’t significantly improve forecasts generated from stable demand.

Non-stable demand can be described as demand that fluctuates and contains a lot of “noise”.  A major component of AI, Machine Learning, is promoted as being able to improve forecasts generated from non-stable demand because it can detect the noise and exclude it.

At Farsight Solutions, we have focused on providing functionality to clean the demand data that is used for generating forecasts so that tools like Machine Learning work better.  AI needs to know as much as it can about all the possible causes of variations in demand when calculating future forecasts – the more clearly different types of demand are recorded, the better AI can work.

Our External Events functionality is a good example of how we achieve this – it uses AI to identify increases (and decreases) in demand created by events such as promotions, so that changes in demand created by successful events can be easily extracted from historical demand to prevent it from distorting future forecasts.  AI can also help determine whether promotions for items affect the sales of other items.

An External Event can also be created to manage a shock such as Covid-19. Such shocks only occur occasionally, and the gap between them makes drawing conclusions from a previous shock, and applying them to future forecasts, very questionable.  It is therefore unrealistic to think AI can automatically manage such scenarios.

AI can however deliver real benefits when forecasts are affected by external factors such as weather or temperature that are measurable. However, this link must be programmed into the AI model – AI can’t examine every possible external event that might affect forecasts because this would require an enormous amount of analysis and computing power.

In all cases there are some fundamental features a forecasting system must have:

1)     Good, accurate data.  There is no point in using AI, or any system, to improve forecasts that are generated from bad data.

2)   The ability to generate forecasts at summary as well as detailed levels (top down, bottom up forecasting).  This dampens much of the noise that may exist in the historical demand.

3)   The ability to manually adjust forecasts.  There are many scenarios where defining the rules and guidelines that an AI system requires is a challenging exercise, while manually adjusting forecasts to manage obvious factors may take a fraction of time as long as the forecasting system facilitates it. Manual changes must however be flagged so that the accuracy of the forecasts with and without the manual changes can be measured and compared.

In summary, AI can help improve demand forecasts generated by a system but the costs and degree of difficulty in using it needs to be considered.  Also, your demand forecasting system must provide the functionality to complement it, especially where manual actions can reduce the complexity of AI models.

We believe that viewing AI as a “black box” that can generate accurate forecasts from any type of demand under any circumstances is a fallacy that understates the amount and complexity of work required to program the AI system.  Its real strength is when there are known factors that are likely to affect forecasts, and a lot of data needs to be continually analysed to determine the extent to which they do.