Skip to main content

Advertisement

Log in

Bi-graph attention network for energy price forecasting via multiple time scale learning

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

Price forecasting of oil products and natural gas is of great interest due to their essential roles in modern industry and human lives. Existing studies on energy price forecasting are mostly concerned with individual energy markets, with less consideration of their interaction. This paper presents a bi-graph attention network (BiGAT) approach for energy price forecasting of oil products and natural gas, aiming at exploiting the price correlations of these energy sources for prediction. Specifically, we introduce the concordance graph and the causality graph into the BiGAT model to quantify the Kendall’s rank correlation and the convergence cross mapping causality of the energy prices. To facilitate training the BiGAT model with the energy price time series of multiple time scale nature, we employ the boosted Hodrick–Prescott (bHP) filter to decompose the price data into slow- and fast-varying parts for learning, respectively. As the original bHP filtering algorithm involves computing an inverse matrix of the data size, it is not in favor of using in expanding or streaming data scenarios directly. Here, we also devise an incremental bHP filtering algorithm that applies to data of arbitrary finite size in a recursive manner, requiring the computation of a third-order initial inverse matrix only. Experimental results on empirical data show that the forecasting accuracy of our model is significantly better than other considered models, and the proposed incremental algorithm effectively extends the application scenarios of the bHP filter.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Data availability

The datasets generated during and analyzed during the current study are available in the U.S. Energy Information Administration repository, [https://www.eia.gov/.]

Abbreviations

ANNs:

Artificial neural networks

bHP filter:

Boosted Hodrick–Prescott filter

BiGAT:

Bi-graph attention network

BiGAT_p2:

BiGAT with \(p = 2\) operations of the HP filtering

BiGAT_p100:

BiGAT with \(p = 100\) operations of the HP filtering

BiGAT_p200:

BiGAT with \(p = 200\) operations of the HP filtering

BiGAT_p340:

BiGAT with \(p = 340\) operations of the HP filtering

CCM:

Convergence cross mapping

\({D_{\text{stat}}}\) :

Direction statistics

FFN:

Feed-forward neural network

GAT:

Graph attention network

GCNs:

Graph convolutional networks

GNN:

Graph neural network

GRA:

Gray relational analysis

GRD:

Gray relational degree

GRU:

Gated recurrent unit

HP filter:

Hodrick–Prescott filter

LSTM:

Long short-term memory

MAE:

Mean absolute error

MAPE:

Mean absolute percentage error

Max:

Maximum value

Min:

Minimum value

MSE:

Mean square error

Std:

Standard deviations

Var:

Variance

RNN:

Recurrent neural network

RMSE:

Root-mean-square error

References

  1. Chiroma H, Abdul-kareem S, Shukri Mohd Noor A, Abubakar AI, Sohrabi Safa N, Shuib L, Fatihu Hamza M, Ya’u Gital A, Herawan T (2016) A review on artificial intelligence methodologies for the forecasting of crude oil price. Intell Autom Soft Comput 22(3):449–462

    Article  Google Scholar 

  2. Yu L, Dai W, Tang L, Wu J (2016) A hybrid grid-GA-based LSSVR learning paradigm for crude oil price forecasting. Neural Comput Appl 27(8):2193–2215

    Article  Google Scholar 

  3. Baratsas SG, Niziolek AM, Onel O, Matthews LR, Floudas CA, Hallermann DR, Sorescu SM, Pistikopoulos EN (2021) A framework to predict the price of energy for the end-users with applications to monetary and energy policies. Nat Commun 12(1):18. https://doi.org/10.1038/s41467-020-20203-2

    Article  Google Scholar 

  4. Quade M, Abel M, Shafi K, Niven RK, Noack BR (2016) Prediction of dynamical systems by symbolic regression. Phys Rev E 94(1):012214

    Article  MathSciNet  Google Scholar 

  5. Aghajani A, Kazemzadeh R, Ebrahimi A (2019) Short-term prediction of market-clearing price of electricity in the presence of wind power plants by a hybrid intelligent system. Neural Comput Appl 31(11):6981–6993

    Article  Google Scholar 

  6. Nygren E, Aleklett K, Höök M (2009) Aviation fuel and future oil production scenarios. Energy Policy 37(10):4003–4010. https://doi.org/10.1016/j.enpol.2009.04.048

    Article  Google Scholar 

  7. Pindoriya NM, Singh SN, Singh SK (2008) An adaptive wavelet neural network-based energy price forecasting in electricity markets. IEEE Trans Power Syst 23(3):1423–1432. https://doi.org/10.1109/TPWRS.2008.922251

    Article  Google Scholar 

  8. Wu YX, Wu QB, Zhu JQ (2019) Improved EEMD-based crude oil price forecasting using LSTM networks. Phys A 516:114–124

    Article  Google Scholar 

  9. Urolagin S, Sharma N, Datta TK (2021) A combined architecture of multivariate LSTM with Mahalanobis and Z-Score transformations for oil price forecasting. Energy 231:120963. https://doi.org/10.1016/j.energy.2021.120963

    Article  Google Scholar 

  10. Karasu S, Altan A (2022) Crude oil time series prediction model based on LSTM network with chaotic Henry gas solubility optimization. Energy 242:122964. https://doi.org/10.1016/j.energy.2021.122964

    Article  Google Scholar 

  11. Navares R, Aznarte JL (2020) Deep learning architecture to predict daily hospital admissions. Neural Comput Appl 32(20):16235–16244

    Article  Google Scholar 

  12. Dubois P, Gomez T, Planckaert L, Perret L (2020) Data-driven predictions of the Lorenz system. Phys D 408:132495

    Article  MathSciNet  MATH  Google Scholar 

  13. Lim B, Zohren S (2021) Time-series forecasting with deep learning: a survey. Phil Trans R Soc A 379(2194):20200209

    Article  MathSciNet  Google Scholar 

  14. Siłka J, Wieczorek M, Woźniak M (2022) Recurrent neural network model for high-speed train vibration prediction from time series. Neural Comput Appl 34:13305–13318

    Article  Google Scholar 

  15. Saghi F, Jahangoshai Rezaee M (2021) Integrating wavelet decomposition and fuzzy transformation for improving the accuracy of forecasting crude oil price. Comput Econ 1–33

  16. Bisoi R, Dash PK, Mishra SP (2019) Modes decomposition method in fusion with robust random vector functional link network for crude oil price forecasting. Appl Soft Comput 80:475–493. https://doi.org/10.1016/j.asoc.2019.04.026

    Article  Google Scholar 

  17. Hu Y, Cheng X, Wang S, Chen J, Zhao T, Dai E (2022) Times series forecasting for urban building energy consumption based on graph convolutional network. Appl Energy 307:118231. https://doi.org/10.1016/j.apenergy.2021.118231

    Article  Google Scholar 

  18. Yang Y, Tan Z, Yang H, Ruan G, Zhong H, Liu F (2022) Short-term electricity price forecasting based on graph convolution network and attention mechanism. IET Renew Power Generat 1–12

  19. Van Doorn J, Ly A, Marsman M, Wagenmakers EJ (2018) Bayesian inference for Kendall’s rank correlation coefficient. Am Stat 72(4):303–308

    Article  MathSciNet  MATH  Google Scholar 

  20. Sugihara G, May R, Ye H, Hsieh C-H, Deyle E, Fogarty M, Munch S (2012) Detecting causality in complex ecosystems. Science 338(6106):496–500

    Article  MATH  Google Scholar 

  21. Liu H, Lei M, Zhang N, Du G (2019) The causal nexus between energy consumption, carbon emissions and economic growth: new evidence from China, India and G7 countries using convergent cross mapping. PLoS One 14(5):0217319

    Article  Google Scholar 

  22. Phillips PCB, Shi Z (2021) Boosting: Why you can use the HP filter. Int Econ Rev 62(2):521–570

    Article  MathSciNet  MATH  Google Scholar 

  23. U.S. Energy Information Administration: Energy price. [EB/OL]. https://www.eia.gov/ Accessed 7 Apr 2022

  24. Velickovic P, Cucurull G, Casanova A, Romero A, Lio P, Bengio Y (2018) Graph attention networks. In: International conference on learning representations (ICLR), pp 1–12

  25. Hodrick RJ, Prescott EC (1997) Postwar US business cycles: an empirical investigation. J Money Credit Bank 29(1):1–16. https://doi.org/10.2307/2953682

    Article  Google Scholar 

  26. Kantz H, Schreiber T (2003) Nonlinear time series analysis, 2nd edn. Cambridge University Press, Cambridge

    Book  MATH  Google Scholar 

  27. Kočenda E, Černỳ A (2015) Elements of time series econometrics: an applied approach. Charles University in Prague-Karolinum Press, Prague

    Google Scholar 

  28. Fornasier M, Rauhut H, Ward R (2011) Low-rank matrix recovery via iteratively reweighted least squares minimization. SIAM J Optim 21(4):1614–1640

    Article  MathSciNet  MATH  Google Scholar 

  29. Chelidze D (2017) Reliable estimation of minimum embedding dimension through statistical analysis of nearest neighbors. J Comput Nonlinear Dyn 12(5):051024

    Article  Google Scholar 

  30. Weron R, Zator M (2015) A note on using the Hodrick-Prescott filter in electricity markets. Energy Econ 48:1–6. https://doi.org/10.1016/j.eneco.2014.11.014

    Article  Google Scholar 

  31. Das A (2016) Cyclical behavior analysis of Indian market using HP filter and spectral techniques. IUP J Appl Financ 22(2):62–78

    Google Scholar 

  32. Kingma DP, Ba J (2015) Adam: a method for stochastic optimization. In: ICLR (Poster)

  33. Jayalakshmi T, Santhakumaran A (2011) Statistical normalization and back propagation for classification. Int J Comput Theory Eng 3(1):1793–8201

    Google Scholar 

  34. dos Santos Coelho L, Santos AA (2011) A RBF neural network model with GARCH errors: application to electricity price forecasting. Electr Power Syst Res 81(1):74–83

    Article  Google Scholar 

  35. Ghoshal K, Kumbhakar M, Singh VP (2019) Distribution of sediment concentration in debris flow using Rényi entropy. Phys A 521:267–281

    Article  MathSciNet  MATH  Google Scholar 

  36. Sangiorgio M, Dercole F (2020) Robustness of LSTM neural networks for multi-step forecasting of chaotic time series. Chaos Solitons Fractals 139:110045

    Article  MathSciNet  MATH  Google Scholar 

  37. Serin F, Alisan Y, Kece A (2021) Hybrid time series forecasting methods for travel time prediction. Phys A 579:126134

    Article  Google Scholar 

  38. Wang JZ, Wang Y, Jiang P (2015) The study and application of a novel hybrid forecasting model-a case study of wind speed forecasting in China. Appl Energy 143:472–488

    Article  Google Scholar 

  39. Hao Y, Tian C (2019) A novel two-stage forecasting model based on error factor and ensemble method for multi-step wind power forecasting. Appl Energy 238:368–383

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yuxia Liu.

Ethics declarations

Conflict of interest

The authors declare that they have no known competing financial interest or personal relationships that could have appeared to influence the work reported in this paper.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Liu, Y., Xiao, W. & Chu, T. Bi-graph attention network for energy price forecasting via multiple time scale learning. Neural Comput & Applic 35, 15943–15959 (2023). https://doi.org/10.1007/s00521-023-08583-0

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-023-08583-0

Keywords

Navigation