arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.06171cs.LG
收藏

学习优化拟牛顿方法

Learning to Optimize Quasi-Newton Methods

MIT(麻省理工学院);University of Oxford(牛津大学)

Isaac Liao, Rumen R. Dangovski, Jakob N. Foerster, Marin Soljačić

AI总结:

本文提出新型优化器LODO,结合L2O技术与拟牛顿方法,通过神经网络在线元学习预条件矩阵,无需元训练即可在测试任务上即时适应,理论证明其能近似Hessian逆矩阵,并在噪声环境中高效优化95k参数的神经网络。

摘要:

快速的基于梯度的优化算法对于机器学习模型的高效计算训练变得越来越重要。一种技术是将梯度乘以预条件矩阵以产生步长,但目前尚不清楚什么是最佳的预条件矩阵。本文提出了一种名为LODO的新型机器学习优化器,它试图在优化过程中在线元学习最佳预条件矩阵。具体而言,我们的优化器将Learning to Optimize (L2O)技术与拟牛顿方法相结合,以学习由神经网络参数化的预条件矩阵;它们比其他拟牛顿方法中的预条件矩阵更具灵活性。与其他L2O方法不同,LODO不需要在训练任务分布上进行任何元训练,而是在测试任务上优化时即时学习优化,在遍历损失景观时适应其局部特征。在理论上,我们证明我们的优化器在噪声损失景观中近似Hessian逆矩阵,并且能够表示广泛的Hessian逆矩阵范围。我们在实验上验证了我们的算法可以在噪声环境中进行优化,并表明表示Hessian逆矩阵的更简单替代方案会降低性能。最后,我们使用我们的优化器训练了一个具有95k参数的半现实深度神经网络,其速度与标准神经网络优化器相当。

英文摘要:

Fast gradient-based optimization algorithms have become increasingly essential for the computationally efficient training of machine learning models. One technique is to multiply the gradient by a preconditioner matrix to produce a step, but it is unclear what the best preconditioner matrix is. This paper introduces a novel machine learning optimizer called LODO, which tries to online meta-learn the best preconditioner during optimization. Specifically, our optimizer merges Learning to Optimize (L2O) techniques with quasi-Newton methods to learn preconditioners parameterized as neural networks; they are more flexible than preconditioners in other quasi-Newton methods. Unlike other L2O methods, LODO does not require any meta-training on a training task distribution, and instead learns to optimize on the fly while optimizing on the test task, adapting to the local characteristics of the loss landscape while traversing it. Theoretically, we show that our optimizer approximates the inverse Hessian in noisy loss landscapes and is capable of representing a wide range of inverse Hessians. We experimentally verify that our algorithm can optimize in noisy settings, and show that simpler alternatives for representing the inverse Hessians worsen performance. Lastly, we use our optimizer to train a semi-realistic deep neural network with 95k parameters at speeds comparable to those of standard neural network optimizers.

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

↑