arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.02772cs.LGcs.CLcs.CV
收藏

基于广义牛顿法的梯度下降

Gradient descent with generalized Newton's method

University of Pennsylvania(宾夕法尼亚大学)

Zhiqi Bu, Shiyun Xu

AI总结:

本研究提出融合海森矩阵信息的广义牛顿法GeN,可适配任意优化器、自动动态选学习率且开销极低,实验证明其在语言与视觉任务上能达到当前最优性能。

摘要:

我们提出了广义牛顿法(GeN)——一种融合海森矩阵信息的方法,可应用于SGD、Adam等任意优化器,且将牛顿-拉夫逊法作为子情况涵盖在内。该方法能自动动态选择学习率以加速收敛,无需对学习率调度器进行大量调参。在实际应用中,该方法易于实现,因为若将开销分摊到多次迭代中,它仅需额外的前向传播,(在训练时间和内存成本方面)计算开销几乎为零。我们在语言和视觉任务(如GPT和ResNet)上开展了大量实验,结果表明GeN优化器的性能可与经精心调优的学习率调度器所实现的当前最优性能相当。

英文摘要:

We propose the generalized Newton's method (GeN) -- a Hessian-informed approach that applies to any optimizer such as SGD and Adam, and covers the Newton-Raphson method as a sub-case. Our method automatically and dynamically selects the learning rate that accelerates the convergence, without the intensive tuning of the learning rate scheduler. In practice, our method is easily implementable, since it only requires additional forward passes with almost zero computational overhead (in terms of training time and memory cost), if the overhead is amortized over many iterations. We present extensive experiments on language and vision tasks (e.g. GPT and ResNet) to showcase that GeN optimizers match the state-of-the-art performance, which was achieved with carefully tuned learning rate schedulers.

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

↑