arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.12719cs.LGmath.OC
收藏

过参数化模型下局部 SGD 的更快收敛性

Faster Convergence of Local SGD for Over-Parameterized Models

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Rice University(莱斯大学)

Tiancheng Qin, S. Rasoul Etesami, César A. Uribe

AI总结:

本文分析了异构数据下过参数化模型的局部 SGD 收敛性,建立了凸情形 $Ø(1/T)$ 或 $Ø(K/T)$ 及非凸情形 $Ø(K/T)$ 的更优误差界,并通过数值实验验证了理论结果。

摘要:

现代机器学习架构通常具有高度表达能力。它们通常是过参数化的,并且可以通过将经验损失驱动至接近零来对数据进行插值。我们分析了在异构数据设置下,此类过参数化模型的局部 SGD(或 FedAvg)的收敛性,并通过建立以下收敛速率改进了现有文献。对于一般凸损失函数,我们在温和的数据相似性假设下建立了 $Ø(1/T)$ 的误差界,否则建立 $Ø(K/T)$ 的误差界,其中 $K$ 是局部步数,$T$ 是总迭代次数。对于非凸损失函数,我们证明了 $Ø(K/T)$ 的误差界。在不假设模型过参数化的情况下,这些界在两种情况下都优于先前最佳的 $Ø(1/\sqrt{nT})$ 界,其中 $n$ 是节点数。我们通过提供问题实例来完成我们的结果,在这些实例中,我们所建立的收敛速率在合理小的步长下对一个常数因子是紧的。最后,我们通过进行大规模数值实验来验证我们的理论结果,这些实验揭示了局部 SGD 在实际过参数化深度学习模型中的收敛行为,其中局部 SGD 的 $Ø(1/T)$ 收敛速率被清楚地展示出来。

英文摘要:

Modern machine learning architectures are often highly expressive. They are usually over-parameterized and can interpolate the data by driving the empirical loss close to zero. We analyze the convergence of Local SGD (or FedAvg) for such over-parameterized models in the heterogeneous data setting and improve upon the existing literature by establishing the following convergence rates. For general convex loss functions, we establish an error bound of $Ø(1/T)$ under a mild data similarity assumption and an error bound of $Ø(K/T)$ otherwise, where $K$ is the number of local steps and $T$ is the total number of iterations. For non-convex loss functions we prove an error bound of $Ø(K/T)$. These bounds improve upon the best previous bound of $Ø(1/\sqrt{nT})$ in both cases, where $n$ is the number of nodes, when no assumption on the model being over-parameterized is made. We complete our results by providing problem instances in which our established convergence rates are tight to a constant factor with a reasonably small stepsize. Finally, we validate our theoretical results by performing large-scale numerical experiments that reveal the convergence behavior of Local SGD for practical over-parameterized deep learning models, in which the $Ø(1/T)$ convergence rate of Local SGD is clearly shown.

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

↑