Direct forecasting strategy

Also known as: direct multi-step forecasting

On this page 7

The direct forecasting strategy, also called direct multi-step forecasting, produces predictions for several future periods by training one dedicated model per horizon step: one model predicts the value one step ahead, another predicts two steps ahead, and so on up to the full forecast horizon. Each model maps the information available at the forecast origin straight to its own target, so no forecast is ever reused as an input.

In artificial intelligence and in time series & forecasting practice, the direct strategy is one of the standard answers to the multi-step forecasting problem. It is usually contrasted with recursive forecasting, which applies a single one-step model repeatedly, and it trades higher training cost for freedom from compounding errors.

How the direct strategy builds its models

The direct strategy reframes forecasting as H separate supervised regression tasks, where H is the number of steps in the horizon. For step h, the training target is the value observed h periods after the forecast origin, and the inputs are the same features available at that origin, such as lag features, rolling window features, calendar variables and known future covariates.

Building the training set means shifting the target column by h positions for each model while keeping the feature matrix fixed. Rows near the end of the series lose their targets, so the model for a long horizon trains on slightly fewer examples than the model for step one. At prediction time, all H models run on the same input vector, and their outputs are concatenated into the full forecast path.

The following table shows how training pairs differ across horizon steps for a daily series with a seven-day horizon.

ModelInputs at origin tTargetRows lost at series end
Model for h = 1Lags, calendar, covariatesValue at t + 11
Model for h = 3Same feature vectorValue at t + 33
Model for h = 7Same feature vectorValue at t + 77
Training targets for each model in a seven-day direct setup

Direct versus recursive and other multi-step strategies

The direct strategy differs from the alternatives mainly in how errors and dependencies propagate along the horizon. A recursive model feeds its own one-step predictions back as lags, so a small early error can grow with every step. The direct approach avoids that feedback, yet each of its models ignores what the others predict, which can produce jagged or inconsistent paths.

Researchers have also proposed hybrids. DirRec trains direct models that additionally receive earlier-step predictions, while the multiple-input multiple-output (MIMO) strategy trains a single model that emits the whole vector at once, as many neural forecasters such as N-BEATS do. The table below compares these options.

StrategyModels trainedError accumulationMain drawback
DirectH separate modelsNone through inputsCost grows with horizon
RecursiveOne one-step modelCompounds across stepsBias at long horizons
DirRecH models with fed-back outputsPartialComplex and slow to train
MIMOOne multi-output modelNone through inputsShared capacity across steps
Seq2seq neuralOne encoder-decoderDepends on decoder designNeeds more data and tuning
Comparison of common multi-step forecasting strategies

The bias and variance trade-off explains the usual results. Direct models are less biased because each one optimizes its own horizon loss, but they can have higher variance because they do not share information. Empirical studies, including analyses of M competition data, show no universal winner; the best choice depends on series length, noise level and model class.

Configuring a direct forecasting pipeline

A reliable direct setup depends on careful feature alignment and honest validation. Every feature must be known at the forecast origin; using a value from t + 2 to predict t + 3 introduces look-ahead leakage that inflates offline accuracy and collapses in production.

The parameters below have the strongest effect on accuracy and cost in practice.

ParameterTypical settingEffect
Horizon length H7 to 90 stepsSets the number of models
Lag windowOne to several seasonal cyclesControls memory of the past
Model classGradient boosting or linear modelsBalances speed and flexibility
Horizon groupingShared model for step blocksCuts cost for long horizons
Validation schemeRolling-origin cross-validationPrevents leakage in evaluation
Key configuration choices for direct forecasting

Libraries such as sktime offer ready reduction wrappers that convert any tabular regressor into a direct forecaster. For very long horizons, practitioners often group neighboring steps, for example one model per week of a 13-week horizon, to keep training time manageable while retaining most of the direct benefit. Evaluation should report metrics such as MASE or sMAPE per horizon step, because errors almost always rise with distance from the origin.

When to choose the direct strategy

The direct strategy is a strong choice when long-horizon accuracy matters and enough history exists to train several models. It is less attractive for very short series or when forecasts must be smooth and internally consistent.

SituationRecommended strategyReason
Long horizon, nonlinear dynamicsDirectAvoids compounding errors
Short series, few observationsRecursiveUses all rows in one model
Coherent path requiredMIMO or seq2seqModels joint step structure
Very long horizon, tight budgetGrouped direct modelsBalances cost and accuracy
Exogenous covariates known aheadDirect with covariatesEach model uses its own future inputs
Decision guide for multi-step strategy selection

Limitations and common pitfalls

The most frequent problems come from ignoring dependencies between steps and from leaking information during training. Practitioners should watch for the following issues.

  • Inconsistent forecast paths: neighboring steps may disagree sharply, which confuses planners.
  • Linear growth in cost: H models mean H times the training, storage and monitoring work.
  • Shrinking training sets: long horizons lose rows, which hurts short series most.
  • Leaky features: rolling statistics computed past the origin create misleading accuracy.
  • Probabilistic incoherence: separate quantile models per step do not describe a joint distribution.

Stripped to the essentials

Suppose you want to predict sales for each of the next seven days. One way is to guess tomorrow, then use that guess to predict the day after. Mistakes then pile up along the way.

The direct strategy works differently. It trains a separate specialist for each day ahead. One specialist only predicts tomorrow. Another only predicts the day after. No guess builds on another guess, so early mistakes do not spread. The price is that you must build and maintain more models.

Where it is applied

A regional electricity utility forecasts hourly load for the next 48 hours to schedule generation and buy power on the day-ahead market. An earlier recursive model performed well for the first few hours but drifted badly by the next afternoon, because errors in predicted temperature-driven peaks fed back into later steps.

The analytics team switched to a direct strategy with 24 gradient boosting models, each covering two consecutive hours, and gave every model the weather forecast valid for its own target time. Inputs included lags at 24 and 168 hours, holiday flags and calendar features, and validation used a rolling origin across a full year.

Error at the 30 to 48 hour range fell noticeably, and planners received forecasts whose accuracy degraded smoothly with lead time. The team accepted longer nightly retraining as the cost of the improvement.