arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.07268math.OCcs.NAmath.NAstat.ML
收藏

基于海森平均与自适应梯度采样方法的快速无约束优化

Fast Unconstrained Optimization via Hessian Averaging and Adaptive Gradient Sampling Methods

Thomas O'Leary-Roseberry, Raghu Bollapragada

AI总结:

针对现有子采样牛顿法需精确梯度与强凸性限制,提出带自适应梯度采样的海森平均方法,推导多场景收敛速率,提出Dan方法并验证其在CIFAR100分类等任务的SOTA性能。

摘要:

我们研究通过基于海森平均的子采样牛顿法来最小化有限和与期望目标函数。这类方法允许梯度存在不精确性,且每次迭代的海森近似计算成本固定。近期研究(Na等人,2023)证明,海森平均可在强凸函数下以高概率实现$\boldsymbol{\frac{\frac{\text{log}k}{k}}$阶的局部超线性收敛,同时保持每次迭代固定的海森计算成本。然而,这些方法要求梯度精确且函数满足强凸性,这给实际应用带来了挑战。为解决该问题,我们研究允许梯度不精确的海森平均方法,采用基于范数条件的自适应采样策略。对于有限和问题,我们使用确定性采样技术,分别在强凸和非凸函数下得到全局线性收敛和次线性收敛速率。在此设定下,我们推导出改进的$\boldsymbol{\frac{1}{k}}$阶确定性局部超线性收敛速率。对于期望风险问题,我们使用随机采样技术,在强凸和非凸函数下分别得到全局线性和次线性收敛速率,以及$\boldsymbol{\frac{1}{\text{sqrt}(k)}}$阶的局部超线性收敛速率,所有结果均为期望意义下的。我们提出了不同于以往概率性结果的新型分析技术。此外,我们通过对角近似提出了这些方法的可扩展高效变体,并推导出适用于大规模问题的新型对角平均牛顿(Dan)方法。我们的数值结果表明,海森平均不仅有助于收敛,还能在困难问题(如使用ResNets的CIFAR100分类)上达到最优性能。

英文摘要:

We consider minimizing finite-sum and expectation objective functions via Hessian-averaging based subsampled Newton methods. These methods allow for gradient inexactness and have fixed per-iteration Hessian approximation costs. The recent work (Na et al. 2023) demonstrated that Hessian averaging can be utilized to achieve fast $\mathcal{O}\left(\sqrt{\tfrac{\log k}{k}}\right)$ local superlinear convergence for strongly convex functions in high probability, while maintaining fixed per-iteration Hessian costs. These methods, however, require gradient exactness and strong convexity, which poses challenges for their practical implementation. To address this concern we consider Hessian-averaged methods that allow gradient inexactness via norm condition based adaptive-sampling strategies. For the finite-sum problem we utilize deterministic sampling techniques which lead to global linear and sublinear convergence rates for strongly convex and nonconvex functions respectively. In this setting we are able to derive an improved deterministic local superlinear convergence rate of $\mathcal{O}\left(\tfrac{1}{k}\right)$. For the %expected risk expectation problem we utilize stochastic sampling techniques, and derive global linear and sublinear rates for strongly convex and nonconvex functions, as well as a $\mathcal{O}\left(\tfrac{1}{\sqrt{k}}\right)$ local superlinear convergence rate, all in expectation. We present novel analysis techniques that differ from the previous probabilistic results. Additionally, we propose scalable and efficient variations of these methods via diagonal approximations and derive the novel diagonally-averaged Newton (Dan) method for large-scale problems. Our numerical results demonstrate that the Hessian averaging not only helps with convergence, but can lead to state-of-the-art performance on difficult problems such as CIFAR100 classification with ResNets.

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

↑