arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.00441math.OC
收藏

使用贝叶斯推断近似Hessian矩阵:随机优化中拟牛顿方法的一种新途径

Approximating Hessian matrices using Bayesian inference: a new approach for quasi-Newton methods in stochastic optimization

Andre Carlon, Luis Espath, Raul Tempone

AI总结:

本文提出一种基于贝叶斯推断的Hessian近似方法,通过最小化割线方程残差并约束极端特征值范围来改善随机梯度下降的预条件处理,实验表明其在不放大梯度噪声的前提下有效提升了随机优化的收敛性能。

摘要:

在随机优化中使用拟牛顿方法并非易事,因为难以从含噪梯度中提取曲率信息。此外,对含噪梯度观测进行预条件处理往往会放大噪声。我们提出一种贝叶斯方法,用于在随机优化中获得Hessian矩阵近似,该方法在将割线方程残差最小化的同时,将极端特征值保持在指定范围内。因此,所提出的方法有助于随机梯度下降在不放大梯度噪声的情况下收敛到局部极小值。我们提出使用Newton-CG方法最大化对数后验。文中给出了随机二次函数和$\ell_2$正则化logistic回归问题的数值结果。在所有测试情形中,我们的方法改善了随机梯度下降的收敛性,补偿了求解对数后验最大化所带来的额外开销。特别是,当问题的条件数越大时,用我们的Hessian近似的逆对随机梯度进行预条件处理就越有优势。

英文摘要:

Using quasi-Newton methods in stochastic optimization is not a trivial task given the difficulty of extracting curvature information from the noisy gradients. Moreover, pre-conditioning noisy gradient observations tend to amplify the noise. We propose a Bayesian approach to obtain a Hessian matrix approximation for stochastic optimization that minimizes the secant equations residue while retaining the extreme eigenvalues between a specified range. Thus, the proposed approach assists stochastic gradient descent to converge to local minima without augmenting gradient noise. We propose maximizing the log posterior using the Newton-CG method. Numerical results on a stochastic quadratic function and an $\ell_2$-regularized logistic regression problem are presented. In all the cases tested, our approach improves the convergence of stochastic gradient descent, compensating for the overhead of solving the log posterior maximization. In particular, pre-conditioning the stochastic gradient with the inverse of our Hessian approximation becomes more advantageous the larger the condition number of the problem is.

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

↑