再看指数和余弦步长:简单性、适应性和性能
A Second look at Exponential and Cosine Step Sizes: Simplicity, Adaptivity, and Performance
摘要:
随机梯度下降(SGD)是训练大规模机器学习模型的常用工具。然而,它的性能是高度可变的,关键取决于步长的选择。因此,已经提出了用于调整步长的各种策略,范围从坐标方式方法(a.k.a. "自适应“步长)到复杂的算法来改变每次迭代中的步长。在本文中,我们研究了两个步长的时间表,其权力已在实践中反复确认:指数和余弦步长。第一次,我们提供了理论支持,他们证明收敛速度的光滑非凸函数,有和没有的Polyak-Prosojasiewicz(PL)条件。此外,我们显示了令人惊讶的性质,这两种策略是\emph{adaptive}的PL函数的随机梯度中的噪声水平。也就是说,与多项式步长相反,它们实现了几乎最佳的性能,而无需知道噪声水平,也无需根据噪声水平调整超参数。最后,我们对具有深度学习架构的真实世界数据集进行了公平而全面的实证评估。结果表明,即使只需要最多两个超参数调整,这两个策略的性能最好或匹配的各种微调的最先进的战略。
英文摘要:
Stochastic Gradient Descent (SGD) is a popular tool in training large-scale machine learning models. Its performance, however, is highly variable, depending crucially on the choice of the step sizes. Accordingly, a variety of strategies for tuning the step sizes have been proposed, ranging from coordinate-wise approaches (a.k.a. ``adaptive'' step sizes) to sophisticated heuristics to change the step size in each iteration. In this paper, we study two step size schedules whose power has been repeatedly confirmed in practice: the exponential and the cosine step sizes. For the first time, we provide theoretical support for them proving convergence rates for smooth non-convex functions, with and without the Polyak-Łojasiewicz (PL) condition. Moreover, we show the surprising property that these two strategies are \emph{adaptive} to the noise level in the stochastic gradients of PL functions. That is, contrary to polynomial step sizes, they achieve almost optimal performance without needing to know the noise level nor tuning their hyperparameters based on it. Finally, we conduct a fair and comprehensive empirical evaluation of real-world datasets with deep learning architectures. Results show that, even if only requiring at most two hyperparameters to tune, these two strategies best or match the performance of various finely-tuned state-of-the-art strategies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。