Skip to main content

Research Repository

Advanced Search

Federated learning with hierarchical clustering of local updates to improve training on non-IID data

Briggs, Christopher; Fan, Zhong; Andras, Peter

Authors

Christopher Briggs

Zhong Fan

Profile Image

Prof Peter Andras P.Andras@napier.ac.uk
Dean of School of Computing Engineering and the Built Environment



Abstract

Federated learning (FL) is a well established method for performing machine learning tasks over massively distributed data. However in settings where data is distributed in a non-iid (not independent and identically distributed) fashion - as is typical in real world situations - the joint model produced by FL suffers in terms of test set accuracy and/or communication costs compared to training on iid data. We show that learning a single joint model is often not optimal in the presence of certain types of non-iid data. In this work we present a modification to FL by introducing a hierarchical clustering step (FL+HC) to separate clusters of clients by the similarity of their local updates to the global joint model. Once separated, the clusters are trained independently and in parallel on specialised models. We present a robust empirical analysis of the hyperparameters for FL+HC for several iid and non-iid settings. We show how FL+HC allows model training to converge in fewer communication rounds (significantly so under some non-iid settings) compared to FL without clustering. Additionally, FL+HC allows for a greater percentage of clients to reach a target accuracy compared to standard FL. Finally we make suggestions for good default hyperparameters to promote superior performing specialised models without modifying the the underlying federated learning communication protocol.

Presentation Conference Type Conference Paper (Published)
Conference Name 2020 International Joint Conference on Neural Networks (IJCNN)
Start Date Jul 19, 2020
End Date Jul 24, 2020
Online Publication Date Sep 28, 2020
Publication Date 2020
Deposit Date Nov 9, 2021
Publisher Institute of Electrical and Electronics Engineers
Series ISSN 2161-4407
Book Title 2020 International Joint Conference on Neural Networks (IJCNN)
DOI https://doi.org/10.1109/IJCNN48605.2020.9207469
Keywords federated learning, distributed machine learning, clustering applications
Public URL http://researchrepository.napier.ac.uk/Output/2809322