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 [IEEE Computer Society]
卷期号: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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
wt发布了新的文献求助10
3秒前
3秒前
乐观尔芙发布了新的文献求助10
3秒前
3秒前
3秒前
iota发布了新的文献求助10
4秒前
ddddd发布了新的文献求助10
4秒前
牛马完成签到,获得积分10
6秒前
我是笨蛋发布了新的文献求助30
7秒前
cwh完成签到 ,获得积分20
7秒前
swslgd完成签到,获得积分10
8秒前
猴子没有壳完成签到 ,获得积分10
9秒前
9秒前
litpand发布了新的文献求助10
10秒前
11秒前
euphoria发布了新的文献求助10
13秒前
机智的聪健完成签到,获得积分20
13秒前
14秒前
科目三应助大马猴采纳,获得10
14秒前
14秒前
高士琴发布了新的文献求助10
15秒前
充电宝应助红雨灰衣采纳,获得30
15秒前
智慧的寻梅完成签到,获得积分20
15秒前
扣子发布了新的文献求助10
16秒前
大个应助南北采纳,获得10
17秒前
wt完成签到,获得积分20
17秒前
AZ发布了新的文献求助100
18秒前
大白梨完成签到,获得积分10
18秒前
18秒前
19秒前
19秒前
洪波波发布了新的文献求助10
20秒前
20秒前
20秒前
哈哈哈发布了新的文献求助10
22秒前
23秒前
平安顺遂发布了新的文献求助10
24秒前
24秒前
24秒前
25秒前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Arthritis and Related Conditions, An Issue of Orthopedic Clinics 1000
Development of a Bridge Weigh-In-Motion System: A technology to convert the bridge response to the passage of traffic into data on vehicle configurations, speeds, times of travel and weights 1000
ズームレンズの光学設計に関する研究 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7288009
求助须知:如何正确求助?哪些是违规求助? 8907742
关于积分的说明 18852430
捐赠科研通 6956715
什么是DOI,文献DOI怎么找? 3208753
关于科研通互助平台的介绍 2378647
邀请新用户注册赠送积分活动 2184571