arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.00542stat.MLcs.LG
收藏

随机梯度下降大批量训练的理论理解

Towards Theoretical Understanding of Large Batch Training in Stochastic Gradient Descent

University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Xiaowu Dai, Yuhua Zhu

摘要:

随机梯度下降(SGD)几乎普遍用于训练非凸优化任务。最近,Keskar et al. [2017]提出的一个假设,即大批量方法倾向于收敛到尖锐的极小值,这一假设受到了越来越多的关注。我们从理论上证明了这一假设,通过提供新的性质的SGD在有限时间和渐近制度。特别是,我们给出了一个明确的逃逸时间SGD从局部最小值在有限时间制度,并证明SGD往往收敛到平坦的最小值在渐近制度(虽然可能需要指数时间收敛),无论批量大小。我们还发现,具有较大的学习率与批量大小的比率的SGD倾向于更快地收敛到平坦的最小值,然而,其泛化性能可能比具有较小的学习率与批量大小的比率的SGD差。我们包括数值实验来证实这些理论研究结果。

英文摘要:

Stochastic gradient descent (SGD) is almost ubiquitously used for training non-convex optimization tasks. Recently, a hypothesis proposed by Keskar et al. [2017] that large batch methods tend to converge to sharp minimizers has received increasing attention. We theoretically justify this hypothesis by providing new properties of SGD in both finite-time and asymptotic regimes. In particular, we give an explicit escaping time of SGD from a local minimum in the finite-time regime and prove that SGD tends to converge to flatter minima in the asymptotic regime (although may take exponential time to converge) regardless of the batch size. We also find that SGD with a larger ratio of learning rate to batch size tends to converge to a flat minimum faster, however, its generalization performance could be worse than the SGD with a smaller ratio of learning rate to batch size. We include numerical experiments to corroborate these theoretical findings.

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

↑