FedPD:一个具有最优速率和对非IID数据自适应的联邦学习框架
FedPD: A Federated Learning Framework with Optimal Rates and Adaptivity to Non-IID Data
摘要:
联邦学习(FL)已经成为从分布式数据中学习的流行范例。为了有效地利用不同设备上的数据而不将它们移动到云端,诸如联合平均(Federated Averaging,FedAvg)之类的算法采用了“计算然后聚合”(CTA)模型,其中在将本地模型发送到云端进行聚合之前,使用本地数据执行多个本地更新。然而,这些方案通常需要强假设,例如局部数据是同独立分布的(i.i.d),或者局部梯度的大小是有界的。在本文中,我们首先明确描述了FedAvg算法的行为,并表明在没有对问题结构进行强而不切实际的假设的情况下,该算法可以对非凸问题(例如,发散到无穷大)。为了设计出可证明快速且需要尽可能少的假设条件的FL算法,从原对偶优化的角度提出了一种新的算法设计策略.我们的策略产生了一个家庭的算法,采取相同的CTA模型作为现有的算法,但他们可以处理非凸目标,实现最佳可能的优化和通信复杂性,同时能够处理完整的批处理和小批量本地计算模型。最重要的是,所提出的算法是{ \it通信效率},在这个意义上,通信模式可以适应本地数据之间的异构性水平。据我们所知,这是FL的第一个算法框架,实现了所有上述属性。
英文摘要:
Federated Learning (FL) has become a popular paradigm for learning from distributed data. To effectively utilize data at different devices without moving them to the cloud, algorithms such as the Federated Averaging (FedAvg) have adopted a "computation then aggregation" (CTA) model, in which multiple local updates are performed using local data, before sending the local models to the cloud for aggregation. However, these schemes typically require strong assumptions, such as the local data are identically independent distributed (i.i.d), or the size of the local gradients are bounded. In this paper, we first explicitly characterize the behavior of the FedAvg algorithm, and show that without strong and unrealistic assumptions on the problem structure, the algorithm can behave erratically for non-convex problems (e.g., diverge to infinity). Aiming at designing FL algorithms that are provably fast and require as few assumptions as possible, we propose a new algorithm design strategy from the primal-dual optimization perspective. Our strategy yields a family of algorithms that take the same CTA model as existing algorithms, but they can deal with the non-convex objective, achieve the best possible optimization and communication complexity while being able to deal with both the full batch and mini-batch local computation models. Most importantly, the proposed algorithms are {\it communication efficient}, in the sense that the communication pattern can be adaptive to the level of heterogeneity among the local data. To the best of our knowledge, this is the first algorithmic framework for FL that achieves all the above properties.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。