Bounding Stochastic Safety: Leveraging Freedman's Inequality With Discrete-Time Control Barrier Functions

Ryan K. Cosner, Preston Culbertson, Aaron D. Ames

Introduction

In the field of robotics, ensuring safety is paramount, particularly when systems operate in uncertain or stochastic environments. Traditional safety frameworks often rely on robust control, which assumes the absolute worst-case disturbance will occur at every time step. While this guarantees safety, it often results in overly conservative behavior—robots moving too slowly or maintaining excessive distances from their targets.

Researchers at Caltech have proposed a significant refinement to this problem by shifting the focus toward stochastic safety. By modeling disturbances as probability distributions rather than worst-case constants, robots can achieve higher performance without sacrificing formal safety guarantees. The core contribution of this work is the application of Freedman’s inequality to Discrete-Time Control Barrier Functions (DTCBFs), providing tighter and more practical safety bounds than previous state-of-the-art methods.

The Problem: The "Ceiling" of Existing Methods

To prove that a system will remain within a "safe set" (e.g., not colliding with a wall), researchers often use martingale theory. Specifically, they treat the evolution of a safety function, $h(x)$, as a supermartingale—a stochastic process that, on average, does not increase over time.

Until now, the standard tool for bounding the probability of failure in these systems has been Ville’s inequality. However, Ville’s inequality carries a major mathematical restriction: it requires the safety function $h(x)$ to be upper-bounded. In practical robotics, safety is frequently measured using "signed distance" to an obstacle. Because a robot can be infinitely far away from an obstacle, the distance function is naturally unbounded. To use Ville’s inequality, engineers often have to employ mathematical workarounds that complicate the controller design and loosen the resulting safety bounds.

Methodology: Leveraging Freedman’s Inequality

The authors introduce a new framework that replaces Ville’s inequality with Freedman’s inequality. This shift offers several key advantages:

  1. Removing the Upper Bound: Unlike Ville’s, Freedman’s inequality does not require the safety function to be upper-bounded. This makes it directly compatible with geometric constraints like signed distance.
  2. Predictable Quadratic Variation (PQV): Freedman’s inequality utilizes the PQV, which is essentially a running measure of the variance and uncertainty accumulated by the system. By accounting for the variance ($\sigma^2$) of a disturbance rather than just its maximum possible value ($d_{max}$), the controller can be more "braver" when noise is well-behaved.
  3. Theorem 3 (K-Step Exit Probability): The paper’s central theoretical contribution is a theorem that calculates the probability of a robot failing within a specific timeframe ($K$ steps). This calculation is based on the system's dynamics and the specific noise distribution's variance, allowing for a more nuanced risk profile.

Experimental Validation

The researchers validated their Freedman-based approach through two primary simulations:

1D Stochastic System

Using a simple 1D integrator, the authors compared Freedman bounds against Ville’s inequality and Input-to-State Safety (ISSf) across different noise types, including Uniform, Truncated Gaussian, and Categorical distributions. The results demonstrated that the Freedman bound is strictly tighter (more accurate) than traditional Ville-based bounds across a wide range of system parameters.

Bipedal Robot Navigation

The framework was also tested on a complex model of a bipedal walking robot (the HLIP model) navigating around a circular obstacle. In this scenario, the safety function was the signed distance to the obstacle. In a study of 5,000 trials, the Freedman bound successfully predicted the upper limit of failures. While worst-case approximations suggested the robot might fail almost immediately, the Freedman bound provided a realistic and useful estimate of the actual risk.

Key Insights and Results

  • Theoretical Superiority: The authors proved that their method provides strictly tighter bounds than previous methods in many common robotics scenarios.
  • Numerical Tightness: In simulations, the Freedman bound was significantly less conservative than ISSf bounds, which often over-estimate failure risks by several orders of magnitude.
  • Smooth Degradation: The safety bounds produced by this method degrade gracefully as uncertainty increases, providing a clear "risk profile" for a trajectory rather than a binary safe/unsafe determination.

Limitations and Future Work

While this research represents a major step forward, some challenges remain. The theoretical bounds, though tighter than before, are still conservative compared to empirical results from Monte Carlo simulations. Additionally, the current method requires an accurate estimate or bound of the noise variance, which might be difficult to obtain in unknown environments without real-time learning.

Future work will focus on automatically optimizing the barrier function $h$ to achieve even tighter safety probabilities and implementing these risk-aware controllers on physical robotic hardware to test their performance in the real world.

Summary updated

BibTeX
@article{cosner2024bounding,
  author = {Ryan K. Cosner and Preston Culbertson and Aaron D. Ames},
  title = {{Bounding Stochastic Safety: Leveraging Freedman's Inequality With Discrete-Time Control Barrier Functions}},
  journal = {IEEE Control. Syst. Lett.},
  year = {2024},
  doi = {10.1109/lcsys.2024.3409105},
}
Figure