arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.12176cs.LGstat.ML
收藏

关于随机梯度下降中隐正则化的起源

On the Origin of Implicit Regularization in Stochastic Gradient Descent

DeepMind(深度思维);Google(谷歌)

Samuel L. Smith, Benoit Dherin, David G. T. Barrett, Soham De

摘要:

对于无穷小的学习率,随机梯度下降(SGD)遵循完整批量损失函数上的梯度流路径。然而,适度大的学习率可以实现更高的测试精度,并且这种泛化益处不能用收敛界限来解释,因为使测试精度最大化的学习率通常大于使训练损失最小化的学习率。为了解释这一现象,我们证明了随机洗牌的SGD,平均SGD也保持接近梯度流的路径,如果学习率是小的和有限的,但在一个修改的损失。这种改进的损失由原始的损失函数和一个隐式正则化子组成,该正则化子惩罚小批量梯度的范数。在温和的假设下,当批量较小时,隐式正则化项的规模与学习率与批量大小的比率成比例。我们的经验验证,明确包括隐式正则化的损失可以提高测试的准确性时,学习率是小的。

英文摘要:

For infinitesimal learning rates, stochastic gradient descent (SGD) follows the path of gradient flow on the full batch loss function. However moderately large learning rates can achieve higher test accuracies, and this generalization benefit is not explained by convergence bounds, since the learning rate which maximizes test accuracy is often larger than the learning rate which minimizes training loss. To interpret this phenomenon we prove that for SGD with random shuffling, the mean SGD iterate also stays close to the path of gradient flow if the learning rate is small and finite, but on a modified loss. This modified loss is composed of the original loss function and an implicit regularizer, which penalizes the norms of the minibatch gradients. Under mild assumptions, when the batch size is small the scale of the implicit regularization term is proportional to the ratio of the learning rate to the batch size. We verify empirically that explicitly including the implicit regularizer in the loss can enhance the test accuracy when the learning rate is small.

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

↑