arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.14901cs.LGstat.ML
收藏

用于神经网络可处理无鞍点牛顿优化的海森-向量积级数

Series of Hessian-Vector Products for Tractable Saddle-Free Newton Optimisation of Neural Networks

University of Cambridge(剑桥大学)

Elre T. Oldewage, Ross M. Clarke, José Miguel Hernández-Lobato

AI总结:

本文提出一种基于海森-向量积级数截断的优化算法,无需显式计算海森矩阵即可渐近使用具有绝对值特征值的精确逆海森矩阵,在可扩展性和性能上媲美一阶与二阶方法。

摘要:

尽管二阶拟牛顿方法在连续优化领域很受欢迎,但在机器学习中应用它们具有挑战性,因为海森矩阵的规模大到难以处理。这种计算负担因需要处理非凸性而进一步加剧,例如像无鞍点牛顿方法那样修改海森矩阵的特征值。我们提出了一种同时解决这两个问题的优化算法——据我们所知,这是第一个能够高效扩展并渐近使用具有绝对值特征值的精确逆海森矩阵的优化算法。我们的方法将该问题构建为一个级数,该级数主要对平方海森矩阵进行平方根运算和求逆,然后用它来预处理梯度向量,所有这些都无需显式计算海森矩阵或对其进行特征分解。对这一无穷级数进行截断,可以得到一种新的优化算法,该算法在运行时间和优化性能上均可与其他一阶和二阶优化方法相媲美且具有可扩展性。我们在多种设置中证明了这一点,包括在CIFAR-10上训练的ResNet-18。

英文摘要:

Despite their popularity in the field of continuous optimisation, second-order quasi-Newton methods are challenging to apply in machine learning, as the Hessian matrix is intractably large. This computational burden is exacerbated by the need to address non-convexity, for instance by modifying the Hessian's eigenvalues as in Saddle-Free Newton methods. We propose an optimisation algorithm which addresses both of these concerns - to our knowledge, the first efficiently-scalable optimisation algorithm to asymptotically use the exact inverse Hessian with absolute-value eigenvalues. Our method frames the problem as a series which principally square-roots and inverts the squared Hessian, then uses it to precondition a gradient vector, all without explicitly computing or eigendecomposing the Hessian. A truncation of this infinite series provides a new optimisation algorithm which is scalable and comparable to other first- and second-order optimisation methods in both runtime and optimisation performance. We demonstrate this in a variety of settings, including a ResNet-18 trained on CIFAR-10.

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

↑