{"title":"Day-ahead residential power load forecasting using adaptive online learning and Particle Swarm Optimization","authors":"Khadija Bouyakhsaine , Abderrahim Brakez , Mohcine Draou , Khalid Addi","doi":"10.1016/j.aei.2025.103754","DOIUrl":null,"url":null,"abstract":"<div><div>Day-ahead load forecasting is essential for improving residential energy management strategies. This study presents a self-learning system using the Light Gradient Boosting Machine (LightGBM) model within an online learning approach to predict residential electricity consumption. The proposed method addresses concept drift through real-time error tracking and adaptive learning, ensuring sustained predictive accuracy in dynamic environments. By leveraging its efficiency, the system achieves high performance while avoiding the complexity and resource demands typically associated with deep learning models.</div><div>The forecasting system was deployed in a living lab located in Morocco, integrating both offline and online learning. Throughout a 16-month period, high-resolution, real-time power consumption data was collected. The offline phase involved benchmarking several machine learning models, testing different time resolutions and feature combinations, and identifying the optimal configuration. Hyperparameter tuning was conducted using both Bayesian Optimization (BO) and Particle Swarm Optimization (PSO), with the most effective setup applied in the online phase. The online model operates in real time, automating data collection, prediction, and integration with Home Energy Management Systems, thereby enabling continuous monitoring and adaptation. The LightGBM model consistently achieved R<sup>2</sup> scores ranging from 80% to 90%, with PSO providing dynamic fine-tuning of hyperparameters to adapt to changing consumption patterns. To assess generalizability, the model was tested on two external datasets: a public residential dataset and an office building dataset from the ASHRAE Global Occupant Behavior Database. Despite the domain shift, the model maintained strong performance.</div><div>These findings highlight the system’s robustness and its appropriateness for informed smart energy decision-making.</div></div>","PeriodicalId":50941,"journal":{"name":"Advanced Engineering Informatics","volume":"68 ","pages":"Article 103754"},"PeriodicalIF":9.9000,"publicationDate":"2025-08-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Advanced Engineering Informatics","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1474034625006470","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Day-ahead load forecasting is essential for improving residential energy management strategies. This study presents a self-learning system using the Light Gradient Boosting Machine (LightGBM) model within an online learning approach to predict residential electricity consumption. The proposed method addresses concept drift through real-time error tracking and adaptive learning, ensuring sustained predictive accuracy in dynamic environments. By leveraging its efficiency, the system achieves high performance while avoiding the complexity and resource demands typically associated with deep learning models.
The forecasting system was deployed in a living lab located in Morocco, integrating both offline and online learning. Throughout a 16-month period, high-resolution, real-time power consumption data was collected. The offline phase involved benchmarking several machine learning models, testing different time resolutions and feature combinations, and identifying the optimal configuration. Hyperparameter tuning was conducted using both Bayesian Optimization (BO) and Particle Swarm Optimization (PSO), with the most effective setup applied in the online phase. The online model operates in real time, automating data collection, prediction, and integration with Home Energy Management Systems, thereby enabling continuous monitoring and adaptation. The LightGBM model consistently achieved R2 scores ranging from 80% to 90%, with PSO providing dynamic fine-tuning of hyperparameters to adapt to changing consumption patterns. To assess generalizability, the model was tested on two external datasets: a public residential dataset and an office building dataset from the ASHRAE Global Occupant Behavior Database. Despite the domain shift, the model maintained strong performance.
These findings highlight the system’s robustness and its appropriateness for informed smart energy decision-making.
期刊介绍:
Advanced Engineering Informatics is an international Journal that solicits research papers with an emphasis on 'knowledge' and 'engineering applications'. The Journal seeks original papers that report progress in applying methods of engineering informatics. These papers should have engineering relevance and help provide a scientific base for more reliable, spontaneous, and creative engineering decision-making. Additionally, papers should demonstrate the science of supporting knowledge-intensive engineering tasks and validate the generality, power, and scalability of new methods through rigorous evaluation, preferably both qualitatively and quantitatively. Abstracting and indexing for Advanced Engineering Informatics include Science Citation Index Expanded, Scopus and INSPEC.