Live
Black Hat USADark ReadingBlack Hat AsiaAI BusinessAnthropic Found Emotion Circuits Inside Claude. They're Causing It to Blackmail People.DEV CommunityUnderstanding Transformers Part 1: How Transformers Understand Word OrderDEV CommunityI built an iOS app at 50 using AI tools. Here's what actually workedDEV CommunityDesign Cost-Optimized Compute SolutionsDEV CommunityCodeClone b4: from CLI tool to a real review surface for VS Code, Claude Desktop, and CodexDEV CommunityHow to Publish a Power BI Report and Embed it into a Website.DEV CommunityKVerify: A Two-Year Journey to Get Validation RightDEV CommunityHow I Used Swarm Intelligence to Catch a Race Condition Before It Hit ProductionDEV CommunityDark Dish Lab: A Cursed Recipe GeneratorDEV CommunityUpload Large Folders to Cloudflare R2DEV Community10x Genomics (TXG) Is Up 14.6% After Analyst Upgrade Highlights AI-Scale Spatial Genomics Initiative - simplywall.stGNews AI genomicsWhy Developer Productivity Engineering is UnderratedDEV CommunityBlack Hat USADark ReadingBlack Hat AsiaAI BusinessAnthropic Found Emotion Circuits Inside Claude. They're Causing It to Blackmail People.DEV CommunityUnderstanding Transformers Part 1: How Transformers Understand Word OrderDEV CommunityI built an iOS app at 50 using AI tools. Here's what actually workedDEV CommunityDesign Cost-Optimized Compute SolutionsDEV CommunityCodeClone b4: from CLI tool to a real review surface for VS Code, Claude Desktop, and CodexDEV CommunityHow to Publish a Power BI Report and Embed it into a Website.DEV CommunityKVerify: A Two-Year Journey to Get Validation RightDEV CommunityHow I Used Swarm Intelligence to Catch a Race Condition Before It Hit ProductionDEV CommunityDark Dish Lab: A Cursed Recipe GeneratorDEV CommunityUpload Large Folders to Cloudflare R2DEV Community10x Genomics (TXG) Is Up 14.6% After Analyst Upgrade Highlights AI-Scale Spatial Genomics Initiative - simplywall.stGNews AI genomicsWhy Developer Productivity Engineering is UnderratedDEV Community
AI NEWS HUBbyEIGENVECTOREigenvector

Automatic Laplace Collapsed Sampling: Scalable Marginalisation of Latent Parameters via Automatic Differentiation

arXivMarch 30, 202610 min read0 views
Source Quiz

arXiv:2603.26644v1 Announce Type: new Abstract: 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_\th — Toby Lovick, David Yallup, Will Handley

View PDF HTML (experimental)

Abstract: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_\theta + d_z$ to just $d_\theta$, 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.

Comments: 28 Pages, 7 Figures. Comments welcome

Subjects:

Machine Learning (cs.LG); Instrumentation and Methods for Astrophysics (astro-ph.IM); Methodology (stat.ME)

Cite as: arXiv:2603.26644 [cs.LG]

(or arXiv:2603.26644v1 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2603.26644

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Toby Lovick [view email] [v1] Fri, 27 Mar 2026 17:47:45 UTC (149 KB)

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by Eigenvector · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

Knowledge Map

Knowledge Map
TopicsEntitiesSource
Automatic L…researchpaperarxivmachine-lea…deep-learni…arXiv

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 135 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!