[Paper Review] A Self-supervised Approach to Hierarchical Forecasting with Applications to Groupwise Synthetic Controls
This paper proposes a self-supervised learning approach that integrates hierarchical reconciliation directly into the maximum likelihood training objective for time series forecasting, using a differentiable loss function that enforces consistency across hierarchical levels. By jointly optimizing forecasts and reconciliation, the method improves test accuracy—reducing MSE by up to 3.5× on parent nodes—while producing confidence intervals that properly account for reconciliation uncertainty, outperforming state-of-the-art post-hoc reconciliation (HTS) methods.
When forecasting time series with a hierarchical structure, the existing state of the art is to forecast each time series independently, and, in a post-treatment step, to reconcile the time series in a way that respects the hierarchy (Hyndman et al., 2011; Wickramasuriya et al., 2018). We propose a new loss function that can be incorporated into any maximum likelihood objective with hierarchical data, resulting in reconciled estimates with confidence intervals that correctly account for additional uncertainty due to imperfect reconciliation. We evaluate our method using a non-linear model and synthetic data on a counterfactual forecasting problem, where we have access to the ground truth and contemporaneous covariates, and show that we largely improve over the existing state-of-the-art method.
Motivation & Objective
- To address the limitations of independent forecasting and post-hoc reconciliation in hierarchical time series, which can lead to incoherent forecasts and unreliable confidence intervals.
- To develop a differentiable reconciliation loss that can be integrated into any maximum likelihood objective for hierarchical data.
- To improve forecast accuracy and uncertainty quantification by leveraging structural constraints in the hierarchy during model training.
- To evaluate the method in counterfactual forecasting settings with access to ground truth and contemporaneous covariates.
- To demonstrate that reconciliation acts as a regularizer, reducing generalization error in non-linear models.
Proposed method
- The method introduces a self-supervised reconciliation loss that penalizes deviations from hierarchical consistency during model training.
- The loss function is defined as the sum of squared differences between child forecasts and their parent forecasts, scaled by a hyperparameter λ.
- The reconciliation loss is added to the standard maximum likelihood objective, enabling end-to-end optimization of forecasts and reconciliation.
- The approach is applied to a multi-layer perceptron (MLP) with one hidden layer and ReLU activations, trained on synthetic hierarchical time series data.
- The method supports both pure forecasting and counterfactual forecasting, with applicability to any model with a maximum likelihood objective.
- The reconciliation loss is shown to induce an inductive bias toward simpler, more generalizable solutions that reduce test error.
Experimental results
Research questions
- RQ1Can a self-supervised reconciliation loss improve forecast accuracy in hierarchical time series compared to independent forecasting and post-hoc reconciliation?
- RQ2How does integrating reconciliation into the training objective affect uncertainty estimation and confidence interval coverage?
- RQ3To what extent does the reconciliation loss act as a regularizer in non-linear models with limited labeled data?
- RQ4Does the method outperform HTS in terms of test error reduction while maintaining hierarchical coherence?
- RQ5How does the choice of λ (reconciliation strength) affect the trade-off between training error and test error?
Key findings
- The proposed method reduces test set mean squared error (MSE) by up to 3.5× on the parent node (y₁) compared to the unreconciled baseline, demonstrating significant accuracy gains.
- The reconciliation loss decreases test error more substantially on higher-level nodes (e.g., y₁, y₂, y₃) than on lower-level nodes, indicating stronger regularization effects at coarser granularities.
- Despite a 4× increase in training MSE due to the reconciliation penalty, the method achieves better generalization, showing that reconciliation acts as an effective regularizer.
- The method produces confidence intervals that correctly account for reconciliation uncertainty, avoiding the need for ex-post adjustments in multiple hypothesis testing.
- HTS reduces reconciliation error to near zero but provides minimal improvement in test accuracy, whereas the proposed method achieves both lower test error and better coherence.
- The improvement is most pronounced when covariates are informative and the hierarchy is structured meaningfully (e.g., by size or industry), rather than arbitrarily.
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.