arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.14976stat.CO
收藏

一般伴随微分Laplace近似

General adjoint-differentiated Laplace approximation

Charles C. Margossian

AI总结:

针对Latent Gaussian models超参数推断中伴随微分Laplace近似受限于对角Hessian和解析导数的问题,提出一种适用更广似然类且无需解析导数的通用方法,在标准模型上计算更快且能处理非传统似然。

摘要:

Latent Gaussian models (LGMs,潜高斯模型) 中使用的分层先验会诱导一种容易使推断算法受挫的后验几何结构。使用积分Laplace近似边缘化掉潜高斯变量可以消除这种不良几何结构,从而允许我们对超参数进行高效推断。为了使用基于梯度的推断,我们需要计算近似边际似然及其梯度。伴随微分Laplace近似对边际似然进行微分,并且在超参数维度上具有良好的可扩展性。虽然该方法可以应用于具有任何先验协方差的LGMs,但它仅适用于具有对角Hessian矩阵的似然。此外,该算法需要计算似然的前三阶导数的方法,而目前的实现依赖于解析导数。我提出了一种推广,它适用于更广泛的似然类,并且不需要似然的解析导数。数值实验表明,这种增加的灵活性不会带来任何计算成本:在标准的LGM上,新方法实际上比现有的伴随微分Laplace近似稍快。我还将该通用方法应用于具有非传统似然的LGM。这个例子突出了算法的潜力,以及持续存在的挑战。

英文摘要:

The hierarchical prior used in Latent Gaussian models (LGMs) induces a posterior geometry prone to frustrate inference algorithms. Marginalizing out the latent Gaussian variable using an integrated Laplace approximation removes the offending geometry, allowing us to do efficient inference on the hyperparameters. To use gradient-based inference we need to compute the approximate marginal likelihood and its gradient. The adjoint-differentiated Laplace approximation differentiates the marginal likelihood and scales well with the dimension of the hyperparameters. While this method can be applied to LGMs with any prior covariance, it only works for likelihoods with a diagonal Hessian. Furthermore, the algorithm requires methods which compute the first three derivatives of the likelihood with current implementations relying on analytical derivatives. I propose a generalization which is applicable to a broader class of likelihoods and does not require analytical derivatives of the likelihood. Numerical experiments suggest the added flexibility comes at no computational cost: on a standard LGM, the new method is in fact slightly faster than the existing adjoint-differentiated Laplace approximation. I also apply the general method to an LGM with an unconventional likelihood. This example highlights the algorithm's potential, as well as persistent challenges.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑