Abstract
This paper establishes a formal connection between Barrier Certificates and Dynamic Programming (DP) to enhance the verification of safety in stochastic systems. By reinterpreting barrier conditions as bounds on DP operators, the authors introduce two novel certificate types: Dynamic-Programming-based Safety Barrier Certificates (DSBC) and Reach-Avoid Barrier Certificates (RABC). These frameworks provide significantly tighter probability bounds for safety and reach-avoid tasks compared to traditional martingale-based methods, effectively reducing the conservatism inherent in existing verification techniques.
Introduction
Ensuring the safety of Cyber-Physical Systems (CPS)—such as autonomous vehicles, robotics, and smart grids—is a critical challenge due to their inherent stochasticity. A fundamental question in this domain is determining the probability that a system remains within a designated safe region over a specific time horizon.
Historically, two primary approaches have been used to address this:
- Dynamic Programming (DP): While DP can provide exact safety probabilities, it is often computationally intractable for high-dimensional systems due to the "curse of dimensionality."
- Barrier Certificates: These are Lyapunov-like functions that provide mathematical guarantees on safety without requiring exhaustive simulations. However, standard barrier certificates (typically based on $c$-martingales) are often overly conservative, frequently overestimating the risk of failure or failing to find a valid certificate even when the system is safe.
This research bridges the gap between these two methods, utilizing the theoretical strengths of DP to refine the application of Barrier Certificates.
Methodology
The core innovation of this work is the realization that the conditions used to derive barrier certificates are essentially functional approximations of the Bellman operator used in DP.
DSBC: Dynamic-Programming-based Safety Barrier Certificate
Traditional safety verification methods often require a specific decay parameter ($\gamma$) to be non-negative, which significantly restricts the search space for valid certificates. By adopting a DP perspective, the authors demonstrate that this constraint is redundant. Because the DP operator is monotonic, safety can be guaranteed throughout a time horizon simply by checking constraints at the initial and terminal states. This relaxation allows for the discovery of valid certificates in scenarios where traditional methods fail.
RABC: Reach-Avoid Barrier Certificate
The authors extend this logic to "reach-avoid" specifications, which require a system to reach a target goal while avoiding unsafe regions. Unlike standard safety verification (which seeks an upper bound on failure), reach-avoid verification requires a lower bound on success. The DP framework allows the authors to "flip" the operator logic to derive these success guarantees rigorously.
Implementation via Sum-of-Squares (SOS)
To make the search for these certificates computationally efficient, the authors formulate the problem as a Sum-of-Squares (SOS) program. This transforms the search for complex polynomial functions into a convex optimization problem, which can be solved using standard numerical toolboxes.
Experimental Results
The proposed methods were evaluated using two numerical benchmarks common in control theory:
- Example 1 (Uniform Noise): In a 1D discrete-time system, the DSBC method successfully identified valid safety bounds across a wide range of parameters where traditional Martingale-based (MSBC) and Switch-system-based (SSBC) methods were unable to find any solution.
- Example 2 (Gaussian Noise): For safety verification over a 20-step horizon, the DSBC provided a much tighter upper bound on the probability of entering an unsafe state (0.5896) compared to the traditional MSBC, which yielded looser bounds ranging from 0.5903 to 0.7428.
- Reach-Avoid Performance: In reach-avoid tests, the RABC consistently outperformed existing state-of-the-art methods. Using a polynomial of degree 14, the RABC achieved a success probability lower bound of 0.6080, whereas previous methods reached only 0.5732.
Discussion and Future Work
By framing barrier certificates through the lens of Dynamic Programming, this research significantly reduces the conservatism of stochastic safety verification. The primary advantage lies in the expanded search space for certificates and the ability to provide "sandwich" estimates (both upper and lower bounds) for safety probabilities.
Despite these advances, challenges remain regarding computational complexity as the state dimension and polynomial degrees increase. Future research directions include extending this DP perspective to more complex Linear Temporal Logic (LTL) specifications and moving from system verification to controller synthesis—designing controllers that are guaranteed safe by construction.
Summary updated