Automated Tail Bound Analysis for Probabilistic Recurrence Relations

05/24/2023
by   Yican Sun, et al.
0

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 [T ≥κ], 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 ≥[T≥κ] 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 loglog 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/02/2020

Concentration-Bound Analysis for Probabilistic Programs and Probabilistic Recurrence Relations

Analyzing probabilistic programs and randomized algorithms are classical...
research
02/07/2019

On Asymptotically Tight Tail Bounds for Sums of Geometric and Exponential Random Variables

In this note we prove bounds on the upper and lower probability tails of...
research
06/19/2015

A Tight Runtime Analysis of the (1+(λ, λ)) Genetic Algorithm on OneMax

Understanding how crossover works is still one of the big challenges in ...
research
05/18/2019

On a Tail Bound for Root-Finding in Randomly Growing Trees

We re-examine a lower-tail upper bound for the random variable X=∏_i=1^∞...
research
11/16/2018

Tail Probabilities for Randomized Program Runtimes via Martingales for Higher Moments

Programs with randomization constructs is an active research topic, espe...
research
03/19/2019

QuickSort: Improved right-tail asymptotics for the limiting distribution, and large deviations

We substantially refine asymptotic logarithmic upper bounds produced by ...
research
04/26/2022

Entropic Plots for Tail Type Classification

This article proposes a non-parametric tail classifier to aid tail class...

Please sign up or login with your details

Forgot password? Click here to reset