♣ CLOVER ♣: Probabilistic Forecasting with Coherent Learning Objective Reparameterization

Kin G. Olivares, Geoffrey Négiar, Ruijun Ma, Oinam Nganba Meetei, Mengfei Cao, Michael W. Mahoney

Abstract

Hierarchical time series forecasting requires "coherence," where forecasts at aggregate levels must equal the sum of forecasts at lower levels. Traditional methods often rely on post-hoc reconciliation, which can degrade accuracy. This paper introduces CLOVER (Coherent Learning Objective Reparameterization), an end-to-end neural framework that ensures coherence by construction using a multivariate Gaussian factor model. By leveraging the reparameterization trick, CLOVER allows direct optimization of sophisticated probabilistic metrics like the Continuous Ranked Probability Score (CRPS). Empirical results across six diverse datasets demonstrate a 15% average improvement in probabilistic accuracy over state-of-the-art methods.

Introduction

In many real-world applications, data is structured hierarchically. For instance, a retailer must forecast demand for individual products (bottom level), product categories (middle level), and total company sales (top level). A "coherent" forecast is one where these levels are mathematically consistent—the parts must sum to the whole.

Historically, this has been addressed in two stages: generating independent forecasts and then applying a reconciliation step. However, this disjointed approach often fails to capture complex cross-series correlations and can lead to suboptimal accuracy. While recent neural network approaches have moved toward end-to-end learning, they often struggle with modeling dependencies or are limited to simple loss functions like Negative Log-Likelihood (NLL).

Graph and Matrix representation of hierarchical coherence.

Methodology: The CLOVER Framework

CLOVER (Coherent Learning Objective Reparameterization Neural Network) addresses these challenges through three primary innovations:

1. Coherence by Construction

Instead of reconciling disparate forecasts, CLOVER models the joint probability distribution of only the bottom-level series. It employs a multivariate Gaussian factor model to generate samples for these base series. Aggregate forecasts are then derived by simply summing the bottom-level samples, ensuring that coherence is inherently maintained without post-processing.

2. The Reparameterization Trick

The core innovation of CLOVER is the use of the reparameterization trick. By expressing forecast samples as a differentiable function of model parameters and stochastic noise, the entire sampling process becomes end-to-end differentiable. This enables the model to be trained directly on metrics that reflect real-world performance, such as the Continuous Ranked Probability Score (CRPS) and Energy Score, rather than being restricted to standard likelihood-based objectives.

3. CrossSeriesMLP

To effectively capture dependencies between different time series (e.g., how traffic in one highway lane influences another), the authors introduced the CrossSeriesMLP module. This component mimics Vector Autoregressive (VAR) relationships, facilitating information sharing across the hierarchy during the encoding phase.

The full CLOVER architecture, including the Encoder with CrossSeriesMLP and the Decoder for coherent sampling.

Experimental Evaluation

The model was benchmarked against six diverse datasets: Labour (employment), Traffic (highway occupancy), Tourism (quarterly and monthly), Wiki (article views), and Favorita (grocery sales).

Key Results

CLOVER achieved state-of-the-art performance across nearly all benchmarks:

  • Accuracy Gains: CLOVER improved probabilistic forecast accuracy (scaled CRPS) by an average of 15% compared to the leading coherent baselines.
  • Point Forecast Improvement: Median point forecasts saw a 30% boost in mean accuracy.
  • The Power of CRPS Optimization: Ablation studies showed that switching from NLL to CRPS optimization improved accuracy by nearly 60% on the Traffic dataset, highlighting the importance of aligning training objectives with evaluation metrics.
  • Modeling Correlations: The inclusion of CrossSeriesMLP allowed CLOVER to outperform univariate models significantly on datasets with strong inter-series dependencies, such as highway traffic, where it achieved a 54% improvement over baselines.

Conclusion and Future Work

CLOVER demonstrates that end-to-end training with a focus on coherence and objective alignment significantly outperforms traditional reconciliation pipelines. While highly effective, the model faces challenges with very small datasets (e.g., Labour) where deep learning may overfit to spurious correlations. Future research directions include extending the reparameterization trick to discrete distributions for count data and improving the handling of cointegrated series that exhibit long-term shared trends.

Summary updated

BibTeX
@article{olivares2024clover,
  author = {Kin G. Olivares and Geoffrey Négiar and Ruijun Ma and Oinam Nganba Meetei and Mengfei Cao and Michael W. Mahoney},
  title = {{♣ CLOVER ♣: Probabilistic Forecasting with Coherent Learning Objective Reparameterization}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2024},
  url = {https://openreview.net/forum?id=bF29YlW9H8},
}
Figure