Salvato in:
Dettagli Bibliografici
Autori principali: Bar, Amitay, Mulayoff, Rotem, Michaeli, Tomer, Talmon, Ronen
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2402.13810
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909115193753600
author Bar, Amitay
Mulayoff, Rotem
Michaeli, Tomer
Talmon, Ronen
author_facet Bar, Amitay
Mulayoff, Rotem
Michaeli, Tomer
Talmon, Ronen
contents Langevin dynamics (LD) is widely used for sampling from distributions and for optimization. In this work, we derive a closed-form expression for the expected loss of preconditioned LD near stationary points of the objective function. We use the fact that at the vicinity of such points, LD reduces to an Ornstein-Uhlenbeck process, which is amenable to convenient mathematical treatment. Our analysis reveals that when the preconditioning matrix satisfies a particular relation with respect to the noise covariance, LD's expected loss becomes proportional to the rank of the objective's Hessian. We illustrate the applicability of this result in the context of neural networks, where the Hessian rank has been shown to capture the complexity of the predictor function but is usually computationally hard to probe. Finally, we use our analysis to compare SGD-like and Adam-like preconditioners and identify the regimes under which each of them leads to a lower expected loss.
format Preprint
id arxiv_https___arxiv_org_abs_2402_13810
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle The Expected Loss of Preconditioned Langevin Dynamics Reveals the Hessian Rank
Bar, Amitay
Mulayoff, Rotem
Michaeli, Tomer
Talmon, Ronen
Machine Learning
Langevin dynamics (LD) is widely used for sampling from distributions and for optimization. In this work, we derive a closed-form expression for the expected loss of preconditioned LD near stationary points of the objective function. We use the fact that at the vicinity of such points, LD reduces to an Ornstein-Uhlenbeck process, which is amenable to convenient mathematical treatment. Our analysis reveals that when the preconditioning matrix satisfies a particular relation with respect to the noise covariance, LD's expected loss becomes proportional to the rank of the objective's Hessian. We illustrate the applicability of this result in the context of neural networks, where the Hessian rank has been shown to capture the complexity of the predictor function but is usually computationally hard to probe. Finally, we use our analysis to compare SGD-like and Adam-like preconditioners and identify the regimes under which each of them leads to a lower expected loss.
title The Expected Loss of Preconditioned Langevin Dynamics Reveals the Hessian Rank
topic Machine Learning
url https://arxiv.org/abs/2402.13810