Skip to main content

Flow-Based End-to-End Model for Hierarchical Time Series Forecasting via Trainable Attentive-Reconciliation

  • Conference paper
  • First Online:
Book cover Database Systems for Advanced Applications (DASFAA 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13943))

Included in the following conference series:

  • 1921 Accesses

Abstract

Time Series (TS) is one of the most common data formats in modern world, which often takes hierarchical structures, and is normally complicated with non-Gaussian and non-linear properties. Many businesses rely on accurate TS forecasting, under these complications, to help with operational efficiencies. In this paper, we present a novel approach for Hierarchical Time Series (HTS) prediction via trainable attentive reconciliation and Normalizing Flow (NF), which is used to approximate the complex (normally non-Gaussian) data distribution for multivariate TS forecasting. To reconcile the HTS data, we also propose a new flexible reconciliation strategy via the attention-based encoder-decoder neural network, unlike the existing methods with strong assumptions, such as unbiased forecasts and Gaussian noises. In addition, by using the reparameterization trick, we are able to combine forecasting and reconciliation into a trainable end-to-end model. Extensive empirical evaluations are conducted on real-world hierarchical datasets and the preliminary results demonstrate the efficacy of our proposed method.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 119.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 159.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Anderer, M., Li, F.: Forecasting reconciliation with a top-down alignment of independent level forecasts. arXiv preprint arXiv:2103.08250 (2021)

  2. Athanasopoulos, G., Ahmed, R.A., Hyndman, R.J.: Hierarchical forecasts for Australian domestic tourism. Int. J. Forecast. 25(1), 146–166 (2009)

    Article  Google Scholar 

  3. Ben Taieb, S., Koo, B.: Regularized regression for hierarchical forecasting without unbiasedness conditions. In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 1337–1347 (2019)

    Google Scholar 

  4. Burba, D., Chen, T.: A trainable reconciliation method for hierarchical time-series. arXiv preprint arXiv:2101.01329 (2021)

  5. Corani, G., Azzimonti, D., Augusto, J.P.S.C., Zaffalon, M.: Probabilistic reconciliation of hierarchical forecast via Bayes’ rule. In: Hutter, F., Kersting, K., Lijffijt, J., Valera, I. (eds.) ECML PKDD 2020. LNCS (LNAI), vol. 12459, pp. 211–226. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-67664-3_13

    Chapter  Google Scholar 

  6. Han, X., Dasgupta, S., Ghosh, J.: Simultaneously reconciled quantile forecasting of hierarchically related time series. In: International Conference on Artificial Intelligence and Statistics, pp. 190–198. PMLR (2021)

    Google Scholar 

  7. Hollyman, R., Petropoulos, F., Tipping, M.E.: Understanding forecast reconciliation. Eur. J. Oper. Res. 294(1), 149–160 (2021)

    Article  MathSciNet  MATH  Google Scholar 

  8. Hyndman, R.J., Ahmed, R.A., Athanasopoulos, G., Shang, H.L.: Optimal combination forecasts for hierarchical time series. Comput. Stat. Data Anal. 55(9), 2579–2589 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  9. Kingma, D.P., Welling, M.: Auto-encoding variational Bayes. arXiv preprint arXiv:1312.6114 (2013)

  10. Liu, Z., Yan, Y., Hauskrecht, M.: A flexible forecasting framework for hierarchical time series with seasonal patterns: a case study of web traffic. In: The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval, pp. 889–892 (2018)

    Google Scholar 

  11. Panagiotelis, A., Gamakumara, P., Athanasopoulos, G., Hyndman, R.J., et al.: Probabilistic forecast reconciliation: properties, evaluation and score optimisation. In: Monash Econometrics and Business Statistics Working Paper Series, vol. 26, p. 20 (2020)

    Google Scholar 

  12. Papamakarios, G., Nalisnick, E., Rezende, D.J., Mohamed, S., Lakshminarayanan, B.: Normalizing flows for probabilistic modeling and inference. arXiv preprint arXiv:1912.02762 (2019)

  13. Rangapuram, S.S., Werner, L.D., Benidis, K., Mercado, P., Gasthaus, J., Januschowski, T.: End-to-end learning of coherent probabilistic forecasts for hierarchical time series. In: International Conference on Machine Learning, pp. 8832–8843. PMLR (2021)

    Google Scholar 

  14. Rasul, K., Sheikh, A.S., Schuster, I., Bergmann, U., Vollgraf, R.: Multivariate probabilistic time series forecasting via conditioned normalizing flows. arXiv preprint arXiv:2002.06103 (2020)

  15. Salinas, D., Bohlke-Schneider, M., Callot, L., Medico, R., Gasthaus, J.: High-dimensional multivariate forecasting with low-rank gaussian copula processes. arXiv preprint arXiv:1910.03002 (2019)

  16. Seeger, M., et al.: Approximate Bayesian inference in linear state space models for intermittent demand forecasting at scale. arXiv preprint arXiv:1709.07638 (2017)

  17. Taieb, S.B., Taylor, J.W., Hyndman, R.J.: Coherent probabilistic forecasts for hierarchical time series. In: International Conference on Machine Learning, pp. 3348–3357. PMLR (2017)

    Google Scholar 

  18. Taieb, S.B., Taylor, J.W., Hyndman, R.J.: Hierarchical probabilistic forecasting of electricity demand with smart meter data. J. Am. Stat. Assoc. 116(533), 27–43 (2021)

    Article  MathSciNet  MATH  Google Scholar 

  19. Vaswani, A., et al.: Attention is all you need. In: Advances in Neural Information Processing Systems, pp. 5998–6008 (2017)

    Google Scholar 

  20. Wickramasuriya, S.L., Athanasopoulos, G., Hyndman, R.J.: Optimal forecast reconciliation for hierarchical and grouped time series through trace minimization. J. Am. Stat. Assoc. 114(526), 804–819 (2019)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Shiyu Wang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wang, S. et al. (2023). Flow-Based End-to-End Model for Hierarchical Time Series Forecasting via Trainable Attentive-Reconciliation. In: Wang, X., et al. Database Systems for Advanced Applications. DASFAA 2023. Lecture Notes in Computer Science, vol 13943. Springer, Cham. https://doi.org/10.1007/978-3-031-30637-2_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-30637-2_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-30636-5

  • Online ISBN: 978-3-031-30637-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics