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 this https://github.com/Nixtla/neuralforecast.
Introduction: The Challenge of Hierarchical Coherence
In many industries, data is organized into hierarchies. Consider a retail chain: total national sales are the sum of state-level sales, which in turn are the sum of individual store sales. The fundamental challenge in forecasting such data is coherence. If each level is forecasted independently using standard neural networks, the results rarely sum up correctly—the store-level forecasts won't match the national-level aggregate.
While post-hoc "reconciliation" techniques exist, existing neural network approaches often rely on restrictive Gaussian assumptions or fail to scale when hierarchies contain thousands of related series.
The HINT Framework
The authors introduce HINT (HIerarchically coherent multivariate mixture NeTworks), a framework designed to ensure mathematical consistency across aggregation levels while capturing complex data relationships. HINT introduces three primary innovations:
- Coherent Multivariate Mixture: Instead of predicting point estimates or simple distributions, HINT predicts a mixture of multivariate Gaussians. This allows the model to capture complex, non-linear correlations between different branches of the hierarchy.
- Composite Likelihood Optimization: Training on the joint distribution of thousands of series is computationally prohibitive. HINT employs a "composite likelihood" approach, breaking the problem into smaller, overlapping subsets of series. This maintains global relationships while ensuring memory efficiency.
- TemporalNorm (Probabilistic Reversible Instance Normalization): Hierarchies often feature series with vastly different scales. HINT uses a global skip connection to normalize inputs and "re-assemble" probabilistic scales at the output, making the model robust to scale variations.
- Bootstrap Reconciliation: To guarantee perfect coherence, the model generates samples and applies a reconciliation transformation (such as MinTrace) to ensure aggregation constraints are met exactly.
Experimental Evaluation
HINT was evaluated against state-of-the-art baselines (e.g., HierE2E, PROFHIT) across five diverse benchmark datasets, including Australian Labour, SF Bay Area Traffic, Australian Tourism, and Wikipedia Views.
Key Results and Insights
HINT demonstrated a 13.2% average improvement in sCRPS (scaled Continuous Ranked Probability Score) across most datasets. A key insight is that modeling the relationships between series (non-diagonal covariance) significantly sharpens forecasts. Treating series as independent leads to bloated, less useful uncertainty intervals.
As seen in the paper's visualizations, the multivariate approach produces much tighter, more accurate prediction intervals than univariate models. Despite the complexity of multivariate mixtures, the composite likelihood approach maintains a memory complexity of $O(\text{batch size})$, making it viable for large-scale industrial applications.
Conclusion and Future Work
While HINT sets a new benchmark, it was slightly outperformed on the Traffic dataset by models using Vector Autoregression, suggesting that explicit causal modeling remains a powerful alternative in specific domains. Future work will explore "learning" the reconciliation matrix directly within the network architecture and scaling these approaches to hierarchies containing millions of series through parallelization.
Summary updated