The Expected Loss of Preconditioned Langevin Dynamics Reveals the Hessian Rank

Amitay Bar, Rotem Mulayoff, Tomer Michaeli, Ronen Talmon
2/21/2024
cs.LG

No confident code implementation found for this paper.

Abstract

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.

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{bar2024expected,
  title  = {The Expected Loss of Preconditioned Langevin Dynamics Reveals the Hessian Rank},
  author = {Amitay Bar and Rotem Mulayoff and Tomer Michaeli and Ronen Talmon},
  year   = {2024},
  eprint = {2402.13810},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.13810v1}
}

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

Discussion