English

Tail Probabilities for Randomized Program Runtimes via Martingales for Higher Moments

Logic in Computer Science 2019-02-18 v2

Abstract

Programs with randomization constructs is an active research topic, especially after the recent introduction of martingale-based analysis methods for their termination and runtimes. Unlike most of the existing works that focus on proving almost-sure termination or estimating the expected runtime, in this work we study the tail probabilities of runtimes-such as "the execution takes more than 100 steps with probability at most 1%." To this goal, we devise a theory of supermartingales that overapproximate higher moments of runtime. These higher moments, combined with a suitable concentration inequality, yield useful upper bounds of tail probabilities. Moreover, our vector-valued formulation enables automated template-based synthesis of those supermartingales. Our experiments suggest the method's practical use.

Cite

@article{arxiv.1811.06779,
  title  = {Tail Probabilities for Randomized Program Runtimes via Martingales for Higher Moments},
  author = {Satoshi Kura and Natsuki Urabe and Ichiro Hasuo},
  journal= {arXiv preprint arXiv:1811.06779},
  year   = {2019}
}

Comments

38 pages

R2 v1 2026-06-23T05:18:03.172Z