arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2204.13169cs.LGcs.DCmath.OCstat.ML
收藏

FedShuffle:在联邦学习中更好地利用本地工作的方法

FedShuffle: Recipes for Better Use of Local Work in Federated Learning

MBZUAI(穆罕默德·本·扎耶德人工智能大学);Meta AI;KAUST(阿卜杜拉国王科技大学)

Samuel Horváth, Maziar Sanjabi, Lin Xiao, Peter Richtárik, Michael Rabbat

摘要:

在跨客户端聚合之前应用几个本地更新的实践已被经验证明是克服联邦学习(FL)中的通信瓶颈的成功方法。这种方法通常是通过让客户端在每轮中执行一个或多个局部训练时期,同时在每个时期中随机重新洗牌他们的有限数据集来实现的。数据不平衡,即客户端具有不同数量的本地训练样本,在FL应用中普遍存在,导致不同的客户端在每一轮中执行不同数量的本地更新。在这项工作中,我们提出了一个通用的配方,FedShuffle,更好地利用FL中的本地更新,特别是在这个制度包括随机改组和异质性。FedShuffle是第一个具有理论收敛保证的本地更新方法,该方法结合了随机重新洗牌,数据不平衡和客户端采样-这些功能在大规模跨设备FL中至关重要。我们对FedShuffle进行了全面的理论分析,并从理论和经验上表明,它不会遭受在假设异构FL设置中的同质更新的FL方法中存在的目标函数失配,例如FedAvg(McMahan等人,2017年)。此外,通过组合上述成分,FedShuffle改进了FedNova(Wang等人,2020年),这是以前提出来解决这个不匹配。类似于Mime(Karimireddy等人,2020),我们证明了具有动量方差减少的FedShuffle(Cutkosky & Orabona,2019)在Hessian相似性假设下改进了非局部方法。

英文摘要:

The practice of applying several local updates before aggregation across clients has been empirically shown to be a successful approach to overcoming the communication bottleneck in Federated Learning (FL). Such methods are usually implemented by having clients perform one or more epochs of local training per round while randomly reshuffling their finite dataset in each epoch. Data imbalance, where clients have different numbers of local training samples, is ubiquitous in FL applications, resulting in different clients performing different numbers of local updates in each round. In this work, we propose a general recipe, FedShuffle, that better utilizes the local updates in FL, especially in this regime encompassing random reshuffling and heterogeneity. FedShuffle is the first local update method with theoretical convergence guarantees that incorporates random reshuffling, data imbalance, and client sampling - features that are essential in large-scale cross-device FL. We present a comprehensive theoretical analysis of FedShuffle and show, both theoretically and empirically, that it does not suffer from the objective function mismatch that is present in FL methods that assume homogeneous updates in heterogeneous FL setups, such as FedAvg (McMahan et al., 2017). In addition, by combining the ingredients above, FedShuffle improves upon FedNova (Wang et al., 2020), which was previously proposed to solve this mismatch. Similar to Mime (Karimireddy et al., 2020), we show that FedShuffle with momentum variance reduction (Cutkosky & Orabona, 2019) improves upon non-local methods under a Hessian similarity assumption.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑