Global forecasting model

Also known as: cross-learning

On this page 7

A global forecasting model is a single model whose parameters are estimated jointly on many related time series, so that patterns learned from one series inform the forecasts of all the others. In time series forecasting with artificial intelligence, it stands in contrast to the local model, in which a separate model such as ARIMA or exponential smoothing is fitted to each series in isolation.

The approach is also described as cross-learning, because information flows across series. Global models became the dominant strategy in large-scale forecasting after gradient-boosted trees and deep-learning forecasters won or placed highly in the M4 and M5 competitions, where thousands of retail, financial and demographic series had to be predicted together.

How a global forecasting model learns across series

A global model works by turning every series into training windows of the same shape and pooling those windows into one dataset. Each window contains a lookback segment of past values as inputs and the next values within the forecast horizon as targets, so the model learns one shared mapping from recent history to future values.

Because series differ in level and scale, the windows are usually normalized per series or per window, for example by dividing by the mean of the lookback segment. Without this step, high-volume series would dominate the loss and the model would learn mainly their behavior. Static attributes, such as product category or store region, and series identifiers or embeddings let the model specialize while still sharing most of its parameters.

The table below summarizes the core design elements of a typical global model.

ComponentRoleTypical choice
Lookback windowDefines how much history each input sees1 to 4 seasonal cycles
Scaling schemePuts series of different magnitudes on one scaleMean, standard or robust scaling
Lag and calendar featuresEncode recent values and seasonalityLags, day of week, holidays
Static covariatesDescribe fixed properties of each seriesCategory, location, store size
Shared learnerMaps inputs to forecasts for all seriesLightGBM, DeepAR, N-BEATS, TFT
Core components of a global forecasting model

Global versus local forecasting models

The decisive difference between the two strategies is how many observations each parameter sees. A local model estimates a few parameters from one short history, while a global model estimates many parameters from the combined history of all series, which reduces variance and allows far more flexible model classes.

AspectLocal modelGlobal model
Models trainedOne per seriesOne for the whole collection
Short or new seriesPoor, little data to fitGood, borrows strength from others
Model complexityLow, few parametersHigh, nonlinear learners possible
Training cost at scaleGrows linearly with series countOne large training run
InterpretabilityHigh, explicit componentsLower, needs explanation tools
Heterogeneous seriesHandled naturallyNeeds grouping or covariates
Comparison of local and global strategies

Theoretical work by Montero-Manso and Hyndman showed that a global model can approximate any set of local models if it has enough capacity, so globality does not necessarily sacrifice accuracy on individual series. In practice, the advantage is largest when series are numerous, short and related, as in retail demand or web traffic.

Model families used as global forecasters

Almost any supervised learner can serve as a global forecaster, but a few families dominate practice. Gradient-boosted trees on engineered features remain a strong baseline, while deep-learning forecasters learn temporal representations directly from raw windows.

FamilyExamplesMain strengthTypical caution
Gradient-boosted treesLightGBM, XGBoostFast, robust, handles covariatesRequires manual lag features
Autoregressive RNNsDeepARNative probabilistic outputSlower recursive inference
Fully connected stacksN-BEATS, N-HiTSStrong univariate accuracyLimited covariate support
Attention-based modelsTemporal Fusion Transformer, PatchTSTLong context, interpretable attentionData-hungry and costly
Pretrained foundation modelsChronos, TimesFM, TimeGPTZero-shot forecasts on new dataMay miss domain specifics
Typical global model families

Time series foundation models can be seen as the extreme form of globality: they are trained across millions of series from many domains and then applied to series they have never seen. A dataset-specific global model, by contrast, shares information only within one related collection.

When to choose a global model

A global model is the right choice when there are many series with a shared data-generating process and limited history per series. It is less attractive when there are only a few long, distinctive series, where well-tuned local models are cheaper and easier to explain.

SituationRecommended strategyReason
Thousands of SKUs, short historiesGlobal modelShared patterns compensate for sparse data
Frequent new productsGlobal model with static covariatesCold-start forecasts from similar items
A handful of long macro seriesLocal or ensembleLittle to share, interpretability valued
Mixed domains in one portfolioSeveral global models by clusterAvoids negative transfer
Strict audit requirementsLocal baseline plus global challengerExplainable fallback for review
Decision guide for forecasting strategy

Evaluation should use time series cross-validation with rolling origins and scale-free metrics such as MASE or sMAPE, so that results across series of different magnitudes can be averaged fairly. Comparing the global model with a naive forecast and a local baseline guards against overstated gains.

Limitations and common pitfalls

The main risk of a global model is negative transfer: when the collection mixes unrelated series, shared parameters average away the behavior of minority groups. Other frequent problems arise from data preparation rather than from the learner itself.

  • Missing normalization lets a few large series dominate training.
  • Leakage through scaling occurs when statistics are computed on the forecast period.
  • Uneven series lengths bias sampling toward long histories unless windows are weighted.
  • Hidden heterogeneity masks poor accuracy on small segments behind good aggregate scores.
  • Intermittent demand with many zeros may need a dedicated loss or a separate model.

Reporting accuracy by segment and not only in aggregate is the most reliable way to detect these problems before deployment.

The simple explanation

Imagine a shop chain that must guess next week’s sales for ten thousand products. The old way builds a separate guessing tool for each product. Many products have only a few months of history, so those tools guess poorly.

A global forecasting model is one shared tool for all products. It studies every sales history together. It notices that sunscreen and ice cream rise in summer, or that sales jump before holidays. It then uses those shared lessons to help products with little history. A new product can borrow knowledge from similar older ones.

How it is used in practice

A grocery retailer with 240 stores and about 18,000 products needs daily demand forecasts for 14 days ahead to plan replenishment. Fitting exponential smoothing separately to more than 4 million store-product series takes hours, and new products have too little history to fit at all.

The data science team trains one LightGBM global model on all series, using lags, rolling means, calendar and holiday features, price, promotion flags and product category as inputs, with each series scaled by its recent mean. Rolling-origin validation over eight weeks shows that the global model reduces weighted MASE by about 15 percent against the local baseline, with the largest gains on products younger than three months. Training completes in under an hour on one server, and planners now receive forecasts for newly listed items on their first day in the catalog.