arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2002.11005cs.LGstat.ML

自适应分布式随机梯度下降以在存在掉队者的情况下最小化延迟

Adaptive Distributed Stochastic Gradient Descent for Minimizing Delay in the Presence of Stragglers

Rutgers University(罗格斯大学);Indian Institute of Science(印度科学学院);US Army Research Laboratory(美国陆军研究实验室)

Serge Kas Hanna, Rawad Bitar, Parimal Parag, Venkat Dasari, Salim El Rouayheb

AI总结:

针对分布式SGD中掉队者导致的延迟问题,本文提出自适应调整最快工作节点数量k的策略和算法,基于误差上界优化误差-运行时间权衡,并通过数值模拟验证了有效性。

摘要:

我们考虑一个主节点希望在$n$个工作节点上运行分布式随机梯度下降(SGD)算法的场景,每个工作节点拥有数据的一个子集。分布式SGD可能遭受掉队者的影响,即缓慢或无响应的工作节点导致延迟。文献中研究的一种解决方案是在每次迭代中等待最快的$k<n$个工作节点的响应后再更新模型,其中$k$是一个固定参数。$k$值的选择在SGD的运行时间(即收敛速度)和模型的误差之间呈现权衡。为了优化误差-运行时间权衡,我们研究了具有自适应$k$的分布式SGD。我们首先设计了一个自适应策略来变化$k$,该策略基于我们推导出的作为墙钟时间函数的误差上界来优化这一权衡。然后,我们提出了一种基于统计启发式的自适应分布式SGD算法。我们实现了我们的算法并提供了数值模拟,这些模拟证实了我们的直觉和理论分析。

英文摘要:

We consider the setting where a master wants to run a distributed stochastic gradient descent (SGD) algorithm on $n$ workers each having a subset of the data. Distributed SGD may suffer from the effect of stragglers, i.e., slow or unresponsive workers who cause delays. One solution studied in the literature is to wait at each iteration for the responses of the fastest $k<n$ workers before updating the model, where $k$ is a fixed parameter. The choice of the value of $k$ presents a trade-off between the runtime (i.e., convergence rate) of SGD and the error of the model. Towards optimizing the error-runtime trade-off, we investigate distributed SGD with adaptive $k$. We first design an adaptive policy for varying $k$ that optimizes this trade-off based on an upper bound on the error as a function of the wall-clock time which we derive. Then, we propose an algorithm for adaptive distributed SGD that is based on a statistical heuristic. We implement our algorithm and provide numerical simulations which confirm our intuition and theoretical analysis.

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

↑