Reproduce “Generalized Federated Learning via Sharpness Aware Minimization” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

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

FedSAM and MoFedSAM are proposed as federated learning algorithms that incorporate Sharpness Aware Minimization (SAM) into local training, addressing data heterogeneity by seeking flatter minima in the loss landscape. These methods improve global model generalization, achieve superior test accuracy and faster convergence, and significantly reduce performance deviation across diverse clients on datasets like EMNIST and CIFAR-100.

Key insights

  • Applying sharpness-aware minimization locally in FL can effectively counteract the negative effects of data heterogeneity by promoting models that generalize better to unseen data distributions.
  • Integrating global momentum with local SAM optimization not only accelerates convergence but also bridges smoothness information between local and global models, further enhancing generalization.
  • Seeking flatter minima through SAM-based optimization leads to a global model that is more robust and fair, significantly reducing the performance variance across heterogeneous clients.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.