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

概率可解环的矩不变量自动生成

Automatic Generation of Moment-Based Invariants for Prob-Solvable Loops

Ezio Bartocci, Laura Kovács, Miroslav Stankovič

摘要:

概率程序分析的主要挑战之一是计算总结循环行为的不变性质。不变式生成的自动化仍处于起步阶段,大多数时候只针对程序变量的预期值,这不足以恢复完整的概率程序行为。我们提出了一种方法来自动生成基于矩的不变量的一个子类的概率程序,称为概率可解循环,多项式分配随机变量和参数化分布。我们结合符号求和和统计方法,推导出不变量作为程序变量的高阶矩(如期望值或方差)的有效属性。我们成功地评估了我们在几个例子中的工作,在这些例子中,计算程序变量的高阶矩和不变量的完全自动化是不可能的。

英文摘要:

One of the main challenges in the analysis of probabilistic programs is to compute invariant properties that summarise loop behaviours. Automation of invariant generation is still at its infancy and most of the times targets only expected values of the program variables, which is insufficient to recover the full probabilistic program behaviour. We present a method to automatically generate moment-based invariants of a subclass of probabilistic programs, called Prob-Solvable loops, with polynomial assignments over random variables and parametrised distributions. We combine methods from symbolic summation and statistics to derive invariants as valid properties over higher-order moments, such as expected values or variances, of program variables. We successfully evaluated our work on several examples where full automation for computing higher-order moments and invariants over program variables was not yet possible.

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

↑