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.
| Model | Inputs at origin t | Target | Rows lost at series end |
|---|---|---|---|
| Model for h = 1 | Lags, calendar, covariates | Value at t + 1 | 1 |
| Model for h = 3 | Same feature vector | Value at t + 3 | 3 |
| Model for h = 7 | Same feature vector | Value at t + 7 | 7 |
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.
| Strategy | Models trained | Error accumulation | Main drawback |
|---|---|---|---|
| Direct | H separate models | None through inputs | Cost grows with horizon |
| Recursive | One one-step model | Compounds across steps | Bias at long horizons |
| DirRec | H models with fed-back outputs | Partial | Complex and slow to train |
| MIMO | One multi-output model | None through inputs | Shared capacity across steps |
| Seq2seq neural | One encoder-decoder | Depends on decoder design | Needs more data and tuning |
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.
| Parameter | Typical setting | Effect |
|---|---|---|
| Horizon length H | 7 to 90 steps | Sets the number of models |
| Lag window | One to several seasonal cycles | Controls memory of the past |
| Model class | Gradient boosting or linear models | Balances speed and flexibility |
| Horizon grouping | Shared model for step blocks | Cuts cost for long horizons |
| Validation scheme | Rolling-origin cross-validation | Prevents leakage in evaluation |
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.
| Situation | Recommended strategy | Reason |
|---|---|---|
| Long horizon, nonlinear dynamics | Direct | Avoids compounding errors |
| Short series, few observations | Recursive | Uses all rows in one model |
| Coherent path required | MIMO or seq2seq | Models joint step structure |
| Very long horizon, tight budget | Grouped direct models | Balances cost and accuracy |
| Exogenous covariates known ahead | Direct with covariates | Each model uses its own future inputs |
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.