Hamiltonian Monte Carlo (HMC) / NUTS
A Markov Chain Monte Carlo method that uses gradient information and Hamiltonian dynamics to propose distant, high-acceptance moves, dramatically improving sampling efficiency in high-dimensional continuous spaces.
Method
Augment parameters with momentum variables; simulate Hamiltonian dynamics (leapfrog integrator) to generate proposals; accept/reject via Metropolis step. NUTS (No-U-Turn Sampler) automatically tunes trajectory length by detecting U-turns, removing most manual tuning. Implemented in Stan, PyMC, NumPyro, etc.
Applications
Bayesian hierarchical models, Gaussian process hyperparameter sampling, epidemiological models, astrophysical inference, any high-dimensional Bayesian posterior sampling where gradients are available.
Advantages
Far more efficient than random-walk Metropolis in high dimensions; automatic tuning with NUTS; high-quality samples; enables practical Bayesian inference for complex models.
Limitations
Requires differentiable models and gradients; computational cost per sample is higher (many gradient evaluations); discrete parameters need special treatment; still can struggle with multimodal or highly correlated posteriors without reparameterization. NUTS does not remove divergence, convergence or effective-sample-size diagnostics.
Alternatives
Metropolis-Hastings, Gibbs sampling, Variational Inference, nested sampling, sequential Monte Carlo.
Editorial clarification
NUTS does not remove divergence, convergence or effective-sample-size diagnostics.
Sources
Educational reference only, not professional advice.
All algorithms