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

噪声在随机梯度下降中的推广效益

On the Generalization Benefit of Noise in Stochastic Gradient Descent

DeepMind

Samuel L. Smith, Erich Elsen, Soham De

摘要:

长期以来,人们一直认为,在深度神经网络中,小批量随机梯度下降比大批量梯度下降更能泛化。然而,最近的论文对这一说法提出了质疑,认为这种效果只是次优超参数调整或批量大小较大时计算预算不足的结果。在本文中,我们对一系列流行的模型进行了精心设计的实验和严格的超参数扫描,这些模型验证了小批量或中等批量的批量在测试集上的表现可以大大超过非常大的批量。即使两个模型都经过相同次数的迭代训练,并且大批量实现较小的训练损失,也会发生这种情况。我们的研究结果证实了随机梯度中的噪声可以增强泛化能力。我们研究了如何最佳的学习率调度的时间预算的增长而变化,我们提供了一个理论帐户,我们的观察的基础上随机微分方程的角度SGD动态。

英文摘要:

It has long been argued that minibatch stochastic gradient descent can generalize better than large batch gradient descent in deep neural networks. However recent papers have questioned this claim, arguing that this effect is simply a consequence of suboptimal hyperparameter tuning or insufficient compute budgets when the batch size is large. In this paper, we perform carefully designed experiments and rigorous hyperparameter sweeps on a range of popular models, which verify that small or moderately large batch sizes can substantially outperform very large batches on the test set. This occurs even when both models are trained for the same number of iterations and large batches achieve smaller training losses. Our results confirm that the noise in stochastic gradients can enhance generalization. We study how the optimal learning rate schedule changes as the epoch budget grows, and we provide a theoretical account of our observations based on the stochastic differential equation perspective of SGD dynamics.

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

↑