arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1611.01063cs.PL
收藏

概率终止的随机不变量

Stochastic Invariants for Probabilistic Termination

Krishnendu Chatterjee, Petr Novotný, Đorđe Žikelić

摘要:

终止性是活性的基本性质之一,本文研究了实变量概率规划的终止性问题。以前的工作集中在定性问题,问是否输入程序终止概率~1(几乎肯定终止)。一个强有力的方法,这个定性问题的概念排名上鞅关于一组给定的不变量。定量问题(概率终止)要求终止概率的界限。现有的方法来解决概率终止的一个基本的和概念上的缺点是,即使上鞅考虑的概率行为的程序,获得的不变量完全忽略了概率方面。在这项工作中,我们解决的概率终止问题的线性算术概率程序的非确定性。我们定义了{ \em随机不变量}的概念,这是约束以及约束保持的概率界。引入了{ \em排斥上鞅}的概念。首先,我们证明了排斥上鞅可以用来获得随机不变量的概率上界。其次,我们从以下三个方面证明了排斥上鞅的有效性:(1)结合秩上鞅和排斥上鞅,我们可以计算终止概率的下界;(2)排斥上鞅为反驳几乎必然终止提供了证据;(3)结合秩上鞅和排斥上鞅,我们可以建立概率规划的持久性.我们还提出了相关的计算问题的结果和实验评估我们的方法在学术上的例子。

英文摘要:

Termination is one of the basic liveness properties, and we study the termination problem for probabilistic programs with real-valued variables. Previous works focused on the qualitative problem that asks whether an input program terminates with probability~1 (almost-sure termination). A powerful approach for this qualitative problem is the notion of ranking supermartingales with respect to a given set of invariants. The quantitative problem (probabilistic termination) asks for bounds on the termination probability. A fundamental and conceptual drawback of the existing approaches to address probabilistic termination is that even though the supermartingales consider the probabilistic behavior of the programs, the invariants are obtained completely ignoring the probabilistic aspect. In this work we address the probabilistic termination problem for linear-arithmetic probabilistic programs with nondeterminism. We define the notion of {\em stochastic invariants}, which are constraints along with a probability bound that the constraints hold. We introduce a concept of {\em repulsing supermartingales}. First, we show that repulsing supermartingales can be used to obtain bounds on the probability of the stochastic invariants. Second, we show the effectiveness of repulsing supermartingales in the following three ways: (1)~With a combination of ranking and repulsing supermartingales we can compute lower bounds on the probability of termination; (2)~repulsing supermartingales provide witnesses for refutation of almost-sure termination; and (3)~with a combination of ranking and repulsing supermartingales we can establish persistence properties of probabilistic programs. We also present results on related computational problems and an experimental evaluation of our approach on academic examples.

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

↑