Jing Xie, Xiang Yin, Xiyi Zhang, Juan Chen, Q. Wen
{"title":"Personalized Federated Learning with Gradient Similarity","authors":"Jing Xie, Xiang Yin, Xiyi Zhang, Juan Chen, Q. Wen","doi":"10.1109/ICCWAMTIP53232.2021.9674055","DOIUrl":null,"url":null,"abstract":"In the conventional federated learning, the local models of multiple clients are trained independently by their privacy data, and the center server generates the shared global model by aggregating local models. However, the global model often fails to adapt to each client due to statistical heterogeneities, such as non-IID data. To address the problem, we propose the Subclass Personalized Federated Learning (SPFL) algorithm for non-IID data. In SPFL, the server uses the Softmax Normalized Gradient Similarity (SNGS) to weight the relationship between clients, and sends the personalized global model to each client. The stage strategy of ResNet is also applied to improve the performance of our algorithm. The experimental results show that the SPFL algorithm used on non-IID data outperforms the vanilla FedAvg, Per-FedAvg, FedUpdate, and pFedMe algorithms, improving the accuracy by 1.81∼18.46% on four datasets (CIFAR10, CIFAR100, MNIST, EMNIST), while still maintaining the state-of-the-art performance on IID data.","PeriodicalId":358772,"journal":{"name":"2021 18th International Computer Conference on Wavelet Active Media Technology and Information Processing (ICCWAMTIP)","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-12-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 18th International Computer Conference on Wavelet Active Media Technology and Information Processing (ICCWAMTIP)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCWAMTIP53232.2021.9674055","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In the conventional federated learning, the local models of multiple clients are trained independently by their privacy data, and the center server generates the shared global model by aggregating local models. However, the global model often fails to adapt to each client due to statistical heterogeneities, such as non-IID data. To address the problem, we propose the Subclass Personalized Federated Learning (SPFL) algorithm for non-IID data. In SPFL, the server uses the Softmax Normalized Gradient Similarity (SNGS) to weight the relationship between clients, and sends the personalized global model to each client. The stage strategy of ResNet is also applied to improve the performance of our algorithm. The experimental results show that the SPFL algorithm used on non-IID data outperforms the vanilla FedAvg, Per-FedAvg, FedUpdate, and pFedMe algorithms, improving the accuracy by 1.81∼18.46% on four datasets (CIFAR10, CIFAR100, MNIST, EMNIST), while still maintaining the state-of-the-art performance on IID data.