Saved in:
Bibliographic Details
Main Authors: Boreale, Michele, Collodi, Luisa
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2603.22463
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912979215187968
author Boreale, Michele
Collodi, Luisa
author_facet Boreale, Michele
Collodi, Luisa
contents We study provably correct and efficient instantiations of Sequential Monte Carlo (SMC) inference in the context of formal operational semantics of Probabilistic Programs (PPs). We focus on universal PPs featuring sampling from arbitrary measures and conditioning/reweighting in unbounded loops. We first equip Probabilistic Program Graphs (PPGs), an automata-theoretic description format of PPs, with an expectation-based semantics over infinite execution traces, which also incorporates trace weights. We then prove a finite approximation theorem that provides bounds to this semantics based on expectations taken over finite, fixed-length traces. This enables us to frame our semantics within a Feynman-Kac (FK) model, and ensures the consistency of the Particle Filtering (PF) algorithm, an instance of SMC, with respect to our semantics. Building on these results, we introduce VPF, a vectorized version of the PF algorithm tailored to PPGs and our semantics. Experiments conducted with a proof-of-concept implementation of VPF show very promising results compared to state-of-the-art PP inference tools.
format Preprint
id arxiv_https___arxiv_org_abs_2603_22463
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Parallelizable Feynman-Kac Models for Universal Probabilistic Programming
Boreale, Michele
Collodi, Luisa
Programming Languages
We study provably correct and efficient instantiations of Sequential Monte Carlo (SMC) inference in the context of formal operational semantics of Probabilistic Programs (PPs). We focus on universal PPs featuring sampling from arbitrary measures and conditioning/reweighting in unbounded loops. We first equip Probabilistic Program Graphs (PPGs), an automata-theoretic description format of PPs, with an expectation-based semantics over infinite execution traces, which also incorporates trace weights. We then prove a finite approximation theorem that provides bounds to this semantics based on expectations taken over finite, fixed-length traces. This enables us to frame our semantics within a Feynman-Kac (FK) model, and ensures the consistency of the Particle Filtering (PF) algorithm, an instance of SMC, with respect to our semantics. Building on these results, we introduce VPF, a vectorized version of the PF algorithm tailored to PPGs and our semantics. Experiments conducted with a proof-of-concept implementation of VPF show very promising results compared to state-of-the-art PP inference tools.
title Parallelizable Feynman-Kac Models for Universal Probabilistic Programming
topic Programming Languages
url https://arxiv.org/abs/2603.22463