Safety Barrier Certificates for Stochastic Hybrid Systems

Abolfazl Lavaei, Sadegh Soudjani, Emilio Frazzoli

Abstract

Ensuring the safety of complex, safety-critical systems—such as autonomous vehicles and power grids—requires rigorous mathematical verification. These systems are often modeled as Stochastic Hybrid Systems (SHSs), which incorporate continuous dynamics, discrete switching, and random noise. Traditional verification methods rely on state-space discretization, which suffers from the "curse of dimensionality." This paper presents a discretization-free approach using Augmented Control Barrier Certificates (ACBC). By introducing an augmented state variable to track jump timing and employing Sum-of-Squares (SOS) optimization, the proposed framework provides formal safety guarantees and quantifiable risk bounds for high-dimensional, nonlinear stochastic systems.

Introduction

Modern infrastructure and autonomous technologies increasingly rely on Stochastic Hybrid Systems (SHSs). These systems are characterized by "hybrid" dynamics—where continuous physical evolution is interrupted by discrete events—and "stochastic" elements, such as Brownian motion (representing environmental noise) or Poisson processes (representing sudden failures or jumps).

Verifying the safety of SHSs is notoriously difficult. The standard approach involves creating a discrete abstraction of the system, essentially slicing the state space into a grid. However, as the number of variables increases, the number of grid cells grows exponentially, making the problem computationally intractable for complex systems. This paper addresses this challenge by proposing a method that operates directly on the continuous equations of the system, bypassing discretization entirely.

Methodology

The authors' approach centers on bridging the gap between continuous flows and discrete jumps through three primary innovations:

1. Augmented Stochastic Hybrid Systems (ASHS)

To handle the "jumpy" nature of hybrid systems within a continuous-time framework, the authors introduce an augmented variable, $z$. This variable acts as a counter that tracks the time elapsed since the last discrete jump. By incorporating $z$ into the state space, the system is transformed into an Augmented Stochastic Hybrid System (ASHS). This mathematical "trick" allows the use of continuous-time analysis tools to evaluate systems that would otherwise require separate treatment for discrete and continuous phases.

2. Augmented Control Barrier Certificates (ACBC)

The core of the safety proof lies in the Barrier Certificate. Similar to a Lyapunov function used for stability, a Barrier Certificate acts as a "safety shield." If a function can be found that satisfies specific inequalities—remaining below a threshold in safe regions and exceeding it in unsafe regions—the system is mathematically guaranteed to remain safe. The ACBC extends this concept to the augmented state space, providing a robust mechanism for safety verification in the presence of noise and jumps.

3. Sum-of-Squares (SOS) Optimization

Finding the appropriate barrier function is a complex search problem. The authors translate the safety conditions into a set of polynomial inequalities. These are then solved using Sum-of-Squares (SOS) optimization, which converts the problem into a semi-definite program (SDP). This allows for the automated synthesis of both the safety controller and the certificate itself.

Key Insights and Results

Quantifiable Risk Bounds

One of the most significant contributions of this framework is its ability to provide a concrete upper bound on the probability of failure. Rather than a simple binary "safe" or "unsafe" result, the framework yields a formal theorem (Theorem 3.3) that calculates the maximum probability that the system will enter an unsafe region within a defined time horizon.

Numerical Validation

The method was tested on a synthetic nonlinear case study involving Brownian motion and Poisson processes. The authors successfully synthesized a 4th-order polynomial barrier certificate for the system. Key performance metrics included:

  • Safety Performance: The system achieved a calculated safety probability of approximately 94.4% over a 10-second horizon (equivalent to 100 time steps).
  • Computational Efficiency: The entire process—synthesizing the controller and the certificate—took approximately 30 seconds on a standard desktop computer. This suggests that the method is highly scalable compared to grid-based abstractions.

Discussion and Future Work

While the ACBC framework offers a powerful alternative to discretization, it is not without limitations. The use of polynomial approximations can be "conservative," meaning the framework might overestimate the risk of failure and produce overly cautious control strategies. Additionally, the user must currently pre-select the degree of the polynomial, a process that often requires trial and error.

Future research will focus on reducing this conservatism and extending the method to "mega-systems," such as national-scale power grids. The authors suggest that a compositional approach—breaking large systems into smaller, interconnected subsystems that each carry their own barrier certificates—is the most promising path forward for managing extreme complexity.

Summary updated

BibTeX
@inproceedings{lavaei2022safety,
  author = {Abolfazl Lavaei and Sadegh Soudjani and Emilio Frazzoli},
  title = {{Safety Barrier Certificates for Stochastic Hybrid Systems}},
  booktitle = {ACC},
  year = {2022},
  url = {https://openreview.net/forum?id=Qnm2C9l2fH},
}
Figure