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

带动量随机梯度下降的泛化性研究

On the Generalization of Stochastic Gradient Descent with Momentum

University of Oslo(奥斯陆大学);Visual Intelligence Centre(视觉智能中心);Integreat, Norwegian Centre for Knowledge-driven Machine Learning(Integreat,挪威知识驱动机器学习中心);EPFL(洛桑联邦理工学院);Laboratory for Information and Inference Systems (LIONS), EPFL(信息与推理系统实验室(LIONS),洛桑联邦理工学院);University of Toronto(多伦多大学)

Ali Ramezani-Kebrya, Kimon Antonakopoulos, Volkan Cevher, Ashish Khisti, Ben Liang

AI总结:

本文从稳定性角度研究带动量 SGD 的泛化性,证明标准 SGDM 在凸损失下稳定性差距可能无界,提出 SGDEM 并在广泛步长和强凸情形下给出泛化保证及真实风险上界,实验验证了理论结果。

摘要:

虽然基于动量的随机梯度下降(SGD)加速变体在训练机器学习模型时被广泛使用,但关于此类方法泛化误差的理论理解仍然很少。在本工作中,我们首先证明存在一个凸损失函数,使得标准重球动量 SGD(SGDM)在多轮训练下的稳定性差距变得无界。然后,针对光滑 Lipschitz 损失函数,我们在广泛的步长范围内分析了一种改进的基于动量的更新规则,即带早期动量的 SGD(SGDEM),并证明它可以在多轮训练机器学习模型时具有泛化保证。最后,对于强凸损失函数的特殊情况,我们找到了一段动量取值范围,使得作为 SGDEM 特殊形式的标准 SGDM 在多轮训练下也能泛化。在推广我们的泛化结果的基础上,我们还针对期望真实风险建立了一个上界,该上界以训练步数、样本量和动量为参数。我们的实验评估验证了数值结果与理论界之间的一致性。在实际分布式设置下训练 ImageNet 上的 ResNet-18 时,SGDEM 改善了 SGDM 的泛化误差。

英文摘要:

While momentum-based accelerated variants of stochastic gradient descent (SGD) are widely used when training machine learning models, there is little theoretical understanding on the generalization error of such methods. In this work, we first show that there exists a convex loss function for which the stability gap for multiple epochs of SGD with standard heavy-ball momentum (SGDM) becomes unbounded. Then, for smooth Lipschitz loss functions, we analyze a modified momentum-based update rule, i.e., SGD with early momentum (SGDEM) under a broad range of step-sizes, and show that it can train machine learning models for multiple epochs with a guarantee for generalization. Finally, for the special case of strongly convex loss functions, we find a range of momentum such that multiple epochs of standard SGDM, as a special form of SGDEM, also generalizes. Extending our results on generalization, we also develop an upper bound on the expected true risk, in terms of the number of training steps, sample size, and momentum. Our experimental evaluations verify the consistency between the numerical results and our theoretical bounds. SGDEM improves the generalization error of SGDM when training ResNet-18 on ImageNet in practical distributed settings.

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

↑