IDEAS home Printed from https://ideas.repec.org/a/eee/energy/v336y2025ics036054422504112x.html

Few-shot and continuous online learning for forecasting in the energy industry

Author

Listed:
  • Cirac, Gabriel
  • Botechia, Vinicius Eduardo
  • Schiozer, Denis José
  • Martínez, Víctor
  • Werneck, Rafael de Oliveira
  • Rocha, Anderson

Abstract

Forecasting in the energy sector is critical for planning and efficiency, but existing methods require extensive historical data and struggle with changing conditions. This work presents a few-shot forecasting method for energy time series prediction under nonstationary conditions and data scarcity. The solution “plugs into” any existing regressor, combining ideas to create a flexible data-efficient tool. The model is continuously updated with two daily samples, a marked reduction compared to conventional batch-based training. This efficiency is guaranteed by a moving window, which prioritizes recent patterns and avoids machine learning drift. A normalization technique recalibrates cumulative sum forecasts by adjusting future targets relative to the latest observed series segment. This narrows the extrapolation range as new data arrives, aligning predictions with the updated training range. Complex architectures are not required when using the approach, as evidenced by an ablation study. The method surpassed algorithms like Time-series Dense Encoder and Neural Basis Expansion Analysis. Promising results were yielded on diverse datasets, including the Volve petroleum field, the UNISIM-II-H synthetic case, and the Open-Power-System-Data. Also, a longitudinal interpretability method is employed. This research aligns with the industry’s real needs, where data is limited and arrives in real-time streams.

Suggested Citation

  • Cirac, Gabriel & Botechia, Vinicius Eduardo & Schiozer, Denis José & Martínez, Víctor & Werneck, Rafael de Oliveira & Rocha, Anderson, 2025. "Few-shot and continuous online learning for forecasting in the energy industry," Energy, Elsevier, vol. 336(C).
  • Handle: RePEc:eee:energy:v:336:y:2025:i:c:s036054422504112x
    DOI: 10.1016/j.energy.2025.138470
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S036054422504112X
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.energy.2025.138470?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Wang, Hexian & Guo, Dongjie & Wang, Lingmei & Zhou, Tongming & Jia, Chengzhen & Liu, Yushan, 2025. "A novel frequency sparse downsampling interaction transformer for wind power forecasting," Energy, Elsevier, vol. 326(C).
    2. Meng, Anbo & Chen, Shu & Ou, Zuhong & Xiao, Jianhua & Zhang, Jianfeng & Chen, Shun & Zhang, Zheng & Liang, Ruduo & Zhang, Zhan & Xian, Zikang & Wang, Chenen & Yin, Hao & Yan, Baiping, 2022. "A novel few-shot learning approach for wind power prediction applying secondary evolutionary generative adversarial network," Energy, Elsevier, vol. 261(PA).
    3. Chao Tang & Yufeng Zhang & Fan Wu & Zhuo Tang, 2024. "An Improved CNN-BILSTM Model for Power Load Prediction in Uncertain Power Systems," Energies, MDPI, vol. 17(10), pages 1-16, May.
    4. Bardeeniz, Santi & Panjapornpon, Chanin & Fongsamut, Chalermpan & Ngaotrakanwiwat, Pailin & Hussain, Mohamed Azlan, 2024. "Energy efficiency characteristics analysis for process diagnosis under anomaly using self-adaptive-based SHAP guided optimization," Energy, Elsevier, vol. 309(C).
    5. Dong, Xiaochong & Sun, Yingyun & Dong, Lei & Li, Jian & Li, Yan & Di, Lei, 2023. "Transferable wind power probabilistic forecasting based on multi-domain adversarial networks," Energy, Elsevier, vol. 285(C).
    6. Wang, Xinlin & Wang, Hao & Li, Shengping & Jin, Haizhen, 2024. "A reinforcement learning-based online learning strategy for real-time short-term load forecasting," Energy, Elsevier, vol. 305(C).
    7. Tao Hong & Pierre Pinson & Yi Wang & Rafal Weron & Dazhi Yang & Hamidreza Zareipour, 2020. "Energy forecasting: A review and outlook," WORking papers in Management Science (WORMS) WORMS/20/08, Department of Operations Research and Business Intelligence, Wroclaw University of Science and Technology.
    8. Hany Habbak & Mohamed Mahmoud & Khaled Metwally & Mostafa M. Fouda & Mohamed I. Ibrahem, 2023. "Load Forecasting Techniques and Their Applications in Smart Grids," Energies, MDPI, vol. 16(3), pages 1-33, February.
    9. Natei Ermias Benti & Mesfin Diro Chaka & Addisu Gezahegn Semie, 2023. "Forecasting Renewable Energy Generation with Machine Learning and Deep Learning: Current Advances and Future Prospects," Sustainability, MDPI, vol. 15(9), pages 1-33, April.
    10. Yin, Hao & Li, Chen & Chen, Shuxuan & Meng, Anbo, 2025. "Few-shot wind power prediction using sample transfer and imbalanced evolved neural network," Energy, Elsevier, vol. 328(C).
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Qin, Dalin & Wu, Xian & Sun, Dayan & Liang, Zhifeng & Zhang, Ning, 2025. "Load forecasting under distribution shift: An online quantile ensembling approach," Applied Energy, Elsevier, vol. 401(PC).
    2. Lei Zhang & Yuxing Yuan & Su Yan & Hang Cao & Tao Du, 2025. "Advances in Modeling and Optimization of Intelligent Power Systems Integrating Renewable Energy in the Industrial Sector: A Multi-Perspective Review," Energies, MDPI, vol. 18(10), pages 1-50, May.
    3. Fasogbon, Samson Kolawole & Fetuga, Ibrahim Ademola & Oyeniran, Ayodele Temitope & Shaibu, Samuel Adavize & Afolabi, Samuel & Ndokwu, Tochukwu Anthony & Oluwadare, Seyi Rufus & Onafowokan, John Temito, 2025. "Optimization of energy grid efficiency with machine learning: A comprehensive review of challenges and opportunities," Renewable and Sustainable Energy Reviews, Elsevier, vol. 223(C).
    4. Omoyele, Olalekan & Hoffmann, Maximilian & Koivisto, Matti & Larrañeta, Miguel & Weinand, Jann Michael & Linßen, Jochen & Stolten, Detlef, 2024. "Increasing the resolution of solar and wind time series for energy system modeling: A review," Renewable and Sustainable Energy Reviews, Elsevier, vol. 189(PB).
    5. Billé, Anna Gloria & Gianfreda, Angelica & Del Grosso, Filippo & Ravazzolo, Francesco, 2023. "Forecasting electricity prices with expert, linear, and nonlinear models," International Journal of Forecasting, Elsevier, vol. 39(2), pages 570-586.
    6. Zhang, Xiaodong & Patino-Echeverri, Dalia & Li, Mingquan, 2026. "A dataset and protocol to enhance power system models with fossil-fuel-fired electricity generating units," Renewable and Sustainable Energy Reviews, Elsevier, vol. 230(C).
    7. Uniejewski, Bartosz & Weron, Rafał, 2021. "Regularized quantile regression averaging for probabilistic electricity price forecasting," Energy Economics, Elsevier, vol. 95(C).
    8. Mayer, Martin János & Yang, Dazhi, 2023. "Calibration of deterministic NWP forecasts and its impact on verification," International Journal of Forecasting, Elsevier, vol. 39(2), pages 981-991.
    9. Shadi Tehrani & Jesús Juan & Eduardo Caro, 2022. "Electricity Spot Price Modeling and Forecasting in European Markets," Energies, MDPI, vol. 15(16), pages 1-23, August.
    10. Chen, Fuhao & Yan, Jie & Liu, Yongqian & Yan, Yamin & Tjernberg, Lina Bertling, 2024. "A novel meta-learning approach for few-shot short-term wind power forecasting," Applied Energy, Elsevier, vol. 362(C).
    11. Pierre Pinson & Liyang Han & Jalal Kazempour, 2022. "Regression markets and application to energy forecasting," TOP: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 30(3), pages 533-573, October.
    12. Maciej Kostrzewski & Jadwiga Kostrzewska, 2021. "The Impact of Forecasting Jumps on Forecasting Electricity Prices," Energies, MDPI, vol. 14(2), pages 1-17, January.
    13. Jiaxin Zhang & Siyuan Shang, 2025. "Fast and Interpretable Probabilistic Solar Power Forecasting via a Multi-Observation Non-Homogeneous Hidden Markov Model," Energies, MDPI, vol. 18(10), pages 1-14, May.
    14. Voyant, Cyril & Notton, Gilles & Duchaud, Jean-Laurent & Gutiérrez, Luis Antonio García & Bright, Jamie M. & Yang, Dazhi, 2022. "Benchmarks for solar radiation time series forecasting," Renewable Energy, Elsevier, vol. 191(C), pages 747-762.
    15. Pesantez, Jorge E. & Li, Binbin & Lee, Christopher & Zhao, Zhizhen & Butala, Mark & Stillwell, Ashlynn S., 2023. "A Comparison Study of Predictive Models for Electricity Demand in a Diverse Urban Environment," Energy, Elsevier, vol. 283(C).
    16. Siwei Cheng & Jing Shi & Qi Cheng & Xinmeng Zhou & Shuai Zeng, 2025. "Hybrid Model for Medium-Term Load Forecasting in Urban Power Grids," Energies, MDPI, vol. 18(16), pages 1-24, August.
    17. Wen, Honglin & Pinson, Pierre & Gu, Jie & Jin, Zhijian, 2024. "Wind energy forecasting with missing values within a fully conditional specification framework," International Journal of Forecasting, Elsevier, vol. 40(1), pages 77-95.
    18. Weronika Nitka & Rafał Weron, 2023. "Combining predictive distributions of electricity prices. Does minimizing the CRPS lead to optimal decisions in day-ahead bidding?," Operations Research and Decisions, Wroclaw University of Science and Technology, Faculty of Management, vol. 33(3), pages 105-118.
    19. Qinghe Zhao & Xinyi Liu & Junlong Fang, 2023. "Extreme Gradient Boosting Model for Day-Ahead STLF in National Level Power System: Estonia Case Study," Energies, MDPI, vol. 16(24), pages 1-29, December.
    20. Leonard Burg & Gonca Gürses-Tran & Reinhard Madlener & Antonello Monti, 2021. "Comparative Analysis of Load Forecasting Models for Varying Time Horizons and Load Aggregation Levels," Energies, MDPI, vol. 14(21), pages 1-16, November.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:energy:v:336:y:2025:i:c:s036054422504112x. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/energy .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.