English

Don't Stop Me Yet: Sampling Loss Minima via Dissipative Riemannian Mechanics

Machine Learning 2026-05-18 v1 Machine Learning

Abstract

The minima of modern neural network loss functions are typically not isolated, rather they form connected components of reparameterization invariant solutions on the training data. Analytically characterizing these solutions is a hard problem, but sampling approaches are feasible. By construction, existing methods either spread over low-loss regions, and thus do not sample reparameterization invariant solutions exactly, or are inherently local, which limits exploration of other minima valleys. We propose sampling such reparameterization invariant models using a dynamical system based on kinetic energy, subject to a gravitational pull and a friction term that dissipates energy from the system. Our proposed sampler, DiMS, is guaranteed to sample exactly from the minimum level sets and depends on physically motivated hyperparameters which allows control over the exploration capabilities of the sampler. We consider uncertainty quantification in Bayesian inference as the motivating problem and observe improved performance compared to previously proposed approaches.

Keywords

Cite

@article{arxiv.2605.15459,
  title  = {Don't Stop Me Yet: Sampling Loss Minima via Dissipative Riemannian Mechanics},
  author = {Albert Kjøller Jacobsen and Leo Uhre Jakobsen and Johanna Marie Gegenfurtner and Georgios Arvanitidis},
  journal= {arXiv preprint arXiv:2605.15459},
  year   = {2026}
}