[论文解读] noDice: Inference for Discrete Probabilistic Programs with Nondeterminism and Conditioning
noDice 将 Dice 扩展为在无环、离散概率程序中处理非确定性与条件化的推断,通过编译为基于 ADD 的 MDP 并计算条件可达性以获得最大输出概率。
Probabilistic programming languages (PPLs) are an expressive and intuitive means of representing complex probability distributions. In that realm, languages like Dice target an important class of probabilistic programs: those whose probability distributions are discrete. Discrete distributions are common in many fields, including text analysis, network verification, artificial intelligence, and graph analysis. Another important feature in the world of probabilistic modeling are nondeterministic choices as found in Markov Decision Processes (MDPs) which play a major role in reinforcement learning. Modern PPLs usually lack support for nondeterminism. We address this gap with the introduction of noDice, which extends the discrete probabilistic inference engine Dice. noDice performs inference on loop-free programs by constructing an MDP so that the distributions modeled by the program correspond to schedulers in the MDP. Furthermore, decision diagrams are used as an intermediate step to exploit the program structure and drastically reduce the state space of the MDP.
研究动机与目标
- 为具有非确定性和条件化的离散概率程序提供推断的动机与可行性。
- 提供一个语言(noDice)与一个组合、凸集语义的理论框架。
- 开发利用决策图降低状态空间的推断算法。
- 展示相对于现有模型检验方法的效率提升与实际可扩展性。
提出的方法
- 把一个 noDice 程序翻译成一对布尔公式,分别对程序行为和观测进行编码。
- 将这些公式表示为二进制决策图(BDDs),并将它们融合为代数决策图(ADD)。
- 将 ADD 提升为马尔可夫决策过程(MDP),以捕捉概率性与非确定性选择。
- 在构建的 MDP 中使用条件可达性来计算在成功观测下程序输出的最大概率。
- 利用 ADD 以裁剪冗余状态、缩小最终的 MDP 大小,从而实现可处理的推断。
- 讨论基于 ADD 的推理的局限性(有界、有限布尔变量、无环程序),并与其他方法对比。
实验结果
研究问题
- RQ1如何对包含非确定性与条件化的离散概率程序执行推断?
- RQ2能否构建一个健壮、可扩展的框架,在观测条件下计算程序输出给定值的最大概率?
- RQ3相较于传统模型检查方法,决策图(BDDs/ADDs)在缩减推断模型的状态空间方面能达到何种程度?
- RQ4在该 setting 中用凸集分布来建模非确定性的理论与实践权衡是什么?
主要发现
- noDice 通过基于 ADD 的编译降低了结果 MDP 的状态空间,从而实现更可扩展的推断。
- 在成功观测下,noDice 程序输出给定值的最大概率可作为构建的 MDP 中的条件可达性概率来计算。
- 在某些基准测试中,noDice 在等价任务上优于最先进的模型检验工具。
- 该框架能够确定非平凡的概率(通过一个示例说明最大概率在 Vehicle-Tracking 场景中的计算)。
- 该方法在单一、组合语义基础上同时处理概率性选择和非确定性决策,基于分布的凸集实现。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。