Automatic Laplace Collapsed Sampling: Scalable Marginalisation of Latent Parameters via Automatic Differentiation
Not on the map. Why?
Abstract (arXiv)
We present Automatic Laplace Collapsed Sampling (ALCS), a general framework for marginalising latent parameters in Bayesian models using automatic differentiation, which we combine with nested sampling to explore the hyperparameter space in a robust and efficient manner. At each nested sampling likelihood evaluation, ALCS collapses the high-dimensional latent variables z to a scalar contribution via maximum a posteriori (MAP) optimisation and a Laplace approximation, both computed using autodiff. This reduces the effective dimension from dθ + dz to just dθ, making Bayesian evidence computation tractable for high-dimensional settings without hand-derived gradients or Hessians, and with minimal model-specific engineering. The MAP optimisation and Hessian evaluation are parallelised across live points on GPU-hardware, making the method practical at scale. We also show that automatic differentiation enables local approximations beyond Laplace to parametric families such as the Student-t, which improves evidence estimates for heavy-tailed latents. We validate ALCS on a suite of benchmarks spanning hierarchical, time-series, and discrete-likelihood models and establish where the Gaussian approximation holds. This enables a post-hoc ESS diagnostic that localises failures across hyperparameter space without expensive joint sampling.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 56 references that are in the map. First posted on arXiv 27 Mar 2026.
Builds on
17 of 56 references.
References · 17
- 2021Efficient and Modular Implicit Differentiationcited by 199
- 2013Hamiltonian Monte Carlo for Hierarchical Modelscited by 50
- 2014Student-t Processes as Alternatives to Gaussian Processescited by 45
- 2020Marginal likelihood computation for model selection and hypothesis testing: an extensive reviewcited by 33
- 2019Automatic Reparameterisation of Probabilistic Programscited by 18
- 2021Proximal nested sampling for high-dimensional Bayesian model selectioncited by 11
- 2021Machine learning assisted Bayesian model comparison: learnt harmonic mean estimatorcited by 9
- 2020Marginalised Gaussian Processes with Nested Samplingcited by 7
- 2023Automatically Marginalized MCMC in Probabilistic Programmingcited by 4
- 2025Resonances in reflective Hamiltonian Monte Carlocited by 4
- 2026Nested Slice Sampling: Vectorized Nested Sampling for GPU-Accelerated Inferencecited by 4
- 2021MUSE: Marginal Unbiased Score Expansion and Application to CMB Lensingcited by 3
5 more
- 2022Marginal Post Processing of Bayesian Inference Products with Normalizing Flows and Kernel Density Estimatorscited by 3
- 2024Is Gibbs sampling faster than Hamiltonian Monte Carlo on GLMs?cited by 2
- 2026Nested Sampling with Slice-within-Gibbs: Efficient Evidence Calculation for Hierarchical Bayesian Modelscited by 2
- 2023aeons: approximating the end of nested samplingcited by 1
- 2025Fast Sampling of Cosmological Initial Conditions with Gaussian Neural Posterior Estimationcited by 1
Built on by
Not cited yet.