Understanding and Improving Model Averaging in Federated Learning on Heterogeneous Data

计算机科学 数据建模 联合学习 数据科学 数据挖掘 分布式计算 数据库
作者
Tailin Zhou,Zehong Lin,Jun Zhang,Danny H. K. Tsang
出处
期刊:IEEE Transactions on Mobile Computing [Institute of Electrical and Electronics Engineers]
卷期号:23 (12): 12131-12145 被引量:6
标识
DOI:10.1109/tmc.2024.3406554
摘要

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 i) the client model's loss on non-overlapping data between client datasets and the global dataset and 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 https://github.com/TailinZhou/FedIMA.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
Feijiahao完成签到 ,获得积分10
1秒前
彩色一手发布了新的文献求助10
1秒前
研友_n0QYAZ完成签到 ,获得积分10
1秒前
bener完成签到,获得积分10
1秒前
宝玉完成签到 ,获得积分10
2秒前
连安阳发布了新的文献求助30
3秒前
Keyuuu30完成签到,获得积分0
3秒前
嘻嗷完成签到,获得积分10
4秒前
qaplay完成签到 ,获得积分0
4秒前
ccc完成签到,获得积分0
4秒前
Whh发布了新的文献求助10
7秒前
十五完成签到,获得积分10
9秒前
courage完成签到,获得积分10
10秒前
pz完成签到,获得积分10
11秒前
丨墨月丨完成签到,获得积分10
11秒前
KKXX51129完成签到,获得积分10
12秒前
唠叨的文龙完成签到,获得积分10
13秒前
申生氏完成签到,获得积分10
13秒前
温骐华完成签到 ,获得积分10
14秒前
malan完成签到 ,获得积分10
14秒前
xiaofenzi完成签到,获得积分10
15秒前
跳跃完成签到,获得积分10
15秒前
狂野的筝完成签到 ,获得积分10
16秒前
趁微风不躁完成签到,获得积分10
17秒前
连安阳完成签到,获得积分10
17秒前
星辰大海应助Whh采纳,获得10
19秒前
Anonymous完成签到,获得积分10
20秒前
悦耳冰蓝完成签到,获得积分10
20秒前
历史真相完成签到,获得积分20
21秒前
美满的珠完成签到 ,获得积分10
21秒前
天明完成签到,获得积分10
22秒前
Richard完成签到 ,获得积分10
25秒前
chenkj完成签到,获得积分10
25秒前
EricSai完成签到,获得积分10
25秒前
ikun完成签到,获得积分10
26秒前
只想顺利毕业的科研狗完成签到,获得积分0
26秒前
sss完成签到,获得积分10
26秒前
Whh完成签到,获得积分10
27秒前
Twonej应助海潮飞翔采纳,获得30
28秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Kinesiophobia : a new view of chronic pain behavior 2000
Research for Social Workers 1000
Mastering New Drug Applications: A Step-by-Step Guide (Mastering the FDA Approval Process Book 1) 800
The Social Psychology of Citizenship 600
Signals, Systems, and Signal Processing 510
Discrete-Time Signals and Systems 510
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5915412
求助须知:如何正确求助?哪些是违规求助? 6862595
关于积分的说明 15793425
捐赠科研通 5040899
什么是DOI,文献DOI怎么找? 2713367
邀请新用户注册赠送积分活动 1664998
关于科研通互助平台的介绍 1605089