Forecast reconciliation is the process of adjusting a set of independently produced forecasts for a hierarchical or grouped time series so that they become coherent, meaning that forecasts at lower levels add up exactly to the forecasts of their aggregates. In time series & forecasting within artificial intelligence and statistics, it is the standard final step of hierarchical forecasting, used wherever totals, regions, product families and individual items must be planned consistently.
Modern reconciliation is more than a bookkeeping correction. Optimal methods such as MinT reconciliation (minimum trace) combine information from every level of the hierarchy and frequently produce forecasts that are more accurate than the original base forecasts, not merely consistent with one another.
Why base forecasts are incoherent
Base forecasts are incoherent because each series in a hierarchy is usually forecast independently, with its own model, parameters and errors. A retailer may forecast total national sales with an ETS model, regional sales with ARIMA and store sales with a global gradient-boosting model, and nothing forces those numbers to agree.
Incoherent forecasts create conflicting operational plans. Finance budgets against the total, logistics plans against regions and stores order against item-level numbers; when these disagree, inventory, staffing and revenue targets drift apart. Reconciliation restores a single, internally consistent view of the future.
How reconciliation works mathematically
Reconciliation works by projecting the vector of base forecasts onto the coherent subspace defined by the hierarchy. The structure is encoded in a summing matrix S, which maps the bottom-level series to every series in the hierarchy. Any coherent forecast can be written as S multiplied by a vector of bottom-level values.
Linear reconciliation methods compute the coherent forecasts as S times G times the base forecasts, where the matrix G maps all base forecasts to new bottom-level forecasts. Different methods differ only in how they choose G. The MinT approach, introduced by Wickramasuriya, Athanasopoulos and Hyndman, selects G to minimize the trace of the reconciled forecast error covariance, which yields the minimum total error variance among unbiased linear reconciliations.
The key ingredient is an estimate of the base forecast error covariance matrix W. The table below summarizes the common choices of W and their practical behavior.
| Method | Assumed error covariance | Strengths | Weaknesses |
|---|---|---|---|
| OLS | Identity matrix | Simple, no estimation needed | Ignores scale differences |
| WLS structural | Diagonal, by number of bottom series | Works without residuals | Ignores actual error sizes |
| WLS variance | Diagonal, from in-sample residual variances | Accounts for series scale | Ignores error correlations |
| MinT sample | Full sample covariance | Uses all correlation information | Unstable for large hierarchies |
| MinT shrink | Shrunk covariance toward diagonal | Robust and usually most accurate | Needs reliable residual history |
Classical and optimal approaches compared
Before optimal reconciliation became standard, practitioners relied on single-level approaches that forecast one level and derive the others. These remain useful baselines and are special cases of the general linear framework.
| Approach | How it works | Typical use |
|---|---|---|
| Bottom-up | Forecast bottom series, sum upward | Strong, stable bottom-level signals |
| Top-down | Forecast total, split by proportions | Very noisy or sparse bottom series |
| Middle-out | Forecast a middle level, sum up and split down | Middle level is most reliable |
| Optimal combination | Reconcile forecasts from all levels | General default for most hierarchies |
Bottom-up preserves item-level detail but often produces noisy aggregates, while top-down produces smooth totals but discards bottom-level dynamics and is biased whenever proportions change over time. Optimal combination methods such as MinT draw on every level at once, and empirical studies on retail, tourism and energy hierarchies show that they outperform single-level methods in most settings.
Extensions beyond point forecasts
Reconciliation now extends well beyond cross-sectional point forecasts. Temporal reconciliation applies the same logic across time aggregation levels, so that monthly, quarterly and annual forecasts agree; the temporal hierarchy approach often improves accuracy at every frequency. Cross-temporal reconciliation enforces both constraints simultaneously.
Probabilistic reconciliation adjusts full predictive distributions rather than means, so that sampled scenarios remain coherent. This matters for inventory and capacity planning, where quantiles drive safety stock decisions. Further variants impose non-negativity constraints for counts and sales, and machine learning methods learn nonlinear reconciliation mappings directly from data.
| Variant | Constraint enforced | Main benefit |
|---|---|---|
| Cross-sectional | Children sum to parents | Consistent organizational plans |
| Temporal | Higher frequencies sum to lower ones | Aligned short- and long-term plans |
| Cross-temporal | Both structures at once | Fully coherent planning system |
| Probabilistic | Coherent predictive distributions | Reliable quantiles and scenarios |
| Non-negative | No negative reconciled values | Valid forecasts for counts and sales |
Practical use and common pitfalls
In practice, reconciliation is applied as a post-processing layer on top of any forecasting model, including deep learning forecasters and global models. Open-source libraries such as fable and hts in R and hierarchicalforecast in Python implement the main methods, and MinT shrink is a sensible default when sufficient residual history exists.
- Using unreliable residuals: MinT depends on in-sample errors; overfitted base models make the covariance estimate misleading.
- Ignoring negative values: linear reconciliation can push intermittent series below zero, so clipping or constrained methods are needed.
- Assuming reconciliation fixes bad models: it redistributes information but cannot rescue systematically biased base forecasts.
- Evaluating only one level: accuracy should be measured with scale-free metrics such as MASE at every level of the hierarchy.
For very large hierarchies with hundreds of thousands of series, the full covariance becomes impractical, and diagonal or shrinkage estimators combined with sparse matrix algebra keep computation feasible.
A non-technical view
Imagine a company that forecasts sales for each store, each region and the whole country. Different teams make these forecasts separately. The store numbers rarely add up to the regional numbers. The regional numbers rarely add up to the national total.
Forecast reconciliation fixes this mismatch. It adjusts every number slightly so that everything adds up. The best methods do more than force agreement. They let each level correct the others, so the final forecasts are often both consistent and more accurate.
A concrete example
A grocery chain forecasts weekly demand for 1,200 products across 80 stores, grouped into 8 regions and one national total. Its data science team trains a global LightGBM model for store-item series and ETS models for regional and national aggregates. The resulting base forecasts disagree by up to 6 percent at the national level.
The team applies MinT reconciliation with a shrinkage covariance estimated from 52 weeks of in-sample residuals, then sets any negative item forecasts to zero. Evaluation with MASE on a 13-week holdout shows that the reconciled forecasts improve accuracy at the regional and national levels by several percent and match or slightly improve item-level accuracy.
Purchasing, logistics and finance now plan from one coherent set of numbers, which removes weekly disputes about whose forecast is correct and reduces both overstock and stockouts.