FedGuCci: Making Local Models More Connected in Landscape for Federated Learning

Zexi Li, Jie Lin, Zhiqi Li, Didi Zhu, Tao Shen +3 more
2/29/2024
cs.LG

Official code: ZexiLee/fedgucci (0 stars, MIT, last commit 2025-05-25).

Abstract

Federated learning (FL) involves multiple heterogeneous clients collaboratively training a global model via iterative local updates and model fusion. The generalization of FL's global model has a large gap compared with centralized training, which is its bottleneck for broader applications. In this paper, we study and improve FL's generalization through a fundamental ``connectivity'' perspective, which means how the local models are connected in the parameter region and fused into a generalized global model. The term ``connectivity'' is derived from linear mode connectivity (LMC), studying the interpolated loss landscape of two different solutions (e.g., modes) of neural networks. Bridging the gap between LMC and FL, in this paper, we leverage fixed anchor models to empirically and theoretically study the transitivity property of connectivity from two models (LMC) to a group of models (model fusion in FL). Based on the findings, we propose FedGuCci(+), improving group connectivity for better generalization. It is shown that our methods can boost the generalization of FL under client heterogeneity across various tasks (4 CV datasets and 6 NLP datasets) and model architectures (e.g., ViTs and PLMs). The code is available here: \href{https://github.com/ZexiLee/fedgucci}{\faGithub~FedGuCci Codebase}.

View on arXivView PDF

Code Implementations(1)

ZexiLee/fedgucciOfficial100%
MIT

Official Code of FedGuCci

00PythonMay 25, 20251 years agoMIT

Similar Papers

Cite this paper

@article{li2024fedgucci,
  title  = {FedGuCci: Making Local Models More Connected in Landscape for Federated Learning},
  author = {Zexi Li and Jie Lin and Zhiqi Li and Didi Zhu and Tao Shen and Tao Lin and Chao Wu and Nicholas D. Lane},
  year   = {2024},
  eprint = {2402.18949},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.18949v3}
}

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/2402.18949.svg)](https://codeofpaper.com/paper/2402.18949)

Discussion