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 type | Future values known | Example |
|---|---|---|
| Endogenous target | No, forecast by the model | Hourly load in several regions |
| Past-only covariate | No, only history available | Machine vibration readings |
| Known future covariate | Yes, planned or deterministic | Holidays, scheduled promotions |
| Forecast covariate | Approximately, from another model | Temperature forecast |
| Static covariate | Constant over time | Store size, product category |
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 family | Core idea | Strengths | Weaknesses |
|---|---|---|---|
| VAR | Each series regressed on lags of all series | Interpretable, Granger causality tests | Parameters grow quadratically with series count |
| VECM | VAR with long-run equilibrium terms | Handles cointegrated series | Requires careful stationarity analysis |
| ARIMAX and regression | Univariate model plus covariates | Simple, robust baseline | Ignores feedback between series |
| State-space models | Latent states drive observed series | Handles missing data, uncertainty | Complex estimation |
| Gradient-boosted trees | Lag and covariate features in tabular form | Strong accuracy, fast training | Needs manual feature engineering |
| Deep learning forecasters | Neural networks over windows of vectors | Scales to many series, nonlinear effects | Data-hungry, harder to audit |
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.
Multivariate compared with related approaches
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.
| Approach | Uses other series as inputs | Typical example |
|---|---|---|
| Univariate forecasting | No | ETS model fitted to one product |
| Global forecasting model | Shares parameters, not inputs | One network trained on thousands of products |
| Multivariate forecasting | Yes, jointly or as covariates | VAR over interest rates and inflation |
| Hierarchical forecasting | Linked by aggregation constraints | Store, region and national totals |
| Spatiotemporal forecasting | Yes, through a spatial graph | Traffic speed across road sensors |
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.
| Symptom | Likely cause | Fix |
|---|---|---|
| Excellent backtest, poor live accuracy | Leakage from future covariate values | Rebuild features with as-of data |
| Unstable coefficients | Too many series for the history length | Regularize, reduce dimensions, use priors |
| Worse than univariate baseline | Weak or spurious cross-series signals | Drop variables, prefer channel independence |
| Errors grow with horizon | Covariate forecasts compound errors | Use direct strategy or known covariates only |
| Breaks after regime change | Relationships between series shifted | Retrain often, monitor correlation drift |
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.