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

概率规划中费用累加器的中心矩分析

Central Moment Analysis for Cost Accumulators in Probabilistic Programs

Di Wang, Jan Hoffmann, Thomas Reps

摘要:

对于概率程序,通常不可能自动导出有关其属性的确切信息,例如给定程序点的状态分布。相反,可以尝试导出近似值,例如尾部概率的上限。这样的界限可以通过浓度不等式获得,它依赖于分布的矩,例如期望(第一原始矩)或方差(第二中心矩)。使用中心矩获得的尾界通常比使用原始矩获得的尾界更紧,但自动分析中心矩更具挑战性。本文提出了一种分析的概率程序,自动推导出符号的上限和下限的方差,以及更高的中心矩,成本的最小值。为了克服高阶矩分析的挑战,它用代数抽象来概括期望分析,同时分析不同的矩,利用它们之间的关系。一个关键的创新是矩多态递归的概念,以及一个处理递归函数的实用派生系统。分析已经实现了使用基于模板的技术,减少了多项式界限的线性规划的推断。与我们的原型中心矩分析仪的实验表明,尽管分析仪的上/下限的各种数量,它获得更严格的尾界比现有的系统,只使用原始时刻,如期望。

英文摘要:

For probabilistic programs, it is usually not possible to automatically derive exact information about their properties, such as the distribution of states at a given program point. Instead, one can attempt to derive approximations, such as upper bounds on tail probabilities. Such bounds can be obtained via concentration inequalities, which rely on the moments of a distribution, such as the expectation (the first raw moment) or the variance (the second central moment). Tail bounds obtained using central moments are often tighter than the ones obtained using raw moments, but automatically analyzing central moments is more challenging. This paper presents an analysis for probabilistic programs that automatically derives symbolic upper and lower bounds on variances, as well as higher central moments, of cost accumulators. To overcome the challenges of higher-moment analysis, it generalizes analyses for expectations with an algebraic abstraction that simultaneously analyzes different moments, utilizing relations between them. A key innovation is the notion of moment-polymorphic recursion, and a practical derivation system that handles recursive functions. The analysis has been implemented using a template-based technique that reduces the inference of polynomial bounds to linear programming. Experiments with our prototype central-moment analyzer show that, despite the analyzer's upper/lower bounds on various quantities, it obtains tighter tail bounds than an existing system that uses only raw moments, such as expectations.

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

↑