Time series foundation model

Also known as: pretrained forecasting model

On this page 7

A time series foundation model is a large neural network pretrained on billions of observations from many domains so that it can forecast new, previously unseen series without task-specific training. In time series & forecasting, such a model, also called a pretrained forecasting model, plays the role that large language models play for text: one general model replaces many models fitted series by series.

Prominent examples include TimeGPT, Chronos, TimesFM, Moirai, Lag-Llama and MOMENT, released between 2023 and 2024. Their central promise is zero-shot forecasting: a user passes a history window and receives point or probabilistic forecasts immediately, with optional fine-tuning when more accuracy is needed.

How a time series foundation model works

A time series foundation model learns general temporal patterns such as trend, seasonality, level shifts and noise structure from a very diverse pretraining corpus. At inference time it reads a context window of recent values and outputs the next values for a chosen forecast horizon.

Most models are built on the Transformer architecture and differ mainly in how they turn real numbers into model inputs. Because series have arbitrary scales, every model first applies instance normalization, such as mean scaling or standardization, so that a series of daily sales and a series of megawatt loads look comparable.

RepresentationHow it worksExample models
PatchingConsecutive points are grouped into patches that act as tokensTimesFM, Moirai, MOMENT
Value quantizationScaled values are mapped to a fixed vocabulary of binsChronos
Lag featuresEach step is represented by selected past valuesLag-Llama
Direct embeddingEach time step is projected into a vectorTimeGPT and early variants
Common input representations

Pretraining uses self-supervised objectives: the model predicts future patches, masked segments or the next token of a quantized series. No human labels are needed, which allows corpora of tens to hundreds of billions of time points drawn from energy, traffic, retail, finance, weather and synthetic generators.

Main design choices and variants

Time series foundation models differ in architecture, output type and covariate support, and these choices determine where each model fits. The table summarizes the most influential public designs in broad terms.

ModelArchitectureOutputNotable feature
ChronosEncoder-decoder based on T5Probabilistic samplesTreats forecasting as language modeling over bins
TimesFMDecoder-only TransformerPoint and quantilesLong output patches for fast long horizons
MoiraiMasked encoderMixture distributionAny-variate attention for multivariate input
Lag-LlamaDecoder-only, Llama styleStudent-t distributionLag-based tokens for univariate series
MOMENTEncoder with maskingReconstructionAlso supports classification and anomaly detection
Tiny Time MixersMLP-Mixer, under 1M parametersPoint forecastsRuns cheaply on CPUs
Representative time series foundation models

Model sizes range from under one million to several hundred million parameters, which is small compared with language models. Larger models usually improve accuracy only modestly, because forecasting signal is limited by noise in the data rather than by model capacity.

Comparison with classical and deep-learning forecasters

A time series foundation model is best understood as an extreme form of a global forecasting model: instead of one model per series or per dataset, one model is shared across all domains. This changes the workflow more than the mathematics.

AspectLocal statistical modelsDataset-trained deep modelsFoundation models
ExamplesARIMA, ETS, Theta methodDeepAR, N-HiTS, PatchTSTChronos, TimesFM, Moirai
Training requiredFit per seriesTrain per datasetNone for zero-shot use
Cold-start seriesWeak with short historyModerateStrong from prior knowledge
InterpretabilityHighLow to moderateLow
Inference costVery lowLowModerate to high
Domain adaptationManual model selectionRetrainingFine-tuning or in-context examples
How foundation models differ from established approaches

Benchmarks such as the Monash archive, GIFT-Eval and the M competitions show that foundation models often match or beat tuned baselines zero-shot, measured by MASE and quantile losses. However, strong statistical ensembles remain competitive on many datasets, so the advantage is real but not universal.

Choosing and deploying a pretrained forecasting model

The right choice depends on data volume, horizon, covariates and latency limits. A sound process always compares the foundation model against a seasonal naive forecast and a classical baseline using time series cross-validation.

SituationRecommended approachReason
Many short or new seriesZero-shot foundation modelPretrained knowledge offsets short history
Long, stable historyClassical or dataset-trained model firstLocal fit often suffices at lower cost
Strong exogenous driversModel with covariate support or fine-tuningMany zero-shot models ignore covariates
Need for uncertaintyProbabilistic model such as Chronos or MoiraiQuantiles support inventory and risk decisions
Edge or CPU deploymentCompact model such as Tiny Time MixersLow memory and latency
Decision guide for practical use

Fine-tuning on in-domain data for a few epochs typically narrows the remaining gap to specialized models. Teams should also set the context length carefully: too short a window hides seasonality, while too long a window adds cost without benefit.

Limitations and open problems

Time series foundation models have clear failure modes that experienced forecasters check before deployment.

  • Benchmark leakage: public evaluation datasets may overlap with pretraining corpora, which inflates reported zero-shot accuracy.
  • Weak covariate handling: many models are univariate and cannot use prices, promotions or weather unless fine-tuned.
  • Structural breaks: a pretrained prior cannot anticipate events absent from history, such as policy changes.
  • Intermittent demand: series with many zeros remain difficult, and Croston-style methods may still win.
  • Opacity: forecasts are hard to explain to planners compared with decomposition-based models.

Research continues on multivariate pretraining, scaling laws for temporal data and better synthetic corpora, so model rankings change quickly and regular re-evaluation is advisable.

Licensing and governance also matter. Some models are open weights under permissive licenses, while others are available only through a commercial API, which sends operational data to an external provider. Regulated industries should confirm data residency and retention terms before they forecast sensitive series with a hosted service.

A non-technical view

Most forecasting tools must study your own data before they can predict anything. A time series foundation model works differently. It has already studied millions of different series, from electricity use to shop sales.

You show it the recent history of your numbers. It then predicts what comes next, often with a range of likely values. Think of an experienced analyst who has seen many charts and can spot familiar patterns at once.

The key idea is reuse. One pretrained model serves many forecasting tasks, but it still needs checking against simple methods.

A concrete example

A regional grocery chain launches 400 new products every season and must order stock for them. Each new product has only six to eight weeks of sales history, which is too short for ARIMA or exponential smoothing to detect reliable weekly patterns.

The planning team runs a probabilistic time series foundation model zero-shot on the weekly sales of every new product, with a horizon of 12 weeks. The model returns the 10th, 50th and 90th percentiles, and planners order toward the 90th percentile for perishable bestsellers and toward the median for slow movers.

Compared with the previous rule of copying a similar product’s sales, backtests over two seasons show a lower MASE and fewer stockouts. The team keeps a seasonal naive benchmark in its monitoring so that any degradation is detected early.