Tail Bound Analysis for Probabilistic Programs via Central Moments

01/28/2020
by   Di Wang, et al.
0

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 higher moments is more challenging. This paper presents an analysis for probabilistic programs that automatically derives symbolic over- and under-approximations for variances, as well as higher central moments. 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. The analysis is proved sound with respect to a trace-based, small-step model that maps programs to Markov chains. A key innovation is the notion of semantic optional stopping, and a generalization of the classical optional-stopping theorem. The analysis has been implemented using a template-based technique that reduces the inference of polynomial approximations to linear programming. Experiments with our prototype central-moment analyzer show that, despite the analyzer's over-/under-approximations of various quantities, it obtains tighter tail bounds than a prior system that uses only raw moments, such as expectations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/14/2022

This is the Moment for Probabilistic Loops

We present a novel static analysis technique to derive higher moments fo...
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
07/18/2019

Bounds on Spreads of Matrices related to Fourth Central Moment. II

We derive some inequalities involving first four central moments of disc...
research
08/18/2020

Moment Multicalibration for Uncertainty Estimation

We show how to achieve the notion of "multicalibration" from Hébert-John...
research
04/20/2020

Generalization Error Bounds via mth Central Moments of the Information Density

We present a general approach to deriving bounds on the generalization e...
research
05/24/2023

Automated Sensitivity Analysis for Probabilistic Loops

We present an exact approach to analyze and quantify the sensitivity of ...
research
01/29/2020

Geometrical bounds for the variance and recentered moments

We bound the variance and other moments of a random vector based on the ...

Please sign up or login with your details

Forgot password? Click here to reset