zalandoresearch / pytorch-ts

PyTorch based Probabilistic Time Series forecasting framework based on GluonTS backend
MIT License
1.24k stars 191 forks source link

Forecast Reconciliation #9

Open StatMixedML opened 4 years ago

StatMixedML commented 4 years ago

Description

It would be very useful to allow for forecast reconciliation of hierarchical and/or grouped time series. This means that the sum of all forecasts that make up a hierarchy matches to the forecast of the hierarchy. Say, you forecast several time series that are within the same hierarchy + the time series of the total (e.g., all tourism visits in Australia within all territories + Total Tourism of the territories as an aggregate). What forecast reconciliation does it makes sure that the bottom level forecasts match the top-level aggregate forecast. As PyTorch-TS is a probabilistic framework, we also need to make sure that the uncertainty attached to the forecasts are corrected.

Besides cross-sectional hierarchies, you may also want to include temporal hierarchies, so that you train the model on daily, weekly and monthly data, and you make sure that all sum up to the temporal hierarchy of interest, e.g., monthly forecast.

Several paper show that Cross-temporal coherent forecasts improve accuracy compared to not taking the information into account.

References

This is a non-exhaustive list of references intended to give a first overview over the topic:

kashif commented 4 years ago

awesome suggestions, both of them... let me go through the material you so kindly distilled here and see if we can formulate a plan to tackle them...

StatMixedML commented 4 years ago

Let me know if I can contribute, very happy to.

StatMixedML commented 4 years ago

@kashif Not sure if you had the chance already to go through the material. Very happy to support. Shall we have the discussion on how to proceed offline?

StatMixedML commented 4 years ago

@kashif Based on our discussion about forecast reconciliation, this Paper seems to be good starting point.

StatMixedML commented 4 years ago

Adding the hierarchy of the M5 dataset

image

StatMixedML commented 3 years ago

That might be of interest also

https://forecasters.org/blog/2020/10/25/call-for-papers-international-journal-of-forecasting-innovations-in-hierarchical-forecasting/