论文标题
概率计划和概率复发关系的集中分析
Concentration-Bound Analysis for Probabilistic Programs and Probabilistic Recurrence Relations
论文作者
论文摘要
分析概率程序和随机算法是计算机科学中的经典问题。随机过程分析的第一个基本问题是考虑期望或平均值,另一个基本问题是考虑浓度界限,即表明与平均值的较大偏差的可能性很小。同样,在概率程序和随机算法的背景下,对预期终止时间/运行时间及其集中界的分析是基本问题。在这项工作中,我们专注于概率程序和随机算法的概率复发的集中范围。对于概率计划,实现集中界的基本技术是考虑Martingales并应用经典Azuma的不平等。对于随机算法的概率复发,KARP的经典“食谱”方法(类似于重复的主定理)是获得浓度界限的标准方法。在这项工作中,我们提出了一种新的方法,用于通过综合指数超级马丁群的合成来得出概率程序和概率复发关系的浓度界限。对于概率程序,我们介绍了用于合成此类超级男性的算法。我们还表明,我们的方法可以得出更好的集中度范围,而不是简单地将经典Azuma的不平等应用于文献中考虑的各种概率计划。对于概率复发,与KARP在经典算法上的良好方法相比,我们的方法可以得出更紧密的界限。此外,我们表明我们的方法可以得出与McDiarmid和Hayward提出的QuickSort最佳结合的界限。我们还提出了一个可以自动推断这些界限的原型实现
Analyzing probabilistic programs and randomized algorithms are classical problems in computer science. The first basic problem in the analysis of stochastic processes is to consider the expectation or mean, and another basic problem is to consider concentration bounds, i.e. showing that large deviations from the mean have small probability. Similarly, in the context of probabilistic programs and randomized algorithms, the analysis of expected termination time/running time and their concentration bounds are fundamental problems.In this work, we focus on concentration bounds for probabilistic programs and probabilistic recurrences of randomized algorithms. For probabilistic programs, the basic technique to achieve concentration bounds is to consider martingales and apply the classical Azuma's inequality. For probabilistic recurrences of randomized algorithms, Karp's classical "cookbook" method, which is similar to the master theorem for recurrences, is the standard approach to obtain concentration bounds. In this work, we propose a novel approach for deriving concentration bounds for probabilistic programs and probabilistic recurrence relations through the synthesis of exponential supermartingales. For probabilistic programs, we present algorithms for synthesis of such supermartingales in several cases. We also show that our approach can derive better concentration bounds than simply applying the classical Azuma's inequality over various probabilistic programs considered in the literature. For probabilistic recurrences, our approach can derive tighter bounds than the Karp's well-established methods on classical algorithms. Moreover, we show that our approach could derive bounds comparable to the optimal bound for quicksort, proposed by McDiarmid and Hayward. We also present a prototype implementation that can automatically infer these bounds