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

带时延补偿的异步随机梯度下降算法

Asynchronous Stochastic Gradient Descent with Delay Compensation

University of Science and Technology of China(中国科学技术大学);Peking University(北京大学);Microsoft Research(微软研究院);Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院)

Shuxin Zheng, Qi Meng, Taifeng Wang, Wei Chen, Nenghai Yu, Zhi-Ming Ma, Tie-Yan Liu

摘要:

随着深度学习的快速发展,使用大量训练数据来学习大型神经网络已经变得很普遍。异步随机梯度下降(ASGD)被广泛采用,以完成这一任务,其效率,但是,这是已知的遭受延迟梯度的问题。也就是说,当一个本地工作者将其梯度添加到全局模型时,全局模型可能已经被其他工作者更新,并且该梯度变得“延迟”。我们提出了一种新的技术来补偿这种延迟,使ASGD的优化行为更接近顺序SGD。这是通过利用梯度函数的泰勒展开和对损失函数的海森矩阵的有效近似来实现的。我们称之为延迟补偿ASGD(DC-ASGD)的新算法。我们在CIFAR-10和ImageNet数据集上对该算法进行了测试,实验结果表明DC-ASGD的性能优于同步SGD和异步SGD,并且接近于顺序SGD的性能。

英文摘要:

With the fast development of deep learning, it has become common to learn big neural networks using massive training data. Asynchronous Stochastic Gradient Descent (ASGD) is widely adopted to fulfill this task for its efficiency, which is, however, known to suffer from the problem of delayed gradients. That is, when a local worker adds its gradient to the global model, the global model may have been updated by other workers and this gradient becomes "delayed". We propose a novel technology to compensate this delay, so as to make the optimization behavior of ASGD closer to that of sequential SGD. This is achieved by leveraging Taylor expansion of the gradient function and efficient approximation to the Hessian matrix of the loss function. We call the new algorithm Delay Compensated ASGD (DC-ASGD). We evaluated the proposed algorithm on CIFAR-10 and ImageNet datasets, and the experimental results demonstrate that DC-ASGD outperforms both synchronous SGD and asynchronous SGD, and nearly approaches the performance of sequential SGD.

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

↑