paper-with-me

홈 › Papers

Understanding and Improving Model Averaging in Federated Learning on Heterogeneous Data

2023-05-13 · Tailin Zhou, Zehong Lin, Jun Zhang, Danny H. K. Tsang

Model averaging is a widely adopted technique in federated learning (FL) that aggregates multiple client models to obtain a global model. Remarkably, model averaging in FL yields a superior global model, even when client models are trained with non-convex objective functions and on heterogeneous local datasets. However, the rationale behind its success remains poorly understood. To shed light on this issue, we first visualize the loss landscape of FL over client and global models to illustrate their geometric properties. The visualization shows that the client models encompass the global model within a common basin, and interestingly, the global model may deviate from the basin's center while still outperforming the client models. To gain further insights into model averaging in FL, we decompose the expected loss of the global model into five factors related to the client models. Specifically, our analysis reveals that the global model loss after early training mainly arises from \textit{i)} the client model's loss on non-overlapping data between client datasets and the global dataset and \textit{ii)} the maximum distance between the global and client models. Based on the findings from our loss landscape visualization and loss decomposition, we propose utilizing iterative moving averaging (IMA) on the global model at the late training phase to reduce its deviation from the expected minimum, while constraining client exploration to limit the maximum distance between the global and client models. Our experiments demonstrate that incorporating IMA into existing FL methods significantly improves their accuracy and training speed on various heterogeneous data setups of benchmark datasets. Code is available at \url{https://github.com/TailinZhou/FedIMA}.

📄 PDF Abstract BibTeX arXiv:2305.07845

Code (1)

tailinzhou/fedima 공식 구현 pytorch

Tasks

Federated Learning

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

On the Unreasonable Effectiveness of Federated Averaging with Heterogeneous Data

2022-06-09 · Jianyu Wang, Rudrajit Das, Gauri Joshi, Satyen Kale 외

Existing theory predicts that data heterogeneity will degrade the performance of the Federated Averaging (FedAvg) algorithm in federated learning. However, in practice, the simple FedAvg algorithm converges very well. Th…

Federated Learning

Gradient Masked Averaging for Federated Learning

2022-01-28 · Irene Tenison, Sai Aravind Sreeramadas, Vaikkunth Mugunthan, Edouard Oyallon 외

Federated learning (FL) is an emerging paradigm that permits a large number of clients with heterogeneous data to coordinate learning of a unified global model without the need to share data amongst each other. A major c…

Federated LearningOut-of-Distribution Generalization

Tackling the Objective Inconsistency Problem in Heterogeneous Federated Optimization

2020-07-15 · NeurIPS 2020 12 · Jianyu Wang, Qinghua Liu, Hao Liang, Gauri Joshi 외

In federated optimization, heterogeneity in the clients' local datasets and computation speeds results in large variations in the number of local updates performed by each client in each communication round. Naive weight…

FedSWA: Improving Generalization in Federated Learning with Highly Heterogeneous Data via Momentum-Based Stochastic Controlled Weight Averaging

2025-07-26 · Liu junkang, Yuanyuan Liu, Fanhua Shang, Hongying Liu 외 arxiv

For federated learning (FL) algorithms such as FedSAM, their generalization capability is crucial for real-word applications. In this paper, we revisit the generalization problem in FL and investigate the impact of data …

Federated Learning

WAFFLE: Weighted Averaging for Personalized Federated Learning

2021-10-13 · Martin Beaussart, Felix Grimberg, Mary-Anne Hartley, Martin Jaggi

In federated learning, model personalization can be a very effective strategy to deal with heterogeneous training data across clients. We introduce WAFFLE (Weighted Averaging For Federated LEarning), a personalized colla…

Federated LearningPersonalized Federated Learning