arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.17132cs.LGmath.OC
收藏

从线搜索的角度对SGD进行经验性解释

Empirically explaining SGD from a line search perspective

University of Tübingen(蒂宾根大学)

Maximus Mutschler, Andreas Zell

摘要:

深度学习中的优化主要由模糊的直觉和强假设指导,对这些在实践中如何以及为什么起作用的理解有限。为了更好地说明这一点,我们的工作提供了一些更深入的了解SGD的行为,从线搜索的角度通过经验分析SGD采取的轨迹。具体而言,从常用的模型训练CIFAR-10的子集上沿SGD轨迹的全批次损失的昂贵的定量分析。我们的核心结果包括,整批损失沿线更新步骤方向是高度抛物线。进一步,我们表明,存在一个学习率,SGD总是执行几乎精确的线搜索的全批损失。最后,我们提供了一个不同的视角,为什么增加批量大小与降低学习率的效果几乎相同。

英文摘要:

Optimization in Deep Learning is mainly guided by vague intuitions and strong assumptions, with a limited understanding how and why these work in practice. To shed more light on this, our work provides some deeper understandings of how SGD behaves by empirically analyzing the trajectory taken by SGD from a line search perspective. Specifically, a costly quantitative analysis of the full-batch loss along SGD trajectories from common used models trained on a subset of CIFAR-10 is performed. Our core results include that the full-batch loss along lines in update step direction is highly parabolically. Further on, we show that there exists a learning rate with which SGD always performs almost exact line searches on the full-batch loss. Finally, we provide a different perspective why increasing the batch size has almost the same effect as decreasing the learning rate by the same factor.

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

↑