Hamiltonian Dynamics with Non-Newtonian Momentum for Rapid Sampling

Greg Ver Steeg, Aram Galstyan
11/3/2021
cs.LGphysics.comp-ph

Official code: gregversteeg/esh_dynamics (36 stars, Python, MIT, last commit 2021-11-05).

Abstract

Sampling from an unnormalized probability distribution is a fundamental problem in machine learning with applications including Bayesian modeling, latent factor inference, and energy-based model training. After decades of research, variations of MCMC remain the default approach to sampling despite slow convergence.

Show full abstract

Auxiliary neural models can learn to speed up MCMC, but the overhead for training the extra model can be prohibitive. We propose a fundamentally different approach to this problem via a new Hamiltonian dynamics with a non-Newtonian momentum. In contrast to MCMC approaches like Hamiltonian Monte Carlo, no stochastic step is required. Instead, the proposed deterministic dynamics in an extended state space exactly sample the target distribution, specified by an energy function, under an assumption of ergodicity. Alternatively, the dynamics can be interpreted as a normalizing flow that samples a specified energy model without training. The proposed Energy Sampling Hamiltonian (ESH) dynamics have a simple form that can be solved with existing ODE solvers, but we derive a specialized solver that exhibits much better performance. ESH dynamics converge faster than their MCMC competitors enabling faster, more stable training of neural network energy models.

View on arXivView PDF

Code Implementations(1)

MIT

Hamiltonian Dynamics with Non-Newtonian Momentum for Rapid Sampling

362PythonOct 16, 20215 years agoMIT

Similar Papers

Cite this paper

@article{steeg2021hamiltonian,
  title  = {Hamiltonian Dynamics with Non-Newtonian Momentum for Rapid Sampling},
  author = {Greg Ver Steeg and Aram Galstyan},
  year   = {2021},
  eprint = {2111.02434},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.02434}
}

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

Discussion