vix.ing · top · new · best · stats · spec

Neural Surrogate HMC: On Using Neural Likelihoods for Hamiltonian Monte Carlo in Simulation-Based Inference

2024/07/29 by Linnea M Wolniewicz, Wolniewicz, Linnea M, Peter Sadowski +3
Computer Science · Physics and Astronomy · #FOS: Computer and information sciences #FOS: Physical sciences #High Energy Astrophysical Phenomena (astro-ph.HE) #I.2.1 #Machine Learning (cs.LG) #astro-ph.HE #cs.LG

paper · pdf · doi:10.48550/arxiv.2407.20432

22 pages, 17 figures. Accepted for publication in the Journal of Geophysical Research: Machine Learning and Computation. Published 2026 American Geophysical Union. Further reproduction or electronic distribution is not permitted

arxiv created 2026/08/03 · arxiv updated 2026/08/04

Abstract

Bayesian inference methods such as Markov Chain Monte Carlo (MCMC) typically require repeated computations of the likelihood function, but in some scenarios this is infeasible and alternative methods are needed. Simulation-based inference (SBI) methods address this problem by using machine learning to amortize computations. In this work, we highlight a particular synergy between the SBI method of neural likelihood estimation and the classic MCMC method of Hamiltonian Monte Carlo. We show that approximating the likelihood function with a neural network model can provide three distinct advantages: (1) amortizing the computations for MCMC; (2) providing gradients for Hamiltonian Monte Carlo, and (3) smoothing over noisy simulations resulting from numerical instabilities. We provide practical guidelines for defining a prior, sampling a training set, and evaluating convergence. The method is demonstrated in an application modeling the heliospheric transport of galactic cosmic rays, where it enables efficient inference of latent parameters in the Parker equation.

Related