{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,29]],"date-time":"2026-03-29T16:14:19Z","timestamp":1774800859111,"version":"3.50.1"},"reference-count":30,"publisher":"MDPI AG","issue":"7","license":[{"start":{"date-parts":[[2023,3,29]],"date-time":"2023-03-29T00:00:00Z","timestamp":1680048000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"European Union\u2019s Horizon 2020 Research programme","award":["101058505"],"award-info":[{"award-number":["101058505"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Increased demand for fast edge computation and privacy concerns have shifted researchers\u2019 focus towards a type of distributed learning known as federated learning (FL). Recently, much research has been carried out on FL; however, a major challenge is the need to tackle the high diversity in different clients. Our research shows that using highly diverse data sets in FL can lead to low accuracy of some local models, which can be categorised as anomalous behaviour. In this paper, we present FedBranched, a clustering-based framework that uses probabilistic methods to create branches of clients and assigns their respective global models. Branching is performed using hidden Markov model clustering (HMM), and a round of branching depends on the diversity of the data. Clustering is performed on Euclidean distances of mean absolute percentage errors (MAPE) obtained from each client at the end of pre-defined communication rounds. The proposed framework was implemented on substation-level energy data with nine clients for short-term load forecasting using an artificial neural network (ANN). FedBranched took two clustering rounds and resulted in two different branches having individual global models. The results show a substantial increase in the average MAPE of all clients; the biggest improvement of 11.36% was observed in one client.<\/jats:p>","DOI":"10.3390\/s23073570","type":"journal-article","created":{"date-parts":[[2023,3,30]],"date-time":"2023-03-30T01:31:30Z","timestamp":1680139890000},"page":"3570","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":22,"title":["FedBranched: Leveraging Federated Learning for Anomaly-Aware Load Forecasting in Energy Networks"],"prefix":"10.3390","volume":"23","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-0192-7353","authenticated-orcid":false,"given":"Habib Ullah","family":"Manzoor","sequence":"first","affiliation":[{"name":"James Watt School of Engineering, University of Glasgow, Glasgow G12 8QQ, UK"},{"name":"Department of Electrical Engineering, University of Engineering and Technology, Lahore-Faisalabad Campus, Faisalabad 38000, Pakistan"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4741-4126","authenticated-orcid":false,"given":"Ahsan Raza","family":"Khan","sequence":"additional","affiliation":[{"name":"James Watt School of Engineering, University of Glasgow, Glasgow G12 8QQ, UK"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1024-3618","authenticated-orcid":false,"given":"David","family":"Flynn","sequence":"additional","affiliation":[{"name":"James Watt School of Engineering, University of Glasgow, Glasgow G12 8QQ, UK"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1055-7959","authenticated-orcid":false,"given":"Muhammad Mahtab","family":"Alam","sequence":"additional","affiliation":[{"name":"Thomas Johann Seebeck Department of Electronics, Tallinn University of Technology, 19086 Tallinn, Estonia"}]},{"given":"Muhammad","family":"Akram","sequence":"additional","affiliation":[{"name":"Department of Electrical Engineering, University of Engineering and Technology, Lahore-Faisalabad Campus, Faisalabad 38000, Pakistan"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4743-9136","authenticated-orcid":false,"given":"Muhammad Ali","family":"Imran","sequence":"additional","affiliation":[{"name":"James Watt School of Engineering, University of Glasgow, Glasgow G12 8QQ, UK"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7497-9336","authenticated-orcid":false,"given":"Ahmed","family":"Zoha","sequence":"additional","affiliation":[{"name":"James Watt School of Engineering, University of Glasgow, Glasgow G12 8QQ, UK"}]}],"member":"1968","published-online":{"date-parts":[[2023,3,29]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"2031","DOI":"10.1109\/COMST.2020.2986024","article-title":"Federated learning in mobile edge networks: A comprehensive survey","volume":"22","author":"Lim","year":"2020","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"76","DOI":"10.1016\/j.future.2017.02.006","article-title":"Multi-key privacy-preserving deep learning in cloud computing","volume":"74","author":"Li","year":"2017","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Custers, B., Sears, A.M., Dechesne, F., Georgieva, I., Tani, T., and van der Hof, S. (2019). EU Personal Data Protection in Policy and Practice, Springer.","DOI":"10.1007\/978-94-6265-282-8"},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"2022","DOI":"10.1109\/TWC.2019.2961673","article-title":"yang2020federated","volume":"19","author":"Yang","year":"2020","journal-title":"IEEE Trans. Wirel. Commun."},{"key":"ref_5","unstructured":"McMahan, H.B., Moore, E., Ramage, D., and y Arcas, B.A. (2016). Federated learning of deep networks using model averaging. arXiv."},{"key":"ref_6","unstructured":"Kone\u010dn\u1ef3, J., McMahan, H.B., Yu, F.X., Richt\u00e1rik, P., Suresh, A.T., and Bacon, D. (2016). Federated learning: Strategies for improving communication efficiency. arXiv."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"9933","DOI":"10.1016\/j.egyr.2022.08.004","article-title":"Electric load forecasting under False Data Injection Attacks using deep learning","volume":"8","author":"Moradzadeh","year":"2022","journal-title":"Energy Rep."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"1311","DOI":"10.1016\/j.rser.2015.10.117","article-title":"Load forecasting, dynamic pricing and DSM in smart grid: A review","volume":"54","author":"Khan","year":"2016","journal-title":"Renew. Sustain. Energy Rev."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"381","DOI":"10.3390\/iot3030021","article-title":"Performance Evaluation of Federated Learning for Residential Energy Forecasting","volume":"3","author":"Petrangeli","year":"2022","journal-title":"IoT"},{"key":"ref_10","first-page":"100470","article-title":"Federated learning with hyperparameter-based clustering for electrical load forecasting","volume":"17","author":"Gholizadeh","year":"2022","journal-title":"IoT"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"3454","DOI":"10.1109\/TIFS.2020.2988575","article-title":"Federated learning with differential privacy: Algorithms and performance analysis","volume":"15","author":"Wei","year":"2020","journal-title":"IEEE Trans. Inf. Forensics Secur."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Manzoor, H.U., Khan, M.S., Khan, A.R., Ayaz, F., Flynn, D., Imran, M.A., and Zoha, A. (2022, January 24\u201326). FedClamp: An Algorithm for Identification of Anomalous Client in Federated Learning. Proceedings of the 2022 29th IEEE International Conference on Electronics, Circuits and Systems (ICECS), Glasgow, UK.","DOI":"10.1109\/ICECS202256217.2022.9970909"},{"key":"ref_13","unstructured":"Zhao, Y., Li, M., Lai, L., Suda, N., Civin, D., and Chandra, V. (2018). Federated learning with non-iid data. arXiv."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"95949","DOI":"10.1109\/ACCESS.2021.3094089","article-title":"Short-term energy consumption forecasting at the edge: A federated learning approach","volume":"9","author":"Savi","year":"2021","journal-title":"IEEE Access"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Manzoor, H.U., Khan, A.R., Al-Quraan, M., Mohjazi, L., Taha, A., Abbas, H., Hussain, S., Imran, M.A., and Zoha, A. (2022, January 14\u201317). Energy Management in an Agile Workspace using AI-driven Forecasting and Anomaly Detection. Proceedings of the 2022 4th Global Power, Energy and Communication Conference (GPECOM), Nevsehir, Turkey.","DOI":"10.1109\/GPECOM55404.2022.9815599"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Ta\u00efk, A., and Cherkaoui, S. (2020, January 7\u201311). Electrical load forecasting using edge computing and federated learning. Proceedings of the ICC 2020-2020 IEEE International Conference on Communications (ICC), Dublin, Ireland.","DOI":"10.1109\/ICC40277.2020.9148937"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"103291","DOI":"10.1016\/j.jbi.2019.103291","article-title":"Patient clustering improves efficiency of federated machine learning to predict mortality and hospital stay time using distributed electronic medical records","volume":"99","author":"Huang","year":"2019","journal-title":"J. Biomed. Inform."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Briggs, C., Fan, Z., and Andras, P. (2020, January 19\u201324). Federated learning with hierarchical clustering of local updates to improve training on non-IID data. Proceedings of the 2020 International Joint Conference on Neural Networks (IJCNN), Glasgow, UK.","DOI":"10.1109\/IJCNN48605.2020.9207469"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Luo, Y., Liu, X., and Xiu, J. (2021, January 14\u201323). Energy-efficient clustering to address data heterogeneity in federated learning. Proceedings of the ICC 2021-IEEE International Conference on Communications, Montreal, QC, Canada.","DOI":"10.1109\/ICC42927.2021.9500901"},{"key":"ref_20","first-page":"7773","article-title":"Federated Learning With Soft Clustering","volume":"9","author":"Li","year":"2021","journal-title":"IEEE IoT J."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"3710","DOI":"10.1109\/TNNLS.2020.3015958","article-title":"Clustered federated learning: Model-agnostic distributed multitask optimization under privacy constraints","volume":"32","author":"Sattler","year":"2020","journal-title":"IEEE Trans. Neural Netw. Learn. Syst."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Ma, X., Zhang, J., Guo, S., and Xu, W. (2022, January 18\u201324). Layer-wised model aggregation for personalized federated learning. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.","DOI":"10.1109\/CVPR52688.2022.00985"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"2741","DOI":"10.3390\/ijerph110302741","article-title":"Clustering multivariate time series using hidden Markov models","volume":"11","author":"Ghassempour","year":"2014","journal-title":"Int. J. Environ. Res. Public Health"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Candelieri, A. (2017). Clustering and support vector regression for water demand forecasting and anomaly detection. Water, 9.","DOI":"10.3390\/w9030224"},{"key":"ref_25","unstructured":"Mulla, R. (2022, August 08). Hourly Energy Consumption. Available online: https:\/\/www.kaggle.com\/datasets\/robikscube\/hourly-energy-consumption."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"192","DOI":"10.1109\/TPDS.2021.3090331","article-title":"Communication-efficient federated learning with compensated overlap-fedavg","volume":"33","author":"Zhou","year":"2021","journal-title":"IEEE Trans. Parallel Distrib. Syst."},{"key":"ref_27","unstructured":"Dwork, C. (2008, January 25\u201329). Differential privacy: A survey of results. Proceedings of the International Conference on Theory and Applications of Models of Computation, Xi\u2019an, China."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1155\/2007\/13801","article-title":"A survey of homomorphic encryption for nonspecialists","volume":"2007","author":"Fontaine","year":"2007","journal-title":"EURASIP J. Inf. Secur."},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"109094","DOI":"10.1016\/j.comnet.2022.109094","article-title":"A value-added IoT service for cellular networks using federated learning","volume":"213","author":"Mian","year":"2022","journal-title":"Comput. Netw."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"785","DOI":"10.1111\/jiec.12630","article-title":"Electricity intensity of internet data transmission: Untangling the estimates","volume":"22","author":"Aslan","year":"2018","journal-title":"J. Ind. Ecol."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/7\/3570\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T19:05:54Z","timestamp":1760123154000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/7\/3570"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,3,29]]},"references-count":30,"journal-issue":{"issue":"7","published-online":{"date-parts":[[2023,4]]}},"alternative-id":["s23073570"],"URL":"https:\/\/doi.org\/10.3390\/s23073570","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,3,29]]}}}