可并行化的费曼-科茨模型用于通用概率编程
Parallelizable Feynman-Kac Models for Universal Probabilistic Programming
AI总结:
本文研究了在概率程序的正式操作语义中,可证明正确且高效的序列蒙特卡洛推断实例。通过概率程序图的期望语义和轨迹权重,提出了一种可并行化的费曼-科茨模型,并展示了其在概率滤波算法中的应用。
摘要:
我们研究了在概率程序的正式操作语义中,可证明正确且高效的序列蒙特卡洛(SMC)推断实例。我们关注具有从任意测度采样和在无界循环中条件/重加权的通用概率程序。我们首先为概率程序图(PPGs)——一种自动机理论描述格式的概率程序,配备了基于无限执行轨迹的期望语义,该语义也结合了轨迹权重。然后证明了一个有限逼近定理,该定理基于有限长度轨迹上的期望值提供该语义的界限。这使我们能够将我们的语义框架在费曼-科茨(FK)模型中,并确保粒子滤波(PF)算法——SMC的一个实例——与我们的语义一致。基于这些结果,我们引入了VPF,一种针对PPGs和我们语义量身定制的粒子滤波算法的向量化版本。通过与证明概念实现的VPF进行实验,结果显示比最先进的PP推断工具有非常有希望的结果。
英文摘要:
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分析而来,可能存在错误,请以论文正文为准。