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

梯度老化的间隙感知缓解

Gap Aware Mitigation of Gradient Staleness

Technion - Israel Institute of Technology(以色列理工学院)

Saar Barkai, Ido Hakimi, Assaf Schuster

摘要:

云计算作为深度神经网络的分布式训练平台正变得越来越流行。同步随机梯度下降(SSGD)在非专用环境中由于离散者而遭受实质性减速,这在云计算中是常见的。异步SGD(ASGD)方法不受这些减慢的影响,但由于梯度失效而很少使用,这会阻碍收敛过程。最近的技术在扩展到许多工作者(计算节点)时,缓解梯度陈旧性的成功有限。在本文中,我们定义的差距作为衡量梯度陈旧,并提出了间隙感知(GA),一种新的分布式方法,惩罚陈旧的梯度线性的差距,即使在扩展到大量的工人,表现良好。我们对CIFAR,ImageNet和WikiText-103数据集的评估表明,GA在最终测试准确性方面优于目前可接受的梯度惩罚方法。我们还提供了GA的收敛速度证明。尽管先前的信念,我们表明,如果GA的应用,势头变得有益的异步环境中,即使当工人的数量扩大。

英文摘要:

Cloud computing is becoming increasingly popular as a platform for distributed training of deep neural networks. Synchronous stochastic gradient descent (SSGD) suffers from substantial slowdowns due to stragglers if the environment is non-dedicated, as is common in cloud computing. Asynchronous SGD (ASGD) methods are immune to these slowdowns but are scarcely used due to gradient staleness, which encumbers the convergence process. Recent techniques have had limited success mitigating the gradient staleness when scaling up to many workers (computing nodes). In this paper we define the Gap as a measure of gradient staleness and propose Gap-Aware (GA), a novel asynchronous-distributed method that penalizes stale gradients linearly to the Gap and performs well even when scaling to large numbers of workers. Our evaluation on the CIFAR, ImageNet, and WikiText-103 datasets shows that GA outperforms the currently acceptable gradient penalization method, in final test accuracy. We also provide convergence rate proof for GA. Despite prior beliefs, we show that if GA is applied, momentum becomes beneficial in asynchronous environments, even when the number of workers scales up.

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

↑