Parallelizable Feynman-Kac Models for Universal Probabilistic Programming

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-ofthe-art PP inference tools.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2025-09-16
DOI
https://doi.org/10.4204/eptcs.428.8
Primary Topic
Artificial Intelligence in Games
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Parallelizable Feynman-Kac Models for Universal Probabilistic Programming

Luisa Collodi, Michele Boreale
Electronic Proceedings in Theoretical Computer Science
Artificial Intelligence in Games
article

Parallelizable Feynman-Kac Models for Universal Probabilistic Programming

Luisa Collodi, Michele Boreale
article en

Abstract

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-ofthe-art PP inference tools.

Electronic Proceedings in Theoretical Computer ScienceVol. 428
University of Florence (IT)
Openalex Percentile: Top 87%
Artificial Intelligence in Games
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.