Capture Global Feature Statistics for One-Shot Federated Learning
Zenghao Guan, Yucan Zhou, Xiaoyan Gu
TL;DR
FedCGS tackles the inefficiency and privacy challenges of traditional FL by capturing global feature statistics from local data via a pre-trained backbone. It enables a training-free global one-shot FL via a Gaussian Naive Bayes head and introduces a personalization pathway where clients download global statistics to regularize local representations. The approach demonstrates strong performance across non-IID settings and feature-shift scenarios, with favorable communication overhead and robust privacy considerations, as validated on multiple vision benchmarks. The work provides practical implications for efficient, robust federated learning with pre-trained models and highlights directions for extending to other tasks.
Abstract
Traditional Federated Learning (FL) necessitates numerous rounds of communication between the server and clients, posing significant challenges including high communication costs, connection drop risks and susceptibility to privacy attacks. One-shot FL has become a compelling learning paradigm to overcome above drawbacks by enabling the training of a global server model via a single communication round. However, existing one-shot FL methods suffer from expensive computation cost on the server or clients and cannot deal with non-IID (Independent and Identically Distributed) data stably and effectively. To address these challenges, this paper proposes FedCGS, a novel Federated learning algorithm that Capture Global feature Statistics leveraging pre-trained models. With global feature statistics, we achieve training-free and heterogeneity-resistant one-shot FL. Furthermore, we extend its application to personalization scenario, where clients only need execute one extra communication round with server to download global statistics. Extensive experimental results demonstrate the effectiveness of our methods across diverse data heterogeneity settings. Code is available at https://github.com/Yuqin-G/FedCGS.
