跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 分布式、并行与集群计算

arXiv:2106.04759 (cs)
[提交于 2021年10月27日 (v1),最后修订于 2021年10月27日 (此版本, v2)]

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

作者:Artin Spiridonoff, Alex Olshevsky, Ioannis Ch. Paschalidis
查看论文《Communication-efficient SGD: From Local SGD to One-Shot Averaging》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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 $\Omega ( \sqrt{T} )$ communications for $T$ local gradient steps in order for the error to scale proportionately to $1/(NT)$, this has been successively improved in a string of papers, with the state of the art requiring $\Omega \left( N \left( \mbox{ poly} (\log T) \right) \right)$ 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/(NT)$ with a number of communications that is completely independent of $T$. In particular, we show that $\Omega(N)$ communications are sufficient. Empirical evidence suggests this bound is close to tight as we further show that $\sqrt{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.
评论: arXiv admin note: substantial text overlap with arXiv:2006.02582
主题: 分布式、并行与集群计算 (cs.DC); 机器学习 (cs.LG); 优化与控制 (math.OC)
引用方式: arXiv:2106.04759 [cs.DC]
  (或者 arXiv:2106.04759v2 [cs.DC] 对于此版本)
  https://doi.org/10.48550/arXiv.2106.04759

提交历史

来自:Artin Spiridonoff
[v2] 2021年10月27日 星期三 15:03:25 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math.OC
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-10
切换浏览方式为:
cs
cs.DC
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站