Forecasting

Forecasting is predicting the future values of something that changes over time, such as sales, electricity demand or the weather, from past data and known drivers.

A forecast is a prediction about a quantity at a future time: tomorrow's electricity demand, next quarter's sales, the temperature in Paris next Tuesday. Most forecasting works from a time series, a sequence of measurements taken at regular intervals, together with whatever is known about what drives it, such as calendar effects, prices or weather.

Some things are far easier to forecast than others. Rob Hyndman and George Athanasopoulos, in their textbook Forecasting: Principles and Practice, name four factors: how well the drivers are understood, how much data is available, how similar the future is to the past and whether the forecast itself can change the outcome. Short-term electricity demand scores well on all four. Exchange rates score well only on data, and widely publicised forecasts move the rates themselves, which makes forecasting their daily rises and falls about as predictable as a coin toss.

Methods range from simple statistical models that capture trend and seasonality to machine learning models trained across many related series. AI has made striking gains in some areas. In a December 2022 paper led by Remi Lam, the GraphCast model, trained on historical reanalysis data, produced 10-day global weather forecasts at 0.25 degree resolution in under a minute and, its authors reported, significantly outperformed the most accurate operational deterministic systems on 90 per cent of 1,380 verification targets. In October 2023 Abhimanyu Das and colleagues described TimesFM, a decoder-only foundation model pre-trained on a large corpus of time series, which they reported came close to models trained on each dataset individually without any task-specific training.

A forecast is only as good as its track record. The honest test is how a method would have performed on past periods it did not see, a practice known as backtesting, and a useful forecast comes with a sense of its likely error rather than a single number. Patterns learned from the past break when circumstances change, as they can in a financial or political crisis.

In AI news, forecasting appears in two forms: AI models that forecast things such as weather, demand or energy use, and people forecasting the future of AI itself. The first can be tested against what actually happens. The second usually cannot be checked until much later, which is worth remembering when either kind is presented with confidence.

Common questions

What is the difference between forecasting and prediction?

Forecasting is prediction about the future, usually of a quantity that changes over time. Prediction is broader: a model that classifies a photo or estimates a house price is making a prediction, but not a forecast.

Is AI better than traditional methods at forecasting?

Sometimes. AI weather models such as GraphCast have matched or beaten established systems on many measures, and foundation models for time series have performed well without task-specific training. Any comparison should use the same data and time periods, since a method that does well in one setting can do worse in another.

What makes something hard to forecast?

Hyndman and Athanasopoulos name four factors: poor understanding of what drives it, little data, a future that differs from the past and forecasts that influence the outcome. Exchange rates suffer from most of these; electricity demand from almost none.

What is a time series foundation model?

It is a large model pre-trained on many different time series so it can forecast new series without being trained on them first. TimesFM, described in a 2023 paper, is one example: a decoder-only model whose authors reported strong zero-shot accuracy across public datasets.

Finding more

Search for "time series forecasting", "forecast accuracy" or "AI weather forecasting". Hyndman and Athanasopoulos's free online textbook is a standard introduction, and research papers on arXiv describe new AI models. Look for comparisons made on the same data and time periods, and be wary of forecasts presented without any measure of uncertainty or past accuracy.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.