arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.19585math.OCmath.STstat.MLstat.TH
收藏

The High Line:随机自适应学习率算法的精确风险与学习率曲线

The High Line: Exact Risk and Learning Rate Curves of Stochastic Adaptive Learning Rate Algorithms

Elizabeth Collins-Woodfin, Inbar Seroussi, Begoña García Malaxechebarría, Andrew W. Mackenzie, Elliot Paquette, Courtney Paquette

AI总结:

本文提出一个分析高维优化问题训练动态的框架,通过ODE系统给出风险和学习率曲线的精确表达式,并详细研究了精确线搜索和AdaGrad-Norm在最小二乘问题上的收敛行为。

摘要:

我们开发了一个框架,用于分析一大类高维优化问题(我们称之为 high line)的训练和学习率动态,这些问题使用单次遍历的随机梯度下降(SGD)与自适应学习率进行训练。我们给出了风险和学习率曲线的精确表达式,这些表达式由一个 ODE 系统的确定性解表示。然后,我们在最小二乘问题上详细研究了两种自适应学习率——理想化的精确线搜索和 AdaGrad-Norm。当数据协方差矩阵具有严格正的特征值时,与使用 SGD 的最优固定学习率相比,这种理想化的精确线搜索策略可能表现出任意缓慢的收敛速度。此外,在数据协方差只有两个不同特征值的设定下,我们精确刻画了线搜索的极限学习率(当时间趋于无穷大时)。对于无噪声目标,我们进一步证明 AdaGrad-Norm 学习率收敛到一个与数据协方差矩阵平均特征值成反比的确定性常数,并确定了当特征值的协方差密度服从幂律分布时的相变现象。我们提供了用于评估的代码:https://github.com/amackenzie1/highline2024。

英文摘要:

We develop a framework for analyzing the training and learning rate dynamics on a large class of high-dimensional optimization problems, which we call the high line, trained using one-pass stochastic gradient descent (SGD) with adaptive learning rates. We give exact expressions for the risk and learning rate curves in terms of a deterministic solution to a system of ODEs. We then investigate in detail two adaptive learning rates -- an idealized exact line search and AdaGrad-Norm -- on the least squares problem. When the data covariance matrix has strictly positive eigenvalues, this idealized exact line search strategy can exhibit arbitrarily slower convergence when compared to the optimal fixed learning rate with SGD. Moreover we exactly characterize the limiting learning rate (as time goes to infinity) for line search in the setting where the data covariance has only two distinct eigenvalues. For noiseless targets, we further demonstrate that the AdaGrad-Norm learning rate converges to a deterministic constant inversely proportional to the average eigenvalue of the data covariance matrix, and identify a phase transition when the covariance density of eigenvalues follows a power law distribution. We provide our code for evaluation at https://github.com/amackenzie1/highline2024.

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

↑