Neural Surrogate HMC: On Using Neural Likelihoods for Hamiltonian Monte Carlo in Simulation-Based Inference
Linnea M Wolniewicz, Peter Sadowski, Claudio Corti
备注:
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
本文提出利用神经似然进行Hamiltonian Monte Carlo,以提高模拟基础推断中参数推断的效率。
摘要:
贝叶斯推断方法如马尔可夫链蒙特卡罗(MCMC)通常需要重复计算似然函数,但在某些情况下这不可行,需要替代方法。基于模拟的推断(SBI)方法通过使用机器学习来缓解计算。在本文中,我们强调SBI方法中的神经似然估计与经典MCMC方法中的Hamiltonian Monte Carlo之间的特别协同效应。我们证明用神经网络模型近似似然函数可以提供三个不同的优势:(1)缓解MCMC的计算;(2)为Hamiltonian Monte Carlo提供梯度;(3)平滑由于数值不稳定性导致的噪声模拟。我们提供了定义先验、采样训练集和评估收敛性的实际指南。该方法在建模银河宇宙射线在日球层的传输中得到了应用,其中它使Parker方程中的隐含参数推断变得高效。
英文摘要:
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.
Scalable Inference-Time Annealing with Surrogate Likelihood Estimators
CMU-Pitt PhD Program in Computational Biology Dept. of Computational & Systems Biology, University of Pittsburgh, Pittsburgh, PA 15260, USA(卡内基梅隆大学-匹兹堡联合博士项目 计算生物学部门 计算与系统生物学系,匹兹堡大学,匹兹堡,PA 15260,USA)
Likelihood-Free Inference with Deep Gaussian Processes
Helsinki Institute for Information Technology(赫尔辛基信息技术研究所);Aalto University(阿尔托大学);University of Oslo(奥斯陆大学);University of Helsinki(赫尔辛基大学);University of Manchester(曼彻斯特大学)
Accelerating Hamiltonian Monte Carlo for Bayesian Inference in Neural Networks and Neural Operators
Hopkins Extreme Materials Institute, Johns Hopkins University(霍普金斯极端材料研究所,约翰·霍普金斯大学);Department of Mechanical Engineering, Johns Hopkins University(约翰·霍普金斯大学机械工程系);Department of Civil and Systems Engineering, Johns Hopkins University(约翰·霍普金斯大学土木与系统工程系)
Variational Inference with NoFAS: Normalizing Flow with Adaptive Surrogate for Computationally Expensive Models
University of Notre Dame(圣母大学)
从数据中快速推断数值模型参数是生成广泛应用的预测模型的重要前提。使用基于采样的方法,如马尔可夫链蒙特卡罗可能会变得棘手时,每个可能性评估是计算昂贵的。变分推理与归一化流相结合的新方法的特征在于计算成本仅随潜在变量空间的维度线性增长,并且依赖于基于梯度的优化而不是采样,为关于模型参数的贝叶斯推理提供了更有效的方法。此外,通过用离线训练的代理模型(诸如神经网络)替换真实模型,可以减轻频繁评估昂贵的可能性的成本。然而,这种方法可能会产生显着的偏见时,替代品是不够准确的后验模式。为了在不牺牲推理精度的前提下降低计算成本,本文提出了一种基于自适应代理的流标准化算法(Normalizing Flow with Adaptive Surrogate,NoFAS),该算法通过交替更新流标准化参数和代理模型参数来优化流模型。我们还提出了一个有效的样本加权方案的代理模型训练,保持全球的准确性,同时有效地捕捉高后验密度区域。我们展示了NoFAS对各种基准的推理和计算优势,包括基础模型缺乏可识别性的情况。用于本研究的源代码和数值实验可在https://github.com/cedricwangyu/NoFAS上获得。
Exponential Family Estimation via Adversarial Dynamics Embedding
University of Illinois at Urbana Champaign(伊利诺伊大学厄巴纳-香槟分校);University College London(伦敦大学学院);Georgia Institute of Technology(佐治亚理工学院);Ant Financial(蚂蚁金服);University of Alberta(阿尔伯塔大学);Google Research Brain Team(谷歌研究大脑团队);Mila(蒙特利尔学习算法研究所);University of Montreal(蒙特利尔大学)
Teacher Forcing as Generalized Bayes: Optimization Geometry Mismatch in Switching Surrogates for Chaotic Dynamics
Interdisciplinary Center for Scientific Computing, Heidelberg University, Germany(海德堡大学交叉科学计算中心,德国);Dept. of Theoretical Neuroscience, Central Institute of Mental Health (CIMH), Mannheim, Germany(心理健康中央研究所(CIMH)理论神经科学系,曼海姆,德国);Hector Institute for AI in Psychiatry and Dept. of Psychiatry and Psychotherapy, CIMH, Mannheim, Germany(精神病人工智能研究所(Hector)及心理健康与心理治疗系,CIMH,曼海姆,德国);Hertie Institute for AI in Brain Health, University of Tübingen, Germany(脑健康人工智能研究所(Hertie),图宾根大学,德国)
A Simple Approximate Bayesian Inference Neural Surrogate for Stochastic Petri Net Models
School of Computing and Augmented Intelligence, Arizona State University(计算与增强智能学院,亚利桑那州立大学);School of Mathematical and Statistical Sciences, Arizona State University(数学与统计科学学院,亚利桑那州立大学);School of Life Sciences, Arizona State University(生命科学学院,亚利桑那州立大学)
Applications of ML-Based Surrogates in Bayesian Approaches to Inverse Problems
Izmir University of Economics(伊兹密尔经济大学);Carnegie Melon University(卡内基梅隆大学);University of Warwick(华威大学);Case Western Reserve University(凯斯西储大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Advanced Micro Devices, Inc.(超威半导体公司)
Approximate Inference for Fully Bayesian Gaussian Process Regression
University of Cambridge(剑桥大学);The Alan Turing Institute(艾伦·图灵研究所)
高斯过程模型中的学习通过均值和协方差函数的超参数的自适应来进行。经典方法需要最大化边际似然,从而产生固定点估计(称为\textit{Type II maximum likelihood}或ML-II的方法)。另一种学习过程是在我们称为\textit{Fully Bayesian Gaussian Process Regression}(GPR)的GP的分层规范中推断超参数的后验。这项工作考虑了两种近似方案的棘手的超参数后验:1)哈密顿蒙特卡罗(HMC)产生基于采样的近似和2)变分推断(VI),其中超参数的后验近似的因式高斯(平均场)或满秩高斯帐户之间的相关性。我们分析的预测性能完全贝叶斯GPR的基准数据集的范围。
Fast, accurate, and differentiable: a neural-network surrogate for NRSur7dq4 precessing binary black hole waveforms
University of Rhode Island(罗德岛大学);Institute for AI & Computational Research(人工智能与计算研究所);California Institute of Technology(加州理工学院);LIGO Laboratory(LIGO实验室)
Surrogate-assisted parallel tempering for Bayesian neural learning
University of New South Wales(新南威尔士大学);The University of Sydney(悉尼大学);Indian Institute of Technology Guwahati(印度理工学院古瓦哈提分校);SRM Institute of Science and Technology(SRM科学技术学院);Indian Institute of Technology Delhi(印度理工学院德里分校)
Nonparametric likelihood-free inference with Jensen-Shannon divergence for simulator-based models with categorical output
Helsinki Institute of Information Technology (HIIT)(赫尔辛基信息技术研究所);University of Helsinki(赫尔辛基大学);University of Oslo(奥斯陆大学);Wellcome Sanger Institute(惠康桑格研究所);KTH Royal Institute of Technology(瑞典皇家理工学院)
Likelihood-Free Inference in State-Space Models with Unknown Dynamics
Helsinki Institute for Information Technology(赫尔辛基信息技术研究所);Aalto University(阿尔托大学);University of Oslo(奥斯陆大学);University of Birmingham(伯明翰大学);University of Manchester(曼彻斯特大学)
Surrogate-assisted Bayesian inversion for landscape and basin evolution models
University of New South Wales(新南威尔士大学);University of Sydney(悉尼大学);SRM Institute of Science and Technology(SRM科学技术研究所)
景观演化模型的复杂性和计算成本高的性质在未知参数的推断和优化方面提出了重大挑战。贝叶斯推断提供了一种用于未知模型参数的估计和不确定性量化的方法。在我们以前的工作中,我们开发了并行回火贝叶斯作为参数估计和不确定性量化的荒地景观演化模型的框架。并行回火Bayeslands具有高性能计算功能,具有数十个并行运行的处理核心,以提高计算效率。虽然我们使用并行计算,但该过程仍然具有计算挑战性,因为需要绘制和评估数千个样本。\textcolor{black}{In large-scale landscape and basin evolution problems, a single model evaluation can take from several minutes to hours, and in some instances, even days. Surrogate-assisted optimisation has been used for several computationally expensive engineering problems which motivate its use in optimisation and inference of complex geoscientific models.}代理模型的使用可以通过开发计算成本低廉的模型来模拟昂贵的模…
Efficient and Accurate Learning of Mixtures of Plackett-Luce Models
University of Pennsylvania(宾夕法尼亚大学)
Plackett-Luce(PL)混合模型是最基本的排序模型之一,是一个具有重要理论和实际意义的研究热点。大多数先前提出的参数估计算法实例化的EM算法,往往与随机初始化。然而,这样的初始化方案可能不会产生良好的初始估计,并且算法需要多次重启,从而导致大的时间复杂度。至于EM过程,虽然可以有效地执行E步骤,但由于PL似然函数的组合性质,很难最大化M步骤中的对数似然(Gormley和Murphy 2008)。因此,以前的作者倾向于最大化替代似然函数的算法(Zhao et al. 2018,2020)。然而,最终的估计可能会偏离真正的最大似然估计的结果。在本文中,我们解决这些已知的限制。我们提出了一个初始化算法,可以提供一个可证明准确的初始估计和EM算法,有效地最大化真正的对数似然函数。在合成数据集和真实数据集上的实验表明,该算法在准确性和速度方面与基线算法具有竞争力,特别是在具有大量项目的数据集上。
Misspecification-robust Sequential Neural Likelihood for Simulation-based Inference
School of Mathematical Sciences(数学科学学院);Centre for Data Science(数据科学中心);Queensland University of Technology(昆士兰科技大学);Institute of Operations Research and Analytics(运营研究与分析研究所);National University of Singapore(新加坡国立大学);Department of Econometrics and Business Statistics(计量经济学与商务统计系);Monash University(莫纳什大学)