Lune

NeurIPS2021顶会

Communication-efficient SGD: From Local SGD to One-Shot Averaging

Artin Spiridonoff, Alex Olshevsky, Yannis Paschalidis

摘要

We consider speeding up stochastic gradient descent (SGD) by parallelizing it across multiple workers. We assume the same data set is shared among N workers, who can take SGD steps and coordinate with a central server. While it is possible to obtain a linear reduction in the variance by averaging all the stochastic gradients at every step, this requires a lot of communication between the workers and the server, which can dramatically reduce the gains from parallelism. The Local SGD method, proposed and analyzed in the earlier literature, suggests machines should make many local steps between such communications. While the initial analysis of Local SGD showed it needs Ω( √ T ) communications for T local gradient steps in order for the error to scale proportionately to 1/(N T ), this has been successively improved in a string of papers, with the state of the art requiring Ω (N ( poly(log T ))) communications. In this paper, we suggest a Local SGD scheme that communicates less overall by communicating less frequently as the number of iterations grows. Our analysis shows that this can achieve an error that scales as 1/(N T ) with a number of communications that is completely independent of T . In particular, we show that Ω(N ) communications are sufficient. Empirical evidence suggests this bound is close to tight as we further show that √ N or N 3/4 communications fail to achieve linear speed-up in simulations. Moreover, we show that under mild assumptions, the main of which is twice differentiability on any neighborhood of the optimal solution, one-shot averaging which only uses a single round of communication can also achieve the optimal convergence rate asymptotically. Woodworth et al. (2020) O exp. decay uniform with strong-growth a Depending on the work, xT is either the last iterate or a weighted average of iterates up to T . b G is the uniform upper bound assumed for the l 2 norm of gradients in the corresponding work. c This noise model is defined in Assumption 5. d Õ(.) ignores the poly-logarithmic and constant factors. e This is the bound for FedAC-II. FedAC-I requires R = Ω(N 1/2 * poly(log T )). f c is the multiplicative factor in the noise model defined in Assumption 5.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. FedAvg with Fine Tuning: Local Updates Lead to Representation LearningLiam Collins, Hamed Hassani, Aryan Mokhtari, Sanjay ShakkottaiNeurIPS 2022 · 154 次引用
  2. Federated Minimax Optimization: Improved Convergence Analyses and AlgorithmsPranay Sharma, Rohan Panda, Gauri Joshi, Pramod K. VarshneyICML 2022 · 63 次引用
  3. Federated Reinforcement Learning: Linear Speedup Under Markovian SamplingSajad Khodadadian, Pranay Sharma, Gauri Joshi, Siva Theja MaguluriICML 2022 · 46 次引用
  4. Fast Composite Optimization and Statistical Recovery in Federated LearningYajie Bao, Michael Crawshaw, Shan Luo, Mingrui LiuICML 2022 · 22 次引用

相关 Paper

  1. Federated Accelerated Stochastic Gradient DescentHonglin Yuan, Tengyu MaNeurIPS 2020 · 217 次引用
  2. Sharper Convergence Guarantees for Asynchronous SGD for Distributed and Federated LearningAnastasia Koloskova, Sebastian U. Stich, Martin JaggiNeurIPS 2022 · 131 次引用
  3. STL-SGD: Speeding Up Local SGD with Stagewise Communication PeriodShuheng Shen, Yifei Cheng, Jingchang Liu, Linli XuAAAI 2021 · 12 次引用
  4. Minibatch vs Local SGD for Heterogeneous Distributed LearningBlake E. Woodworth, Kumar Kshitij Patel, Nati SrebroNeurIPS 2020 · 231 次引用
  5. Proving the Limited Scalability of Centralized Distributed Optimization via a New Lower Bound ConstructionAlexander TyurinICLR 2026
黄昏的海面,两侧是细线勾勒的悬崖