Understanding the algorithmic bias of \emph{stochastic gradient descent} (SGD) is one of the key challenges in modern machine learning and deep learning theory. Most of the existing works, however, focus on \emph{very small or even infinitesimal} learning rate regime, and fail to cover practical scenarios where the learning rate is \emph{moderate and annealing}. In this paper, we make an initial attempt to characterize the particular regularization effect of SGD in the moderate learning rate regime by studying its behavior for optimizing an overparameterized linear regression problem. In this case, SGD and GD are known to converge to the unique minimum-norm solution; however, with the moderate and annealing learning rate, we show that they exhibit different \emph{directional bias}: SGD converges along the large eigenvalue directions of the data matrix, while GD goes after the small eigenvalue directions. Furthermore, we show that such directional bias does matter when early stopping is adopted, where the SGD output is nearly optimal but the GD output is suboptimal. Finally, our theory explains several folk arts in practice used for SGD hyperparameter tuning, such as (1) linearly scaling the initial learning rate with batch size; and (2) overrunning SGD with high learning rate even when the loss stops decreasing.
翻译:理解 emph{ 中度和 annealing} (SGD) 的算法偏差是现代机器学习和深层次学习理论中的关键挑战之一。 然而,大多数现有作品都侧重于 emph{ 非常小甚至无限的学习率制度,而没有涵盖学习率为 emph{ medroate and analing} 的实用情景。 在本文中,我们首先试图通过研究SGD在优化过度分界线线性回归问题方面的行为来描述 SGD 在中度学习率制度中的特殊正规化效应。 在这种情况下, SGD和GD已知是接近最佳的最低限度的解决方案; 然而,随着中度和反射度学习率的提高,我们显示它们表现出不同的 emph{ 方向: SGD 与数据矩阵的大型电子价值方向相融合,而GDD则遵循小的精度方向。 此外,我们表明,在早期停止时,这种方向性偏向性偏向性偏向确实很重要,因为SGDD输出几乎是最佳的,但是GD和GD GD输出在初始水平上是次级级的, 当我们开始学习时, 的压级的压压压压压压后, 。