Empirically explaining SGD from a line search perspective

Maximus Mutschler, Andreas Zell
3/31/2021
cs.LGmath.OC

Official code: cogsys-tuebingen/empirically-explaining-SGD-from-a-line-search-perspective (0 stars, Python, last commit 2021-03-31).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Similar Papers

Cite this paper

@article{mutschler2021empirically,
  title  = {Empirically explaining SGD from a line search perspective},
  author = {Maximus Mutschler and Andreas Zell},
  year   = {2021},
  eprint = {2103.17132},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.17132}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.17132.svg)](https://codeofpaper.com/paper/2103.17132)

Discussion