Abstract
Large collections of time series data are often organized into hierarchies with different levels of aggregation; examples include product and geographical groupings. Probabilistic coherent forecasting is tasked to produce forecasts consistent across levels of aggregation. In this study, we propose to augment neural forecasting architectures with a coherent multivariate mixture output. We optimize the networks with a composite likelihood objective, allowing us to capture time series' relationships while maintaining high computational efficiency. Our approach demonstrates 13.2% average accuracy improvements on most datasets compared to state-of-the-art baselines. We conduct ablation studies of the framework components and provide theoretical foundations for them. To assist related work, the code is available at https://github.com/Nixtla/neuralforecast.
Introduction
Hierarchical time series (HTS) are ubiquitous in real-world applications, such as retail inventory management and regional energy demand forecasting. A fundamental challenge in HTS forecasting is maintaining coherence: ensuring that forecasts at granular levels (e.g., city-level sales) sum up to forecasts at aggregate levels (e.g., country-level sales). While point forecast reconciliation is well-studied, producing coherent probabilistic forecasts remains difficult due to restrictive distributional assumptions, poor scalability of multivariate models, and significant scale mismatches between different levels of the hierarchy.
The HINT Framework
The HIerarchically coherent multivariate mixture NeTworks (HINT) framework addresses these issues through a modular architecture designed for flexibility and scalability.
1. Coherent Multivariate Mixture
HINT utilizes a mixture of Gaussians to approximate complex, non-standard distributions. Unlike traditional multivariate approaches that require expensive $O(N^2)$ covariance matrices, HINT models correlations through latent mixture weights, maintaining computational efficiency while capturing how series move together.
2. Composite Likelihood Optimization
To handle hierarchies with millions of series, HINT employs a composite likelihood objective. Instead of optimizing the joint probability of the entire hierarchy simultaneously, the model optimizes over smaller, overlapping batches of series. This strategy enables high-dimensional modeling without the memory bottlenecks typically associated with large-scale HTS.
3. TemporalNorm (Probabilistic Reversible Instance Normalization)
Scale mismatches are a major hurdle in HTS; a "Total" series may be orders of magnitude larger than its "Leaf" components. TemporalNorm acts as a global scale-normalization module, allowing the neural network to learn unit-scale patterns. The original scale is then re-applied to the probabilistic output, preventing magnitude differences from dominating the learning process.
4. Bootstrap Reconciliation
To guarantee coherence, HINT includes a distribution-agnostic reconciliation step. It draws samples from the base forecasts and maps them into the "coherent subspace" where all aggregation constraints are strictly satisfied.
Experimental Evaluation
HINT was evaluated against state-of-the-art neural (e.g., HierE2E) and statistical (e.g., MinTrace) baselines across five diverse datasets: Monthly Australian Labour, SF Bay Area Traffic, Quarterly Australian Tourism, Monthly Australian Tourism-L, and Daily Wiki2.
Key Results
- Accuracy Gains: HINT achieved a 13.2% average improvement in scaled Continuous Ranked Probability Score (sCRPS) over existing methods.
- Sharpening via Mixtures: Modeling multivariate relationships significantly "sharpened" prediction intervals. By capturing dependencies, the model reduces uncertainty at aggregate levels compared to independent univariate modeling.
- Robustness: Ablation studies showed that HINT’s robust scaling variant (using median and MAD) is particularly effective in noisy datasets or those containing outliers.
Conclusion and Future Work
HINT provides a scalable and flexible framework for coherent probabilistic forecasting. By decoupling scale from pattern learning and utilizing efficient mixture models, it sets a new state-of-the-art for hierarchical time series. Future work includes extending the architecture to explicitly model Granger causality (lead-lag relationships) and developing parallelizable reconciliation techniques for planetary-scale hierarchies.
Summary updated