一句话:提出推断计划接口与 Siren 语言,让开发者控制混合粒子滤波的变量划分,并用抽象解释静态分析判定其可满足性。
混合粒子滤波的概率编程系统结合符号精确推断与蒙特卡洛方法,但现有启发式难以按开发者指标划分随机变量。本文提出推断计划(inference plans):一种让开发者控制变量划分的编程接口,并实现 Siren 概率编程语言,允许用注解指定推断系统必须执行的计划。为帮助静态推理计划能否实现,作者给出基于抽象解释的推断计划可满足性分析,并证明其相对于 Siren 语义可靠。评估将推断计划用于三个混合粒子滤波算法:相比默认启发式,达到目标精度平均加速 1.76 倍、最高 206 倍;在运行时间不增时精度平均提升 1.83 倍、最高 595 倍。静态分析在 33 个基准-算法设置中的 27 个识别出所有可满足计划,表明实践中精确。
Advanced probabilistic programming languages (PPLs) using hybrid particle filtering combine symbolic exact inference and Monte Carlo methods to improve inference performance. These systems use heuristics to partition random variables within the program into variables that are encoded symbolically and variables that are encoded with sampled values, and the heuristics are not necessarily aligned with the developer’s performance evaluation metrics. In this work, we present inference plans , a programming interface that enables developers to control the partitioning of random variables during hybrid particle filtering. We further present Siren , a new PPL that enables developers to use annotations to specify inference plans the inference system must implement. To assist developers with statically reasoning about whether an inference plan can be implemented, we present an abstract-interpretation-based static analysis for Siren for determining inference plan satisfiability . We prove the analysis is sound with respect to Siren ’s semantics. Our evaluation applies inference plans to three different hybrid particle filtering algorithms on a suite of benchmarks. It shows that the control provided by inference plans enables speed ups of 1.76 x on average and up to 206 x to reach a target accuracy, compared to the inference plans implemented by default heuristics; the results also show that inference plans improve accuracy by 1.83 x on average and up to 595 x with less or equal runtime, compared to the default inference plans. We further show that our static analysis is precise in practice, identifying all satisfiable inference plans in 27 out of the 33 benchmark-algorithm evaluation settings.
@article{paperbot3236,
title = {Inference Plans for Hybrid Particle Filtering},
author = {Ellie Y. Cheng and Eric Atkinson and Guillaume Baudart and Louis Mandel and Michael Carbin},
journal = {Proceedings of the ACM on Programming Languages},
volume = {9},
number = {POPL},
year = {2025},
doi = {10.1145/3704846}
}