Keep the Momentum: Conservation Laws beyond Euclidean Gradient Flows

Sibylle Marcotte, Rémi Gribonval, Gabriel Peyré
5/21/2024
cs.LGmath.OC

No official code found. Best implementation: sibyllema/Conservation_laws_ICML (1 star, BSD-3-Clause, last commit 2024-05-21).

Abstract

Conservation laws are well-established in the context of Euclidean gradient flow dynamics, notably for linear or ReLU neural network training. Yet, their existence and principles for non-Euclidean geometries and momentum-based dynamics remain largely unknown. In this paper, we characterize "all" conservation laws in this general setting. In stark contrast to the case of gradient flows, we prove that the conservation laws for momentum-based dynamics exhibit temporal dependence. Additionally, we often observe a "conservation loss" when transitioning from gradient flow to momentum dynamics. Specifically, for linear networks, our framework allows us to identify all momentum conservation laws, which are less numerous than in the gradient flow case except in sufficiently over-parameterized regimes. With ReLU networks, no conservation law remains. This phenomenon also manifests in non-Euclidean metrics, used e.g. for Nonnegative Matrix Factorization (NMF): all conservation laws can be determined in the gradient flow context, yet none persists in the momentum case.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
10Jupyter NotebookMay 21, 20242 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{marcotte2024keep,
  title  = {Keep the Momentum: Conservation Laws beyond Euclidean Gradient Flows},
  author = {Sibylle Marcotte and Rémi Gribonval and Gabriel Peyré},
  year   = {2024},
  eprint = {2405.12888},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.12888v1},
  journal = {ICML 2024 2024}
}

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

Discussion