TL;DR
This paper introduces PROFHIT, a novel probabilistic hierarchical time-series forecasting model that addresses the limitations of existing methods by employing "soft distributional consistency regularization." This allows PROFHIT to accurately and reliably forecast time series with hierarchical relationships, even when the data exhibits deviations from strict hierarchical constraints, a common issue in real-world scenarios.
What Problem Does This Paper Address?
Forecasting time series with hierarchical structures (e.g., sales data aggregated by region, store, and product) is crucial for many applications. Traditional methods often assume "rigid consistency," meaning the forecasts must strictly adhere to the hierarchy. However, real-world data frequently exhibits "weak consistency" due to noise, reporting errors, or inherent data generation processes that allow for some deviation. Existing advanced neural methods also struggle with this, often imposing consistency on point predictions or fixed quantiles rather than the entire forecast distribution, leading to poorly calibrated and unreliable forecasts. This paper tackles the challenge of developing a model that can produce accurate and well-calibrated probabilistic forecasts for both strongly and weakly consistent hierarchical time series, adapting to real-world data imperfections.
Methods
PROFHIT employs a two-stage approach:
- Base Forecasts (TSFNP): It first uses a differentiable probabilistic model, specifically a modified Functional Neural Process (TSFNP), to generate base forecast distributions for each time series in the hierarchy. TSFNP is chosen for its ability to provide accurate and calibrated predictions by modeling temporal patterns and uncertainties.
- Hierarchy-aware Refinement Module: This module takes the base forecasts from all time series and refines them. It uses a weighted combination of a time series' own base forecast and the aggregated base forecasts from other series in the hierarchy. Crucially, a learnable parameter ($\gamma_i$) allows the module to dynamically balance the influence of individual time series versus the hierarchical structure, enabling adaptation to varying levels of consistency.
- Soft Distributional Consistency Regularization (SOFTDISCOR): This is the core innovation. Instead of enforcing hard constraints, SOFTDISCOR introduces a "soft" regularization term to the loss function. This term encourages the entire forecast distribution of a parent node to be consistent with the aggregated forecast distributions of its children. This approach allows the model to learn from hierarchical relations without being overly rigid, making it robust to weak consistency.
Datasets
The paper evaluates PROFHIT on several publicly available datasets:
- Tourism-L: Tourism flows grouped by region and demographics.
- Labour: Monthly employment data.
- Wiki: Daily Wikipedia article views aggregated into groups.
- Flu-Symptoms: Weighted influenza-like incidence (wILI) values at state, HHS, and national levels.
- FB-Survey: Aggregated daily COVID-19 symptom prevalence from Facebook surveys.
Tourism-L, Labour, and Wiki are noted as strongly consistent datasets (CE=0), while Flu-Symptoms and FB-Survey are weakly consistent due to real-world data collection factors.
Key Insights and Ideas
- Rigidity Hurts: The paper's central thesis is that enforcing strict hierarchical consistency on forecasts can be detrimental when real-world data deviates from this ideal.
- Softness is Key: Introducing "soft" distributional consistency allows models to adapt to imperfect data, leading to better accuracy and calibration.
- Full Distribution Matters: Focusing consistency on the entire forecast distribution, not just point estimates or quantiles, is crucial for reliable uncertainty quantification.
- Adaptive Refinement: The learnable parameter in the refinement module is a clever way to automatically adjust the model's reliance on individual time series versus the hierarchy based on data characteristics.
- Missing Data Resilience: The ability to handle missing data is a significant practical advantage, stemming from the model's robust hierarchical understanding.
Key Results
- Accuracy & Calibration: PROFHIT achieved 41-88% better CRPS scores and significantly better calibration across all datasets and hierarchy levels compared to state-of-the-art baselines.
- Weak Consistency Performance: PROFHIT's advantage was particularly pronounced on weakly consistent datasets, where it showed a 93% average improvement in CRPS over baselines, compared to 54% on strongly consistent datasets.
- Missing Data Robustness: PROFHIT demonstrated remarkable resilience to missing input data. Even with up to 10% of input data missing, its performance degradation was significantly slower (10.45-26.8% decrease) compared to baselines (over 70% decrease).
- Ablation Studies: The results highlighted the importance of SOFTDISCOR and the refinement module for PROFHIT's performance, especially on weakly consistent data.
Limitations and Future Work
- Limitations: The paper notes that while PROFHIT is adaptable, its current implementation assumes a simple summation aggregation function for most datasets. The model's complexity is O(N^2) for the refinement module, which is comparable to some existing methods but could be a consideration for extremely large hierarchies.
- Future Work: The authors suggest extending PROFHIT to handle:
- Non-continuous time-series values or different sampling rates.
- More complex aggregation relations beyond simple summation.
- Applications in anomaly detection.
- Incorporating multiple sources of features and modalities.
Summary updated