动量法的连续时间分析
Continuous Time Analysis of Momentum Methods
摘要:
基于梯度下降的优化方法支持神经网络的参数训练,因此包括在许多应用中发现的令人印象深刻的测试结果中的重要组成部分。引入随机性是他们在实际问题中取得成功的关键,在这方面对随机梯度下降的作用有一些理解。梯度下降的动量修正,如Polyak的重球法(HB)和Nesterov的加速梯度法(NAG),也被广泛采用。在这项工作中,我们的重点是理解动量在神经网络训练中的作用,集中在动量贡献在算法的每一步都是固定的常见情况。为了简单地揭示这些思想,我们在决定论的背景下工作。我们的方法是推导出离散算法的连续时间近似;这些连续时间近似提供了对离散算法内的机制的深入了解。我们证明三个这样的近似。首先,我们表明,固定动量方法的标准实现近似的时间重新缩放的梯度下降流,渐近的学习率收缩到零,这一结果并没有区分动量方法从纯梯度下降,在极限消失学习率。然后,我们继续证明两个结果,旨在了解所观察到的实际优势,固定动量方法超过梯度下降。我们实现这一点,通过证明近似连续的时间限制,其中小,但固定的学习率出现作为一个参数。此外,在第三个结果中,我们表明,动量方法承认一个指数吸引力不变的流形上的动态减少,大约,相对于修改后的损失函数的梯度流。
英文摘要:
Gradient descent-based optimization methods underpin the parameter training of neural networks, and hence comprise a significant component in the impressive test results found in a number of applications. Introducing stochasticity is key to their success in practical problems, and there is some understanding of the role of stochastic gradient descent in this context. Momentum modifications of gradient descent such as Polyak's Heavy Ball method (HB) and Nesterov's method of accelerated gradients (NAG), are also widely adopted. In this work our focus is on understanding the role of momentum in the training of neural networks, concentrating on the common situation in which the momentum contribution is fixed at each step of the algorithm. To expose the ideas simply we work in the deterministic setting. Our approach is to derive continuous time approximations of the discrete algorithms; these continuous time approximations provide insights into the mechanisms at play within the discrete algorithms. We prove three such approximations. Firstly we show that standard implementations of fixed momentum methods approximate a time-rescaled gradient descent flow, asymptotically as the learning rate shrinks to zero; this result does not distinguish momentum methods from pure gradient descent, in the limit of vanishing learning rate. We then proceed to prove two results aimed at understanding the observed practical advantages of fixed momentum methods over gradient descent. We achieve this by proving approximations to continuous time limits in which the small but fixed learning rate appears as a parameter. Furthermore in a third result we show that the momentum methods admit an exponentially attractive invariant manifold on which the dynamics reduces, approximately, to a gradient flow with respect to a modified loss function.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。