Autors: Popov, S. A., Baeva, S. K., Hinov, N. L.
Title: Game-Guarded Transformer Forecasting of Hydropower Output
Keywords: active power, chronological validation, conformal prediction, evolutionary game, Hydropower forecasting, minimax aggregation, self-attention, transformer, uncertainty quantification

Abstract: Copyright Short-horizon hydropower forecasting is difficult to validate because slowly changing operation can make persistence appear deceptively strong, while random splitting and overlapping windows can inflate the reported performance of learned models. This study develops and audits a leakage-safe, fifteen-minute-ahead active-power forecasting pipeline using supervisory-control records obtained from one Bulgarian hydropower plant over the hydrological year 01 October 2020–30 September 2021. The archive contains 361 available daily files, 508,234 unique timestamps and four unavailable days. After minute normalization and schema harmonization, complete-window screening requires all 30 one-minute history records and the target record (31 records in total) to be observed within one continuity segment; 8298 hourly forecast origins remain. Six experts—persistence, ridge regression, histogram gradient boosting, a gated recurrent unit, a long short-term memory network and a compact self-attention Transformer—share a persistence-residual formulation based on a thirty-minute multivariate history. A finite zero-sum game minimizes the worst calendar-day expected randomized-expert loss on May 2021. Entropic multiplicative-weights dynamics generate a candidate strategy. An exact linear program certifies the minimax solution. An in-block development screening guard determines deployment. Models are fitted on October–March, neural stopping uses April, game tuning uses May, conformal calibration uses June, and July–September is a held-out evaluation block. On 1999 test origins, persistence attains 1.8087 kW mean absolute error and 6.8910 kW root-mean-square error. The Transformer has a slightly lower root-mean-square error of 6.8587 kW but a higher mean absolute error of 2.1434 kW. Its squared-error Diebold–Mariano comparison is not significant after Holm adjustment (p = 0.7012). The 5000-step evolutionary candidate assigns 98.36% to persistence but is rejected because both its overall and worst-day tuning errors exceed persistence. The exact minimax strategy and final guarded forecast are pure persistence. Seven-day moving-block bootstrap intervals, multiplicity-adjusted paired tests and calendar-day maximum-residual conformal intervals quantify uncertainty. The negative selection result is operationally informative: under the observed low-ramp test regime, the Transformer shows limited complementary behavior in the largest-ramp strata and a slightly lower RMSE without a statistically supported overall gain, whereas the guarded game prevents an unsupported mean-error claim. The evaluated scope is one hourly phase (HH:30 origin to HH:45 target), one fixed neural seed and one plant-year; the claims are limited accordingly. A separate one-day minute-rolling diagnostic confirms within-hour phase heterogeneity and does not support an attention-specific advantage; it is not used to replace the annual result.

References

  1. Kishor N, Saini RP, Singh SP. A review on hydropower plant models and control. Renew Sustain Energy Rev. 2007;11(5):776–96. doi:10.1016/j.rser.2005.06.003.
  2. Márquez JL, Molina MG, Pacas JM. Dynamic modeling, simulation and control design of an advanced micro-hydro power plant for distributed generation applications. Int J Hydrogen Energy. 2010;35(11):5772–7. doi:10.1016/ j.ijhydene.2010.02.100.
  3. Barzola-Monteses J, Gómez-Romero J, Espinoza-Andaluz M, Fajardo W. Hydropower production prediction using artificial neural networks: an Ecuadorian application case. Neural Comput Appl. 2022;34(16):13253–66. doi:10.1007/s00521-021-06746-5.
  4. Sattar Hanoon M, Najah Ahmed A, Razzaq A, Oudah AY, Alkhayyat A, Feng Huang Y, et al. Prediction of hydropower generation via machine learning algorithms at three Gorges Dam, China. Ain Shams Eng J. 2023;14(4):101919. doi:10.1016/j.asej.2022.101919.
  5. Dehghani M, Riahi-Madvar H, Hooshyaripor F, Mosavi A, Shamshirband S, Zavadskas EK, et al. Prediction of hydropower generation using grey wolf optimization adaptive neuro-fuzzy inference system. Energies. 2019;12(2):289. doi:10.3390/en12020289.
  6. Tebong NK, Simo T, Takougang AN. Two-level deep learning ensemble model for forecasting hydroelectricity production. Energy Rep. 2023;10(5):2793–803. doi:10.1016/j.egyr.2023.09.091.
  7. Zhang G, Li H, Wang L, Wang W, Guo J, Qin H, et al. Research on medium- and long-term hydropower generation forecasting method based on LSTM and transformer. Energies. 2024;17(22):5707. doi:10.3390/en17225707.
  8. Kratzert F, Klotz D, Brenner C, Schulz K, Herrnegger M. Rainfall–runoff modelling using long short-term memory (LSTM) networks. Hydrol Earth Syst Sci. 2018;22(11):6005–22. doi:10.5194/hess-22-6005-2018.
  9. Gauch M, Kratzert F, Klotz D, Nearing G, Lin J, Hochreiter S. Rainfall–runoff prediction at multiple timescales with a single long short-term memory network. Hydrol Earth Syst Sci. 2021;25(4):2045–62. doi:10.5194/hess-25-2045-2021.
  10. Hunt KMR, Matthews GR, Pappenberger F, Prudhomme C. Using a long short-term memory (LSTM) neural network to boost river streamflow forecasts over the western United States. Hydrol Earth Syst Sci. 2022;26(21):5449–72. doi:10.5194/hess-26-5449-2022.
  11. Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, et al. Attention is all you need. In: Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017); Dec 4–9; Long Beach, CA, USA.
  12. Lim B, Arık SÖ, Loeff N, Pfister T. Temporal fusion transformers for interpretable multi-horizon time series forecasting. Int J Forecast. 2021;37(4):1748–64. doi:10.1016/j.ijforecast.2021.03.012.
  13. Zhou H, Zhang S, Peng J, Zhang S, Li J, Xiong H, et al. Informer: beyond efficient transformer for long sequence time-series forecasting. Proc AAAI Conf Artif Intell. 2021;35(12):11106–15. doi:10.1609/aaai.v35i12.17325.
  14. Wu H, Xu J, Wang J, Long M. Autoformer: decomposition transformers with auto-correlation for long-term series forecasting. Adv Neural Inf Process Syst. 2021;34:22419–30.
  15. Zhou T, Ma Z, Wang X, Sun L, Jin R, Wen Q. Fedformer: frequency enhanced decomposed transformer for long-term series forecasting. In: AI for time series. Boca Raton, FL, USA: CRC Press; 2026. p. 10–34. doi:10.1201/ 9781003612742-2.
  16. Nie Y, Nguyen NH, Sinthong P, Kalagnanam J. A time series is worth 64 words: long-term forecasting with transformers. In: Proceedings of the Eleventh International Conference on Learning Representations; 2023 May 1–5; Kigali, Rwanda.
  17. Zeng A, Chen M, Zhang L, Xu Q. Are transformers effective for time series forecasting? Proc AAAI Conf Artif Intell. 2023;37(9):11121–8. doi:10.1609/aaai.v37i9.26317.
  18. Liu Y, Hu T, Zhang H, Wu H, Wang S, Ma L, et al. iTransformer: inverted transformers are effective for time series forecasting. In: Proceedings of the Twelfth International Conference on Learning Representations; 2024 May 7–11; Vienna, Austria.
  19. Bates JM, Granger CWJ. The combination of forecasts. J Oper Res Soc. 1969;20(4):451–68. doi:10.2307/3008764.
  20. Littlestone N, Warmuth MK. The weighted majority algorithm. Inf Comput. 1994;108(2):212–61. doi:10.1006/inco. 1994.1009.
  21. Taylor PD, Jonker LB. Evolutionary stable strategies and game dynamics. Math Biosci. 1978;40(1–2):145–56. doi:10. 1016/0025-5564(78)90077-9.
  22. Arora S, Hazan E, Kale S. The multiplicative weights update method: a meta-algorithm and applications. Theory Comput. 2012;8(6):121–64. doi:10.4086/toc.2012.v008a006.
  23. Devaine M, Gaillard P, Goude Y, Stoltz G. Forecasting electricity consumption by aggregating specialized experts. Mach Learn. 2013;90(2):231–60. doi:10.1007/s10994-012-5314-7.
  24. Klotz D, Kratzert F, Gauch M, Keefe Sampson A, Brandstetter J, Klambauer G, et al. Uncertainty estimation with deep learning for rainfall–runoff modeling. Hydrol Earth Syst Sci. 2022;26(6):1673–93. doi:10.5194/hess-26-1673-2022.
  25. Diebold FX, Mariano RS. Comparing predictive accuracy. J Bus Econ Stat Am Stat Assoc. 1995;13(3):253–63. doi:10. 1080/07350015.1995.10524599.
  26. Harvey D, Leybourne S, Newbold P. Testing the equality of prediction mean squared errors. Int J Forecast. 1997;13(2):281–91. doi:10.1016/S0169-2070(96)00719-4.
  27. Kunsch HR. The jackknife and the bootstrap for general stationary observations. Ann Statist. 1989;17(3):1217–41. doi:10.1214/aos/1176347265.
  28. Lei J, G’Sell M, Rinaldo A, Tibshirani RJ, Wasserman L. Distribution-free predictive inference for regression. J Am Stat Assoc. 2018;113(523):1094–111. doi:10.1080/01621459.2017.1307116.
  29. Xu C, Xie Y. Conformal prediction interval for dynamic time-series. In: Proceedings of the 38th International Conference on Neural Information Processing Systems; 2024 Dec 10–15; Vancouver, BC, Canada.
  30. Francisco R, Matos JP, Marinheiro R, Lopes N, Portela MM, Barros P. Application of temporal fusion transformers to run-of-the-river hydropower scheduling. Hydrology. 2025;12(4):81. doi:10.3390/hydrology12040081.
  31. Kåge L, Milic V, Andersson M, Wallén M, Trépout S. Hourly hydropower production forecasting with machine learning: a case study in linköping, Sweden. In: Proceedings of the 10th World Congress on New Technologies; 2024 Aug 25–27; Barcelona, Spain. doi:10.11159/icert24.102.
  32. Solar Dispatcher. HPP flash supervisory-control portal, hydrogenerator metadata pages and historical daily operational logs [Internet]. [cited 2026 Aug 14]. Available from: https://www.solar-dispatcher.com/scada/HPP_Flash/.
  33. Hoerl AE, Kennard RW. Ridge regression: biased estimation for nonorthogonal problems. Technometrics. 1970;12(1):55–67. doi:10.1080/00401706.1970.10488634.
  34. Friedman JH. Greedy function approximation: a gradient boosting machine. Ann Statist. 2001;29(5):1189–232. doi:10.1214/aos/1013203451.
  35. Cho K, van Merriënboer B, Gulcehre C, Bahdanau D, Bougares F, Schwenk H, et al. Learning phrase representations using RNN encoder–decoder for statistical machine translation. In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP); 2014 Oct 25–29; Doha, Qatar.
  36. Hochreiter S, Schmidhuber J. Long short-term memory. Neural Comput. 1997;9(8):1735–80. doi:10.1162/neco.1997. 9.8.1735.
  37. Newey WK, West KD. A simple, positive semi-definite, heteroskedasticity and autocorrelation consistent covariance matrix. Econometrica. 1987;55(3):703. doi:10.2307/1913610.
  38. Holm S. A simple sequentially rejective multiple test procedure. Scand J Stat. 1979;6(2):65–70.
  39. Rathnayake N, Jayasinghe J, Semasinghe R, Rathnayake U. Predicting short-term wind power generation at musalpetti wind farm: model development and analysis. Comput Model Eng Sci. 2025;143(2):2287–305. doi:10. 32604/cmes.2025.064464.
  40. Rathnayake N, Rathnayake U, Dang TL, Hoshino Y. A cascaded adaptive network-based fuzzy inference system for hydropower forecasting. Sensors. 2022;22(8):2905. doi:10.3390/s22082905.

Issue

CMES - Computer Modeling in Engineering and Sciences, vol. 149, 2026, United States, https://doi.org/10.32604/cmes.2026.089814

Copyright Tech Science Press, Computer Modeling in Engineering and Sciences (CMES)

Вид: статия в списание, публикация в издание с импакт фактор, публикация в реферирано издание, индексирана в Scopus