Delayed Sampling and Automatic Rao-Blackwellization of Probabilistic Programs
Not on the map. Why?
Abstract (arXiv)
We introduce a dynamic mechanism for the solution of analytically-tractable substructure in probabilistic programs, using conjugate priors and affine transformations to reduce variance in Monte Carlo estimators. For inference with Sequential Monte Carlo, this automatically yields improvements such as locally-optimal proposals and Rao-Blackwellization. The mechanism maintains a directed graph alongside the running program that evolves dynamically as operations are triggered upon it. Nodes of the graph represent random variables, edges the analytically-tractable relationships between them. Random variables remain in the graph for as long as possible, to be sampled only when they are used by the program in a way that cannot be resolved analytically. In the meantime, they are conditioned on as many observations as possible. We demonstrate the mechanism with a few pedagogical examples, as well as a linear-nonlinear state-space model with simulated data, and an epidemiological model with real data of a dengue outbreak in Micronesia. In all cases one or more variables are automatically marginalized out to significantly reduce variance in estimates of the marginal likelihood, in the final case facilitating a random-weight or pseudo-marginal-type importance sampler for parameter estimation. We have implemented the approach in Anglican and a new probabilistic programming language called Birch.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). First posted on arXiv 25 Aug 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 1; 2023: 2; 2024: 2.
8 papers.
- 2021Nonparametric Hamiltonian Monte Carlocited by 4
- 2023Automatically Marginalized MCMC in Probabilistic Programmingcited by 4
- 2021Compositional Semantics for Probabilistic Programs with Exact Conditioningcited by 2
- 2021flip-hoisting: Exploiting Repeated Parameters in Discrete Probabilistic Programscited by 1
- 2024Hamiltonian Monte Carlo Inference of Marginalized Linear Mixed-Effects Modelscited by 1
- 2022Marginalized particle Gibbs for multiple state-space models coupled through shared parameterscited by 0
- 2023Automatic Rao-Blackwellization for Sequential Monte Carlo with Belief Propagationcited by 0
- 2024Inference Plans for Hybrid Particle Filteringcited by 0
- 2024Hamiltonian Monte Carlo Inference of Marginalized Linear Mixed-Effects Models31 Oct 2024
- 2024Inference Plans for Hybrid Particle Filtering21 Aug 2024
- 2023Automatic Rao-Blackwellization for Sequential Monte Carlo with Belief Propagation15 Dec 2023
- 2023Automatically Marginalized MCMC in Probabilistic Programming1 Feb 2023
- 2022Marginalized particle Gibbs for multiple state-space models coupled through shared parameters13 Oct 2022
- 2021flip-hoisting: Exploiting Repeated Parameters in Discrete Probabilistic Programs19 Oct 2021
- 2021Nonparametric Hamiltonian Monte Carlo18 Jun 2021
- 2021Compositional Semantics for Probabilistic Programs with Exact Conditioning27 Jan 2021