Time-series model
A time-series model learns from data recorded in time order, such as sales, prices, sensor readings or electricity demand, usually to forecast future values or spot unusual ones.
A time series is a sequence of measurements taken in order: hourly electricity demand, daily sales, a patient's heart rate. Google's machine learning glossary describes time series analysis as the part of machine learning and statistics that analyses such temporal data. Order is the whole point. Nearby values are related, and patterns such as trends, weekly or seasonal cycles and one-off shocks are what a model has to capture. Methods that treat each row of data as independent miss that structure.
Statistical models still do much of the everyday work. Rob Hyndman and George Athanasopoulos's textbook Forecasting: Principles and Practice, free to read online in its third edition, covers the standard toolkit: breaking a series into trend and seasonal parts, exponential smoothing, ARIMA models and regression with time-based effects. Machine learning approaches range from gradient-boosted trees fed with past values to recurrent networks and transformers.
The newest entrants are foundation models pretrained on huge collections of time series so they can forecast new series without training on them. In February 2024 Google Research described TimesFM, a 200 million parameter decoder-only model pretrained on 100 billion real-world time points, largely from Google Trends and Wikipedia page views; it reported zero-shot accuracy approaching supervised models trained on each dataset. Chronos, published in March 2024, turns values into tokens by scaling and rounding them into a fixed vocabulary, then trains language-model architectures with 20 million to 710 million parameters on them; on a 42-dataset benchmark its authors reported zero-shot results on unseen datasets comparable to, and occasionally better than, methods trained on them.
Scepticism is warranted for a different approach: repurposing general chatbot-style language models for forecasting. A NeurIPS 2024 paper tested three such methods and found that removing the language model, or replacing it with a basic attention layer, did not hurt accuracy and often improved it, while saving a great deal of computation. Purpose-built time-series models and borrowed text models are not the same thing.
Take a retailer forecasting weekly demand for each product. The model has to handle holidays, promotions and new product launches, and a useful forecast gives a range rather than a single number, since stock decisions depend on how wrong it might be. Whatever the method, the test is to check its past forecasts against what actually happened and against simple baselines such as repeating last year's figures.
It is a model built for data collected in time order, such as daily sales or hourly temperatures. It learns patterns like trends and seasonal cycles from the past and uses them to forecast future values or flag anomalies. Examples range from classical ARIMA and exponential smoothing to neural networks and pretrained foundation models. They are large models pretrained on many different time series so they can forecast a new series without being trained on it, known as zero-shot forecasting. Examples include Google's TimesFM, described in 2024, and Chronos. Their makers report accuracy close to models trained specifically on each dataset. General chatbot-style language models have not proved especially useful. A 2024 study of three LLM-based forecasting methods found that removing the language model did not hurt accuracy and often improved it. Models designed and pretrained specifically for time series are a separate category. ARIMA, short for autoregressive integrated moving average, is a classical statistical model for time series. It aims to describe the autocorrelations in the data, the way each value relates to earlier ones, often after differencing the series to remove trends. Hyndman and Athanasopoulos stress that it complements exponential smoothing rather than being more general than it.Common questions
What is a time-series model?
What are time-series foundation models?
Are large language models good at time-series forecasting?
What is ARIMA?
Search for "time series forecasting", "ARIMA vs machine learning", "time series foundation model" or the names of specific models such as TimesFM and Chronos. Hyndman and Athanasopoulos's free online textbook is a trusted grounding in the classical methods, and papers on arXiv and from conferences such as NeurIPS and ICML cover the newer models. Be wary of forecasting claims that are not compared against simple baselines on held-out data.Finding more
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.