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

二阶信息促进方差缩减梯度方法的小批量鲁棒性

Second-order Information Promotes Mini-Batch Robustness in Variance-Reduced Gradients

University of Michigan(密歇根大学)

Sachin Garg, Albert S. Berahas, Michał Dereziński

AI总结:

本文提出结合部分二阶信息的方差缩减随机牛顿算法Mb-SVRN,证明当数据量足够大时,该方法能在很宽的小批量范围内实现独立于批量大小的快速线性收敛,显著提升了可扩展性与鲁棒性。

摘要:

我们证明了,对于有限和最小化问题,结合目标函数的部分二阶信息可以显著提升方差缩减随机梯度方法对小批量大小(mini-batch size)的鲁棒性,使其更具可扩展性,同时保留其相对于传统牛顿型方法的优势。我们在一个典型的随机二阶算法上展示了这一现象,该算法称为 Mini-Batch Stochastic Variance-Reduced Newton ($\texttt{Mb-SVRN}$),它将方差缩减梯度估计与对近似 Hessian oracle 的访问相结合。特别地,我们证明了当数据大小 $n$ 足够大时,即 $n\gg α^2κ$(其中 $κ$ 是条件数,$α$ 是 Hessian 近似因子),只要 $b$ 在 $1$ 和 $b_{\max}=O(n/(α\log n))$ 之间,$\texttt{Mb-SVRN}$ 就能实现独立于梯度小批量大小 $b$ 的快速线性收敛速率。只有在将小批量大小增加到超过此临界点 $b_{\max}$ 之后,该方法才开始转变为对 Hessian 近似质量敏感得多的标准牛顿型算法。我们在基准优化任务上实证展示了这一现象,表明在调整步长后,$\texttt{Mb-SVRN}$ 的收敛速率在很宽的小批量大小范围内保持快速,并且相变点 $b_{\max}$ 对 Hessian 近似因子 $α$ 的依赖与我们的理论预测一致。

英文摘要:

We show that, for finite-sum minimization problems, incorporating partial second-order information of the objective function can dramatically improve the robustness to mini-batch size of variance-reduced stochastic gradient methods, making them more scalable while retaining their benefits over traditional Newton-type approaches. We demonstrate this phenomenon on a prototypical stochastic second-order algorithm, called Mini-Batch Stochastic Variance-Reduced Newton ($\texttt{Mb-SVRN}$), which combines variance-reduced gradient estimates with access to an approximate Hessian oracle. In particular, we show that when the data size $n$ is sufficiently large, i.e., $n\gg α^2κ$, where $κ$ is the condition number and $α$ is the Hessian approximation factor, then $\texttt{Mb-SVRN}$ achieves a fast linear convergence rate that is independent of the gradient mini-batch size $b$, as long $b$ is in the range between $1$ and $b_{\max}=O(n/(α\log n))$. Only after increasing the mini-batch size past this critical point $b_{\max}$, the method begins to transition into a standard Newton-type algorithm which is much more sensitive to the Hessian approximation quality. We demonstrate this phenomenon empirically on benchmark optimization tasks showing that, after tuning the step size, the convergence rate of $\texttt{Mb-SVRN}$ remains fast for a wide range of mini-batch sizes, and the dependence of the phase transition point $b_{\max}$ on the Hessian approximation factor $α$ aligns with our theoretical predictions.

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

↑