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

面向大批次训练的带动量的随机归一化梯度下降

Stochastic Normalized Gradient Descent with Momentum for Large-Batch Training

Nanjing University(南京大学)

Shen-Yi Zhao, Chang-Wei Shi, Yin-Peng Xie, Wu-Jun Li

AI总结:

针对大批次SGD训练泛化精度下降的问题,提出带动量的随机归一化梯度下降方法SNGM,理论上可在相同梯度计算量下用更大批次收敛,实验中同批次规模下测试精度优于MSGD等主流方法。

摘要:

随机梯度下降(SGD)及其变体一直是机器学习领域的主流优化方法。与小批次训练的SGD相比,大批次训练的SGD能更好地利用当前多核系统(如图形处理单元,GPU)的计算能力,还能减少分布式训练场景下的通信轮次,因此受到了广泛关注。但现有实证结果表明,大批次训练通常会导致泛化精度下降,如何保障大批次训练的泛化能力成为一项具有挑战性的任务。本文提出了一种简单且有效的大批次训练方法,名为带动量的随机归一化梯度下降(SNGM)。我们证明,在梯度计算次数相同的情况下,与应用最广泛的SGD变体之一动量SGD(MSGD)相比,SNGM可采用更大的批次规模收敛到ε平稳点。深度学习相关实验结果证实,在采用相同大批次规模时,SNGM能取得比MSGD及其他当前最优的大批次训练方法更优的测试精度。

英文摘要:

Stochastic gradient descent~(SGD) and its variants have been the dominating optimization methods in machine learning. Compared to SGD with small-batch training, SGD with large-batch training can better utilize the computational power of current multi-core systems such as graphics processing units~(GPUs) and can reduce the number of communication rounds in distributed training settings. Thus, SGD with large-batch training has attracted considerable attention. However, existing empirical results showed that large-batch training typically leads to a drop in generalization accuracy. Hence, how to guarantee the generalization ability in large-batch training becomes a challenging task. In this paper, we propose a simple yet effective method, called stochastic normalized gradient descent with momentum~(SNGM), for large-batch training. We prove that with the same number of gradient computations, SNGM can adopt a larger batch size than momentum SGD~(MSGD), which is one of the most widely used variants of SGD, to converge to an $ε$-stationary point. Empirical results on deep learning verify that when adopting the same large batch size, SNGM can achieve better test accuracy than MSGD and other state-of-the-art large-batch training methods.

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

↑