Saddle-to-Saddle Dynamics in Diagonal Linear Networks

Scott Pesme, Nicolas Flammarion
4/2/2023
cs.LGmath.OC

No confident code implementation found for this paper.

Abstract

In this paper we fully describe the trajectory of gradient flow over diagonal linear networks in the limit of vanishing initialisation. We show that the limiting flow successively jumps from a saddle of the training loss to another until reaching the minimum $\ell_1$-norm solution. This saddle-to-saddle dynamics translates to an incremental learning process as each saddle corresponds to the minimiser of the loss constrained to an active set outside of which the coordinates must be zero. We explicitly characterise the visited saddles as well as the jumping times through a recursive algorithm reminiscent of the LARS algorithm used for computing the Lasso path. Our proof leverages a convenient arc-length time-reparametrisation which enables to keep track of the heteroclinic transitions between the jumps. Our analysis requires negligible assumptions on the data, applies to both under and overparametrised settings and covers complex cases where there is no monotonicity of the number of active coordinates. We provide numerical experiments to support our findings.

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{pesme2023saddletosaddle,
  title  = {Saddle-to-Saddle Dynamics in Diagonal Linear Networks},
  author = {Scott Pesme and Nicolas Flammarion},
  year   = {2023},
  eprint = {2304.00488},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.00488v2},
  journal = {NEURIPS 2023 2023}
}

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

Discussion