Unsafe Probabilities and Risk Contours for Stochastic Processes using Convex Optimization
Jared Miller, Matteo Tacchi, Didier Henrion, Mario Sznaier
TL;DR
The paper tackles certifiable risk analysis for stochastic trajectories by formulating the worst-case probability of entering an unsafe set $X_u$ as an infinite-dimensional convex LP in occupation measures and a dual continuous-function program. It then shows that, under compactness and regularity, these relaxations are nonconservative and converge to the true risk map via the moment-SOS hierarchy, with strong duality linking the measure and function formulations. A novel risk-contour framework is introduced by modifying the objective to obtain upper bounds on $P^*(t_0,x_0)$ that converge in $L_1$ to the true risk, providing interpretable visualizations for test initial conditions. The approach yields tractable SDP relaxations and is demonstrated on polynomial dynamics, including a 2D cubic SDE and a discrete-time example, highlighting practical computability for stochastic safety verification and trajectory planning.
Abstract
This paper proposes an algorithm to calculate the maximal probability of unsafety with respect to trajectories of a stochastic process and a hazard set. The unsafe probability estimation problem is cast as a primal-dual pair of infinite-dimensional linear programs in occupation measures and continuous functions. This convex relaxation is nonconservative (to the true probability of unsafety) under compactness and regularity conditions in dynamics. The continuous-function linear program is linked to existing probability-certifying barrier certificates of safety. Risk contours for initial conditions of the stochastic process may be generated by suitably modifying the objective of the continuous-function program, forming an interpretable and visual representation of stochastic safety for test initial conditions. All infinite-dimensional linear programs are truncated to finite dimension by the Moment-Sum-of-Squares hierarchy of semidefinite programs. Unsafe-probability estimation and risk contours are generated for example stochastic processes.
