General adjoint-differentiated Laplace approximation

06/26/2023
by   Charles C. Margossian, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/24/2014

The EM algorithm and the Laplace Approximation

The Laplace approximation calls for the computation of second derivative...
research
04/27/2020

Hamiltonian Monte Carlo using an embedded Laplace approximation

Latent Gaussian models are a popular class of hierarchical models with a...
research
06/06/2023

Stochastic Marginal Likelihood Gradients using Neural Tangent Kernels

Selecting hyperparameters in deep learning greatly impacts its effective...
research
12/29/2014

Marginal likelihood and model selection for Gaussian latent tree and forest models

Gaussian latent tree models, or more generally, Gaussian latent forest m...
research
03/09/2023

Curvature-Sensitive Predictive Coding with Approximate Laplace Monte Carlo

Predictive coding (PC) accounts of perception now form one of the domina...
research
03/27/2018

MLE-induced Likelihood for Markov Random Fields

Due to the intractable partition function, the exact likelihood function...
research
11/28/2018

19 dubious ways to compute the marginal likelihood of a phylogenetic tree topology

The marginal likelihood of a model is a key quantity for assessing the e...

Please sign up or login with your details

Forgot password? Click here to reset