[Paper Review] Hierarchically Regularized Deep Forecasting
This paper proposes HiReD, a scalable deep hierarchical forecasting model that combines a time-varying autoregressive (TVAR) component with a basis decomposition (BD) model regularized to enforce hierarchical coherence. By modeling forecasts via basis functions and applying time-dependent coefficients, the method achieves state-of-the-art accuracy and improved coherence across all hierarchy levels without requiring post-processing or large batch sizes.
Hierarchical forecasting is a key problem in many practical multivariate forecasting applications - the goal is to simultaneously predict a large number of correlated time series that are arranged in a pre-specified aggregation hierarchy. The main challenge is to exploit the hierarchical correlations to simultaneously obtain good prediction accuracy for time series at different levels of the hierarchy. In this paper, we propose a new approach for hierarchical forecasting which consists of two components. First, decomposing the time series along a global set of basis time series and modeling hierarchical constraints using the coefficients of the basis decomposition. And second, using a linear autoregressive model with coefficients that vary with time. Unlike past methods, our approach is scalable (inference for a specific time series only needs access to its own history) while also modeling the hierarchical structure via (approximate) coherence constraints among the time series forecasts. We experiment on several public datasets and demonstrate significantly improved overall performance on forecasts at different levels of the hierarchy, compared to existing state-of-the-art hierarchical models.
Motivation & Objective
- Address the challenge of forecasting large numbers of correlated time series arranged in a hierarchical tree structure, such as in retail or power grid applications.
- Overcome limitations of existing methods—like post-hoc reconciliation or GNNs—that are either incoherent, non-scalable, or require full-batch training.
- Develop a single-stage, end-to-end trainable model that enforces additive coherence constraints across hierarchy levels while maintaining scalability.
- Ensure inference for any time series depends only on its own history, enabling efficient mini-batch training and deployment.
- Improve forecasting accuracy at all levels of the hierarchy, especially for aggregated (coarse-grained) time series, by leveraging global temporal patterns and local dynamics.
Proposed method
- Decompose each time series into a linear combination of global basis functions learned via basis decomposition (BD), capturing shared temporal patterns across the hierarchy.
- Model the coefficients of the basis decomposition using a time-varying autoregressive (TVAR) mechanism that adapts to local dynamics and enables sequence-specific forecasting.
- Introduce a hierarchical regularization term that penalizes deviations from additive coherence, ensuring that parent forecasts equal the sum of child forecasts.
- Formulate the full objective as a differentiable loss combining reconstruction error and hierarchical regularization, enabling end-to-end training via stochastic gradient descent.
- Use a two-stage training strategy: first pre-train the BD model on all time series, then jointly fine-tune BD coefficients and TVAR parameters with hierarchical regularization.
- Achieve scalability by decoupling inference per time series—only requiring access to its own historical data, not the entire hierarchy.
Experimental results
Research questions
- RQ1Can a deep learning model simultaneously achieve high forecasting accuracy and strong hierarchical coherence across all levels of a multi-tier time series hierarchy?
- RQ2Does incorporating a basis decomposition with time-varying coefficients improve generalization and scalability compared to standard RNN or GNN-based models?
- RQ3To what extent does hierarchical regularization enhance forecast coherence without degrading accuracy, especially at aggregated levels?
- RQ4How does the proposed model compare to state-of-the-art baselines in terms of both accuracy (WAPE/SMAPE) and coherence metrics across diverse datasets?
- RQ5Can the model be trained efficiently in mini-batches without requiring access to all time series in the hierarchy during inference?
Key findings
- HiReD achieves state-of-the-art performance on the M5, Favorita, and Tourism datasets, with a mean WAPE of 0.113 on M5 and 0.030 on Favorita, outperforming all baselines.
- The ablation study shows that removing either the hierarchical regularization ($\lambda_E=0$) or the BD component leads to a significant drop in accuracy, confirming the importance of both components.
- HiReD reduces coherence deviation by up to 70% compared to an RNN baseline, with WAPE between predictions and coherent targets dropping from 0.043 to 0.004 at Level 0 on the Favorita dataset.
- The basis functions learned by BD capture dominant global patterns—particularly weekly cycles (period 7)—as visualized in the M5 validation set.
- At leaf levels (e.g., Level 3), the TVAR component dominates the final forecast, indicating that local dynamics are more critical than global patterns at fine granularity.
- The model maintains strong performance across all hierarchy levels, with consistent improvements in both accuracy and coherence, especially at higher (coarser) levels where aggregation errors are most impactful.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.