Dynamic Regularized Sharpness Aware Minimization in Federated Learning: Approaching Global Consistency and Smooth Landscape

Yan Sun, Li Shen, Shixiang Chen, Liang Ding, Dacheng Tao
5/19/2023
cs.LGcs.DCmath.OC

No official code found. Best implementation: woodenchild95/FL-Simulator (58 stars, last commit 2024-10-25).

Abstract

In federated learning (FL), a cluster of local clients are chaired under the coordination of the global server and cooperatively train one model with privacy protection. Due to the multiple local updates and the isolated non-iid dataset, clients are prone to overfit into their own optima, which extremely deviates from the global objective and significantly undermines the performance. Most previous works only focus on enhancing the consistency between the local and global objectives to alleviate this prejudicial client drifts from the perspective of the optimization view, whose performance would be prominently deteriorated on the high heterogeneity. In this work, we propose a novel and general algorithm {\ttfamily FedSMOO} by jointly considering the optimization and generalization targets to efficiently improve the performance in FL. Concretely, {\ttfamily FedSMOO} adopts a dynamic regularizer to guarantee the local optima towards the global objective, which is meanwhile revised by the global Sharpness Aware Minimization (SAM) optimizer to search for the consistent flat minima. Our theoretical analysis indicates that {\ttfamily FedSMOO} achieves fast $\mathcal{O}(1/T)$ convergence rate with low generalization bound. Extensive numerical studies are conducted on the real-world dataset to verify its peerless efficiency and excellent generality.

View on arXivView PDF

Code Implementations(1)

Pytorch implementations of some general federated optimization methods.

5810PythonJun 27, 20231 years ago

Similar Papers

Cite this paper

@article{sun2023dynamic,
  title  = {Dynamic Regularized Sharpness Aware Minimization in Federated Learning: Approaching Global Consistency and Smooth Landscape},
  author = {Yan Sun and Li Shen and Shixiang Chen and Liang Ding and Dacheng Tao},
  year   = {2023},
  eprint = {2305.11584},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.11584v2},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.11584.svg)](https://codeofpaper.com/paper/2305.11584)

Discussion