arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1803.01113stat.MLcs.LG
收藏

缓慢和陈旧的竞争者可以赢得比赛:分布式SGD中的错误-错误权衡

Slow and Stale Gradients Can Win the Race: Error-Runtime Trade-offs in Distributed SGD

Carnegie Mellon University(卡内基梅隆大学);IBM Research(IBM研究院)

Sanghamitra Dutta, Gauri Joshi, Soumyadip Ghosh, Parijat Dube, Priya Nagpurkar

摘要:

分布式随机梯度下降(SGD)在以同步方式运行时,会在等待最慢的学习者(掉队者)时出现延迟。异步方法可以减少落伍者,但会导致梯度失效,从而对收敛产生不利影响。在这项工作中,我们提出了一个新的理论表征的异步方法提供的加速,通过分析训练模型中的错误和实际的训练运行时间(wallclock时间)之间的权衡。在我们的工作中的新颖之处在于,我们的运行时分析考虑随机离散延迟,这有助于我们设计和比较分布式SGD算法,在离散和陈旧之间取得平衡。我们还提出了一个新的异步SGD变量的收敛性分析,没有有界或指数延迟的假设,和一个新的学习率计划,以补偿梯度陈旧。

英文摘要:

Distributed Stochastic Gradient Descent (SGD) when run in a synchronous manner, suffers from delays in waiting for the slowest learners (stragglers). Asynchronous methods can alleviate stragglers, but cause gradient staleness that can adversely affect convergence. In this work we present a novel theoretical characterization of the speed-up offered by asynchronous methods by analyzing the trade-off between the error in the trained model and the actual training runtime (wallclock time). The novelty in our work is that our runtime analysis considers random straggler delays, which helps us design and compare distributed SGD algorithms that strike a balance between stragglers and staleness. We also present a new convergence analysis of asynchronous SGD variants without bounded or exponential delay assumptions, and a novel learning rate schedule to compensate for gradient staleness.

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

↑