Corridor Geometry in Gradient-Based Optimization

Benoit Dherin, Mihaela Rosca
2/13/2024
stat.MLcs.LGmath.OC

No confident code implementation found for this paper.

Abstract

We characterize regions of a loss surface as corridors when the continuous curves of steepest descent -- the solutions of the gradient flow -- become straight lines. We show that corridors provide insights into gradient-based optimization, since corridors are exactly the regions where gradient descent and the gradient flow follow the same trajectory, while the loss decreases linearly. As a result, inside corridors there are no implicit regularization effects or training instabilities that have been shown to occur due to the drift between gradient descent and the gradient flow. Using the loss linear decrease on corridors, we devise a learning rate adaptation scheme for gradient descent; we call this scheme Corridor Learning Rate (CLR). The CLR formulation coincides with a special case of Polyak step-size, discovered in the context of convex optimization. The Polyak step-size has been shown recently to have also good convergence properties for neural networks; we further confirm this here with results on CIFAR-10 and ImageNet.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dherin2024corridor,
  title  = {Corridor Geometry in Gradient-Based Optimization},
  author = {Benoit Dherin and Mihaela Rosca},
  year   = {2024},
  eprint = {2402.08818},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.08818v1}
}

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/2402.08818.svg)](https://codeofpaper.com/paper/2402.08818)

Discussion