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

联合平均(局部SGD)和连续透视的锐界

Sharp Bounds for Federated Averaging (Local SGD) and Continuous Perspective

Stanford University(斯坦福大学)

Margalit Glasgow, Honglin Yuan, Tengyu Ma

摘要:

Federated Averaging(FedAvg),也称为Local SGD,是联邦学习(FL)中最流行的算法之一。尽管FedAvg简单且流行,但它的收敛速度至今尚未确定。即使在最简单的假设下(凸、光滑、齐次和有界协方差),最著名的上界和下界也不匹配,并且不清楚现有的分析是否捕获了算法的能力。在这项工作中,我们首先解决这个问题,通过提供一个下限FedAvg匹配现有的上限,这表明现有的FedAvg上限分析是不可改进的。此外,我们建立了一个在异构环境中的下限,几乎匹配现有的上限。虽然我们的下界显示了FedAvg的局限性,但在三阶平滑的额外假设下,我们证明了在凸和非凸设置中更乐观的最先进的收敛结果。我们的分析源于一个我们称之为“随机偏差”的概念,它是由SGD轨迹的期望值与具有相同初始化的无噪声梯度下降轨迹的偏差定义的。我们证明了这个量的新的尖锐界限,并直观地展示了如何从随机微分方程(SDD)的角度来分析这个量。

英文摘要:

Federated Averaging (FedAvg), also known as Local SGD, is one of the most popular algorithms in Federated Learning (FL). Despite its simplicity and popularity, the convergence rate of FedAvg has thus far been undetermined. Even under the simplest assumptions (convex, smooth, homogeneous, and bounded covariance), the best-known upper and lower bounds do not match, and it is not clear whether the existing analysis captures the capacity of the algorithm. In this work, we first resolve this question by providing a lower bound for FedAvg that matches the existing upper bound, which shows the existing FedAvg upper bound analysis is not improvable. Additionally, we establish a lower bound in a heterogeneous setting that nearly matches the existing upper bound. While our lower bounds show the limitations of FedAvg, under an additional assumption of third-order smoothness, we prove more optimistic state-of-the-art convergence results in both convex and non-convex settings. Our analysis stems from a notion we call iterate bias, which is defined by the deviation of the expectation of the SGD trajectory from the noiseless gradient descent trajectory with the same initialization. We prove novel sharp bounds on this quantity, and show intuitively how to analyze this quantity from a Stochastic Differential Equation (SDE) perspective.

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

↑