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

概率递归关系的自动化尾部界限分析

Automated Tail Bound Analysis for Probabilistic Recurrence Relations

Yican Sun, Hongfei Fu, Krishnendu Chatterjee, Amir Kafshdar Goharshady

AI总结:

针对概率递归关系的尾部界限分析问题,提出一种基于马尔可夫不等式和模板的自动化方法,能高效推导出比经典方法更紧的指数递减尾部界限。

摘要:

概率递归关系(PRRs)是描述随机化算法运行时间的标准形式化方法。给定一个PRR和时间限制$κ$,我们考虑尾部概率$\Pr[T \ge κ]$这一经典概念,即PRR的随机化运行时间$T$超过时间限制$κ$的概率。我们的重点是尾部界限的形式化分析,旨在针对时间限制$κ$找到一个紧的渐近上界$u \geq \Pr[T\geκ]$。为解决此问题,经典且最著名的方法是Karp(JACM 1994)的cookbook方法,而其他方法大多局限于通过复杂的定制分析来推导特定PRR的尾部界限。在这项工作中,我们提出了一种新方法,用于推导其预处理时间和随机传递大小服从离散或(分段)均匀分布,且其递归调用是单个过程调用或分治法的PRR的指数递减尾部界限(一种常见的尾部界限类型)。我们首先通过马尔可夫不等式建立了一种理论方法,然后通过对取幂的精细处理,以基于模板的算法方法实例化了该理论方法。实验评估表明,我们的算法方法能够推导出以下尾部界限:(i)渐近上比Karp的方法更紧;(ii)与QuickSort的最佳已知手动推导渐近尾部界限相匹配;(iii)仅比QuickSort的手动证明最优渐近尾部界限稍差(带有$\log\log n$因子)。此外,我们的算法方法在不到0.1秒内处理了所有示例(包括QuickSort、QuickSelect、DiameterComputation等现实PRR),表明我们的方法在实践中是高效的。

英文摘要:

Probabilistic recurrence relations (PRRs) are a standard formalism for describing the runtime of a randomized algorithm. Given a PRR and a time limit $κ$, we consider the classical concept of tail probability $\Pr[T \ge κ]$, i.e., the probability that the randomized runtime $T$ of the PRR exceeds the time limit $κ$. Our focus is the formal analysis of tail bounds that aims at finding a tight asymptotic upper bound $u \geq \Pr[T\geκ]$ in the time limit $κ$. To address this problem, the classical and most well-known approach is the cookbook method by Karp (JACM 1994), while other approaches are mostly limited to deriving tail bounds of specific PRRs via involved custom analysis. In this work, we propose a novel approach for deriving exponentially-decreasing tail bounds (a common type of tail bounds) for PRRs whose preprocessing time and random passed sizes observe discrete or (piecewise) uniform distribution and whose recursive call is either a single procedure call or a divide-and-conquer. We first establish a theoretical approach via Markov's inequality, and then instantiate the theoretical approach with a template-based algorithmic approach via a refined treatment of exponentiation. Experimental evaluation shows that our algorithmic approach is capable of deriving tail bounds that are (i) asymptotically tighter than Karp's method, (ii) match the best-known manually-derived asymptotic tail bound for QuickSelect, and (iii) is only slightly worse (with a $\log\log n$ factor) than the manually-proven optimal asymptotic tail bound for QuickSort. Moreover, our algorithmic approach handles all examples (including realistic PRRs such as QuickSort, QuickSelect, DiameterComputation, etc.) in less than 0.1 seconds, showing that our approach is efficient in practice.

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

↑