SoiEnterpriseResearchNewsAboutPricingSign up
Research
Research18 Jul 2021

A Gradient Based Strategy for Hamiltonian Monte Carlo Hyperparameter Optimization

This paper presents a gradient-based framework for hyperparameter optimisation in Hamiltonian Monte Carlo, directly maximising convergence speed by optimising the expected log-target under the chain’s final state.

Abstract

Hamiltonian Monte Carlo (HMC) is one of the most successful sampling methods in machine learning. However, its performance is significantly affected by the choice of hyperparameter values. Existing approaches for optimizing the HMC hyperparameters either optimize a proxy for mixing speed or consider the HMC chain as an implicit variational distribution and optimize a tractable lower bound that can be very loose in practice. Instead, we propose to optimize an objective that quantifies directly the speed of convergence to the target distribution. Our objective can be easily optimized using stochastic gradient descent. We evaluate our proposed method and compare to baselines on a variety of problems including sampling from synthetic 2D distributions, reconstructing sparse signals, learning deep latent variable models and sampling molecular configurations from the Boltzmann distribution of a 22 atom molecule. We find that our method is competitive with or improves upon alternative baselines in all these experiments.

More research

Further papers

View all
Research21 Sep 2026

Infinite-Parameter LLMs: Generating and Adapting Weights from Live Data

This paper introduces the Infinite-Parameter LLM, in which a compact hypernetwork generates low-rank weight modulations from live interaction data and updates a Bayesian belief over its latent state online, letting a deployed model learn from user feedback within a constant memory footprint.

Research12 Dec 2011

Quasi-Newton Methods for Markov Chain Monte Carlo

A Novel MCMC sampler makes use of quasi-Newton approximations from the optimization literature, that approximate the Hessian of the target distribution from previous samples and gradients generated by the sampler.