Multivariate forecasting

On this page 7

Multivariate forecasting is the prediction of future values of one or more time series using the joint history of several related variables, so that the model learns how the series influence each other over time. In artificial intelligence and statistics, it contrasts with univariate forecasting, where each series is predicted only from its own past.

The approach matters whenever variables move together: electricity demand and temperature, sales and promotions, or sensor readings within one machine. Capturing these cross-series dependencies can improve accuracy, but it also adds parameters, data requirements and new ways for a model to overfit.

How multivariate forecasting models dependencies

A multivariate forecaster receives a vector of observations at each time step rather than a single number, and it estimates a function that maps a window of past vectors to future values. The model can then exploit lagged cross-correlations, such as a rise in web traffic that precedes a rise in orders by two days.

Two configurations are common. In the multi-input, single-output setting, related variables serve as predictors for one target series. In the multi-input, multi-output setting, the model predicts all series jointly, which also lets it describe how forecast errors are correlated across variables.

The distinction between endogenous and exogenous variables shapes the design. Endogenous series are forecast by the model and feed back into each other, while exogenous covariates such as weather forecasts, prices or calendar events are treated as given inputs whose future values must be known or forecast separately.

Variable typeFuture values knownExample
Endogenous targetNo, forecast by the modelHourly load in several regions
Past-only covariateNo, only history availableMachine vibration readings
Known future covariateYes, planned or deterministicHolidays, scheduled promotions
Forecast covariateApproximately, from another modelTemperature forecast
Static covariateConstant over timeStore size, product category
Types of input variables in multivariate forecasting

Main model families

Multivariate methods range from classical linear models to deep neural networks, and the right choice depends mainly on the number of series, the amount of history and the need for interpretability. The table below compares the main families.

Model familyCore ideaStrengthsWeaknesses
VAREach series regressed on lags of all seriesInterpretable, Granger causality testsParameters grow quadratically with series count
VECMVAR with long-run equilibrium termsHandles cointegrated seriesRequires careful stationarity analysis
ARIMAX and regressionUnivariate model plus covariatesSimple, robust baselineIgnores feedback between series
State-space modelsLatent states drive observed seriesHandles missing data, uncertaintyComplex estimation
Gradient-boosted treesLag and covariate features in tabular formStrong accuracy, fast trainingNeeds manual feature engineering
Deep learning forecastersNeural networks over windows of vectorsScales to many series, nonlinear effectsData-hungry, harder to audit
Comparison of multivariate forecasting model families

Among deep models, DeepAR and the Temporal Fusion Transformer handle covariates and probabilistic outputs, while PatchTST and similar Transformer variants process many channels. A notable research finding is that channel-independent models, which share weights across series but forecast each one separately, often match or beat fully joint models on standard benchmarks.

The term multivariate is often confused with neighboring concepts in forecasting. The key question is whether the model uses information from other series at prediction time, not merely whether it is trained on many series.

ApproachUses other series as inputsTypical example
Univariate forecastingNoETS model fitted to one product
Global forecasting modelShares parameters, not inputsOne network trained on thousands of products
Multivariate forecastingYes, jointly or as covariatesVAR over interest rates and inflation
Hierarchical forecastingLinked by aggregation constraintsStore, region and national totals
Spatiotemporal forecastingYes, through a spatial graphTraffic speed across road sensors
How multivariate forecasting differs from related approaches

These categories can overlap. A global model with covariates is both global and multivariate, and hierarchical forecasts are often produced by multivariate models followed by forecast reconciliation.

Building and evaluating a multivariate forecaster

A sound workflow starts with a univariate baseline, such as a naive forecast or an ETS model, because multivariate models must earn their extra complexity. Practitioners then test whether candidate variables carry predictive information, using cross-correlation plots, Granger causality tests or feature importance from tree models.

  • Align timestamps and frequencies across series, and resample or aggregate before modeling.
  • Scale each series separately so that large-valued variables do not dominate the loss.
  • Respect information availability: use only covariate values that would have been known at forecast time.
  • Evaluate with time series cross-validation using rolling origins, never random splits.
  • Report scale-free metrics such as MASE per series, plus the aggregate, to expose series that the model handles poorly.

For probabilistic multivariate forecasts, evaluation should also check joint calibration, for example with the energy score, because marginal quantile accuracy alone does not show whether the model captures correlated risks.

Limitations and common mistakes

The most frequent failure is information leakage, where a covariate looks predictive only because its recorded value was revised or published after the forecast date. The table below lists further problems and their fixes.

SymptomLikely causeFix
Excellent backtest, poor live accuracyLeakage from future covariate valuesRebuild features with as-of data
Unstable coefficientsToo many series for the history lengthRegularize, reduce dimensions, use priors
Worse than univariate baselineWeak or spurious cross-series signalsDrop variables, prefer channel independence
Errors grow with horizonCovariate forecasts compound errorsUse direct strategy or known covariates only
Breaks after regime changeRelationships between series shiftedRetrain often, monitor correlation drift
Common problems in multivariate forecasting

Correlation between series is not a stable law. Relationships that held for years can weaken after market shifts, policy changes or new products, so multivariate systems need ongoing monitoring of both accuracy and input relationships.

The simple explanation

Multivariate forecasting means predicting the future using several clues at once. A model does not look only at past sales. It also looks at weather, prices and holidays.

Think of a farmer guessing tomorrow’s harvest. Yesterday’s harvest helps. But rain, sunshine and temperature help too. Using all of them together usually gives a better guess than any single clue. The catch is that more clues also bring more chances to be fooled by coincidences.

How it is used in practice

A regional grid operator forecasts hourly electricity demand for the next 48 hours in five supply zones. A univariate model per zone performs well on ordinary days but misses sharp peaks during heat waves and holiday weekends.

The analytics team builds a multivariate gradient-boosted model that uses lagged demand from all five zones, temperature and humidity forecasts, a holiday calendar and the hour of the day. Because neighboring zones react to the same weather fronts, lagged demand in one zone helps predict another. The team evaluates the model with rolling-origin backtests over two years and compares it with a seasonal naive baseline.

The multivariate model reduces peak-hour error by roughly a quarter compared with the univariate approach. The operator schedules reserve generation more precisely and buys less expensive balancing power. The team also sets an alert that triggers when the temperature forecast deviates sharply from observations, since covariate errors flow directly into demand forecasts.