Semi-Symbolic Inference for Efficient Streaming Probabilistic Programming
Not on the map. Why?
Abstract (arXiv)
Efficient inference is often possible in a streaming context using Rao-Blackwellized particle filters (RBPFs), which exactly solve inference problems when possible and fall back on sampling approximations when necessary. While RBPFs can be implemented by hand to provide efficient inference, the goal of streaming probabilistic programming is to automatically generate such efficient inference implementations given input probabilistic programs. In this work, we propose semi-symbolic inference, a technique for executing probabilistic programs using a runtime inference system that automatically implements Rao-Blackwellized particle filtering. To perform exact and approximate inference together, the semi-symbolic inference system manipulates symbolic distributions to perform exact inference when possible and falls back on approximate sampling when necessary. This approach enables the system to implement the same RBPF a developer would write by hand. To ensure this, we identify closed families of distributions -- such as linear-Gaussian and finite discrete models -- on which the inference system guarantees exact inference. We have implemented the runtime inference system in the ProbZelus streaming probabilistic programming language. Despite an average 1.6× slowdown compared to the state of the art on existing benchmarks, our evaluation shows that speedups of 3×-87× are obtainable on a new set of challenging benchmarks we have designed to exploit closed families.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Sep 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 3; 2024: 2.
5 papers.
- 2023Automatically Marginalized MCMC in Probabilistic Programmingcited by 4
- 2023High Dimensional Causal Inference with Variational Backdoor Adjustmentcited by 3
- 2024Hamiltonian Monte Carlo Inference of Marginalized Linear Mixed-Effects Modelscited by 1
- 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
- 2023High Dimensional Causal Inference with Variational Backdoor Adjustment9 Oct 2023
- 2023Automatically Marginalized MCMC in Probabilistic Programming1 Feb 2023