arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2308.01676cs.PL
收藏

反应式概率编程的基于密度的语义

Density-Based Semantics for Reactive Probabilistic Programming

Guillaume Baudart, Louis Mandel, Christine Tasson

AI总结:

针对概率同步语言仅对已调度方程定义语义的局限,提出两种与调度无关的基于密度函数流的语义(共迭代与关系语义),并利用关系语义证明了状态空间模型优化推理所需程序变换的正确性。

摘要:

同步语言现已成为关键嵌入式系统的标准工业工具。设计者通过使用框图组合值流来编写高级规范。这些语言已通过贝叶斯推理进行扩展,以对状态空间模型进行编程,从而在给定观测流的情况下计算分布流。然而,概率模型的语义仅针对已调度的方程进行定义——与不需要任何排序的数据流同步语言和框图相比,这是一个显著的局限性。在本文中,我们为一种概率同步语言提出了两种与调度无关的语义。核心思想是将概率表达式解释为非归一化密度函数流,该流将随机变量值映射到结果和正分数。共迭代语义将程序解释为状态机,并使用不动点算子计算方程。关系语义直接操作流,因此更适合用于推理程序等价性。我们使用关系语义来证明程序变换的正确性,该变换是运行具有常数参数的状态空间模型的优化推理算法所必需的。

英文摘要:

Synchronous languages are now a standard industry tool for critical embedded systems. Designers write high-level specifications by composing streams of values using block diagrams. These languages have been extended with Bayesian reasoning to program state-space models which compute a stream of distributions given a stream of observations. However, the semantics of probabilistic models is only defined for scheduled equations -- a significant limitation compared to dataflow synchronous languages and block diagrams which do not require any ordering. In this paper we propose two schedule agnostic semantics for a probabilistic synchronous language. The key idea is to interpret probabilistic expressions as a stream of un-normalized density functions which maps random variable values to a result and positive score. The co-iterative semantics interprets programs as state machines and equations are computed using a fixpoint operator. The relational semantics directly manipulates streams and is thus a better fit to reason about program equivalence. We use the relational semantics to prove the correctness of a program transformation required to run an optimized inference algorithm for state-space models with constant parameters.

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

↑