Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Generalized Federated Learning via Sharpness Aware Minimization

About

Federated Learning (FL) is a promising framework for performing privacy-preserving, distributed learning with a set of clients. However, the data distribution among clients often exhibits non-IID, i.e., distribution shift, which makes efficient optimization difficult. To tackle this problem, many FL algorithms focus on mitigating the effects of data heterogeneity across clients by increasing the performance of the global model. However, almost all algorithms leverage Empirical Risk Minimization (ERM) to be the local optimizer, which is easy to make the global model fall into a sharp valley and increase a large deviation of parts of local clients. Therefore, in this paper, we revisit the solutions to the distribution shift problem in FL with a focus on local learning generality. To this end, we propose a general, effective algorithm, \texttt{FedSAM}, based on Sharpness Aware Minimization (SAM) local optimizer, and develop a momentum FL algorithm to bridge local and global models, \texttt{MoFedSAM}. Theoretically, we show the convergence analysis of these two algorithms and demonstrate the generalization bound of \texttt{FedSAM}. Empirically, our proposed algorithms substantially outperform existing FL studies and significantly decrease the learning deviation.

Zhe Qu, Xingyu Li, Rui Duan, Yao Liu, Bo Tang, Zhuo Lu• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy52.96
3518
Image ClassificationCIFAR-10 (test)
Accuracy65.4
3381
Image ClassificationMNIST (test)
Accuracy96.12
882
Image ClassificationTinyImageNet (test)
Accuracy42.52
366
Image ClassificationOfficeHome--
131
Image ClassificationCIFAR-100 (test)
Communication Rounds146
61
Image ClassificationCIFAR-10 IID
Accuracy83.79
58
Image ClassificationTinyImageNet (test)
Communication Rounds415
56
Image ClassificationCIFAR-100 IID
Accuracy48.66
37
Image ClassificationCINIC-10 Dir(0.01), 50 clients, 20% participation
Accuracy55.27
36
Showing 10 of 51 rows

Other info

Follow for update