{"title":"Meta-heuristic federated learning aggregation methods for load forecasting","authors":"Efstathios Sarantinopoulos , Vasilis Michalakopoulos , Elissaios Sarmas , Vangelis Marinakis , Liana Toderean , Tudor Cioara","doi":"10.1016/j.egyai.2025.100594","DOIUrl":null,"url":null,"abstract":"<div><div>Federated learning (FL) is essential to energy transition as it leverages decentralized energy data and machine learning to collaborative train global energy predictive models across distributed energy resources while preserving data privacy. This paper introduces one of the first FL frameworks that efficiently integrates swarm intelligence-based aggregation methods to large-scale energy consumption forecasting, by extending the TensorFlow Federated Core framework with specialized functional enhancements. The primary objective is to enhance forecasting accuracy in decentralized learning settings. We investigated the effectiveness of various nature-inspired metaheuristics for optimizing the aggregation of local model updates from distributed energy resource nodes into a global model for load forecasting tasks, including Grey Wolf Optimization (GWO), Particle Swarm Optimization (PSO), and Firefly Algorithm (FFA) against the standard Federated Averaging (FedAvg) algorithm. Using a real-world dataset comprising of 4,438 distinct energy consumers, we demonstrate that metaheuristic aggregators consistently outperform the most well-known method, Federated Averaging in predictive accuracy. Among these approaches, GWO emerges as the superior performer achieving up to 23.6% error reduction. Our findings underscore the significant potential of metaheuristic-based aggregation mechanisms in improving FL outcomes, particularly in energy forecasting applications involving large-scale distributed data scenarios.</div></div>","PeriodicalId":34138,"journal":{"name":"Energy and AI","volume":"22 ","pages":"Article 100594"},"PeriodicalIF":9.6000,"publicationDate":"2025-08-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Energy and AI","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666546825001260","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Federated learning (FL) is essential to energy transition as it leverages decentralized energy data and machine learning to collaborative train global energy predictive models across distributed energy resources while preserving data privacy. This paper introduces one of the first FL frameworks that efficiently integrates swarm intelligence-based aggregation methods to large-scale energy consumption forecasting, by extending the TensorFlow Federated Core framework with specialized functional enhancements. The primary objective is to enhance forecasting accuracy in decentralized learning settings. We investigated the effectiveness of various nature-inspired metaheuristics for optimizing the aggregation of local model updates from distributed energy resource nodes into a global model for load forecasting tasks, including Grey Wolf Optimization (GWO), Particle Swarm Optimization (PSO), and Firefly Algorithm (FFA) against the standard Federated Averaging (FedAvg) algorithm. Using a real-world dataset comprising of 4,438 distinct energy consumers, we demonstrate that metaheuristic aggregators consistently outperform the most well-known method, Federated Averaging in predictive accuracy. Among these approaches, GWO emerges as the superior performer achieving up to 23.6% error reduction. Our findings underscore the significant potential of metaheuristic-based aggregation mechanisms in improving FL outcomes, particularly in energy forecasting applications involving large-scale distributed data scenarios.