arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1605.09774stat.MLcs.DCcs.LGmath.OC
收藏

异步产生动力,应用于深度学习

Asynchrony begets Momentum, with an Application to Deep Learning

Stanford University(斯坦福大学);ETH, Zurich(苏黎世联邦理工学院)

Ioannis Mitliagkas, Ce Zhang, Stefan Hadjis, Christopher Ré

摘要:

异步方法广泛用于深度学习,但在应用于非凸问题时,理论依据有限。我们表明,以异步方式运行随机梯度下降(SGD)可以被看作是在SGD迭代中添加了一个动量项。我们的结果没有假设目标函数是凸的,因此它适用于深度学习系统。我们观察到,一个标准的排队模型导致了深度学习从业者常用的动量形式。这在深度学习系统中建立了排队论和排队论之间的联系,这对系统构建者来说可能很有用。对于卷积神经网络,我们通过实验验证了卷积的程度与动量直接相关,证实了我们的主要结果。一个重要的含义是,调整动量参数是重要的,当考虑不同层次的的能量。我们断言,适当调整的动量减少了收敛所需的步骤。最后,我们的理论提出了新的方法来抵消负的不利影响:一个简单的机制,如使用负的算法动量可以提高高负的性能。由于异步方法具有更好的硬件效率,因此这一结果可能会揭示异步执行何时对深度学习系统更有效。

英文摘要:

Asynchronous methods are widely used in deep learning, but have limited theoretical justification when applied to non-convex problems. We show that running stochastic gradient descent (SGD) in an asynchronous manner can be viewed as adding a momentum-like term to the SGD iteration. Our result does not assume convexity of the objective function, so it is applicable to deep learning systems. We observe that a standard queuing model of asynchrony results in a form of momentum that is commonly used by deep learning practitioners. This forges a link between queuing theory and asynchrony in deep learning systems, which could be useful for systems builders. For convolutional neural networks, we experimentally validate that the degree of asynchrony directly correlates with the momentum, confirming our main result. An important implication is that tuning the momentum parameter is important when considering different levels of asynchrony. We assert that properly tuned momentum reduces the number of steps required for convergence. Finally, our theory suggests new ways of counteracting the adverse effects of asynchrony: a simple mechanism like using negative algorithmic momentum can improve performance under high asynchrony. Since asynchronous methods have better hardware efficiency, this result may shed light on when asynchronous execution is more efficient for deep learning systems.

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

↑