arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2006.05752cs.LGcs.DCmath.OCstat.ML
收藏

Anytime MiniBatch:在线分布式优化中的落后者利用

Anytime MiniBatch: Exploiting Stragglers in Online Distributed Optimization

University of Toronto(多伦多大学);Wayne State University(韦恩州立大学)

Nuwan Ferdinand, Haider Al-Lawati, Stark C. Draper, Matthew Nokleby

摘要:

分布式优化在解决大规模机器学习问题中至关重要。分布式优化技术的一个广泛共享的特征是要求所有节点在每个计算时期完成其分配的任务,然后系统才能继续进行到下一个时期。在这样的环境中,被称为掉队者的慢节点会大大减缓进展。为了减轻掉队者的影响,我们提出了一种在线分布式优化方法称为Anytime Minibatch。在这种方法中,所有节点都有一个固定的时间来计算尽可能多的数据样本的梯度。结果是每个节点的minibatch大小可变。然后,工作人员获得固定的通信时间,通过几轮共识来平均他们的小批量梯度,然后通过双重平均来更新原始变量。任何时候Minibatch都可以防止掉队者阻碍系统,而不会浪费掉队者可以完成的工作。我们提出了一个收敛性分析和分析壁时间性能。我们的数值结果表明,我们的方法在Amazon EC2中快了1.5倍,当计算节点性能变化较大时,速度快了5倍。

英文摘要:

Distributed optimization is vital in solving large-scale machine learning problems. A widely-shared feature of distributed optimization techniques is the requirement that all nodes complete their assigned tasks in each computational epoch before the system can proceed to the next epoch. In such settings, slow nodes, called stragglers, can greatly slow progress. To mitigate the impact of stragglers, we propose an online distributed optimization method called Anytime Minibatch. In this approach, all nodes are given a fixed time to compute the gradients of as many data samples as possible. The result is a variable per-node minibatch size. Workers then get a fixed communication time to average their minibatch gradients via several rounds of consensus, which are then used to update primal variables via dual averaging. Anytime Minibatch prevents stragglers from holding up the system without wasting the work that stragglers can complete. We present a convergence analysis and analyze the wall time performance. Our numerical results show that our approach is up to 1.5 times faster in Amazon EC2 and it is up to five times faster when there is greater variability in compute node performance.

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

↑