arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2509.14092cs.PL
收藏

用于通用概率编程的可并行化 Feynman-Kac 模型

Parallelizable Feynman-Kac Models for Universal Probabilistic Programming

Università degli Studi di Firenze(佛罗伦萨大学)

Michele Boreale, Luisa Collodi

AI总结:

本文研究了通用概率程序中SMC推理的正确高效实例化,通过为PPGs构建基于无限执行轨迹的期望语义并证明有限近似定理,将其置于Feynman-Kac模型框架内,提出了向量化粒子滤波算法VPF,实验证明其优于现有推理工具。

摘要:

我们研究了在概率程序的正式操作语义背景下,序列蒙特卡洛(SMC)推理的可证明正确且高效的实例化。我们关注通用概率程序,其特征包括从任意测度中采样以及在无界循环中进行条件化/重加权。我们首先为概率程序图(PPGs,一种概率程序的自动机理论描述格式)配备了基于无限执行轨迹的期望语义,该语义还结合了轨迹权重。然后,我们证明了一个有限近似定理,该定理基于有限、固定长度轨迹上的期望为该语义提供了界限。这使我们能够将我们的语义置于 Feynman-Kac(FK)模型框架内,并确保了粒子滤波(PF)算法(SMC 的一个实例)相对于我们语义的一致性。基于这些结果,我们引入了 VPF,这是一种针对 PPGs 和我们的语义量身定制的 PF 算法的向量化版本。使用 VPF 的概念验证实现进行的实验表明,与最先进的概率程序推理工具相比,结果非常有前景。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑