In robotics, safety is traditionally viewed as a binary state: a system is either safe or it isn't. However, real-world environments are inherently stochastic. Factors like sensor noise, slippery surfaces, and unpredictable external forces mean that absolute safety guarantees are often impossible, especially when disturbances are theoretically unbounded (e.g., Gaussian noise).
Researchers from Caltech and Tufts University address this in their paper, "Probabilistic Control Barrier Functions: Safety in Probability for Discrete-Time Stochastic Systems." They propose a pragmatic shift: designing controllers that guarantee safety with a high, user-defined probability rather than demanding 100% certainty.
The PCBF Framework
The core contribution is the Probabilistic Control Barrier Function (PCBF). While traditional Control Barrier Functions (CBFs) act as safety filters for deterministic systems with bounded disturbances, they fail when faced with stochastic noise. A $\delta$-probabilistic CBF ensures that the probability of remaining in a safe set at the next time step is at least $1-\delta$. By maintaining this condition at every step, the framework guarantees safety over a finite time horizon $H$ with a probability of at least $(1-\delta)^H$.
Verification Strategies
Because the exact distribution of environmental noise is rarely known, the authors provide four computationally efficient methods to verify these functions using different types of information:
- Moment-Based (Markov & Cantelli): These use the mean and variance of disturbances to create safety constraints via classical probability inequalities.
- Data-Based (Hoeffding): This approach uses a dataset of noise samples to bound failure probability with a specific confidence level.
- Scenario Approach: A distribution-free method that ensures safety against $N$ previously observed noise "scenarios," providing statistical guarantees for future unseen noise.
Importantly, these conditions can be formulated as convex optimization problems, such as Quadratic Programs (QPs), allowing them to run in real-time on robotic hardware.
Experimental Validation
The researchers validated their approach through both high-fidelity simulations and hardware experiments.
Simulation: Quadruped in a Corridor
In simulations of a quadruped traversing a narrow corridor with Gaussian side-winds, all four PCBF methods significantly outperformed a "no filter" baseline. While the theoretical safety bounds were conservative, the empirical safety rates often approached 100%, demonstrating the robustness of the probabilistic constraints.
Hardware: The Slippery Ramp
To test the framework in a truly challenging environment, the team used a Unitree GO2 quadruped. They collected 5,000 rollout steps of the robot navigating a 3-meter-long, laterally slanted wooden ramp covered in slippery plates.
While a standard CBF (ignoring noise) consistently failed as the robot slid out of the safe zone, the Hoeffding-based PCBF succeeded in 4 out of 5 trials, effectively accounting for the stochastic slips.
Key Results and Insights
- Efficiency: Most methods (Markov, Cantelli, Hoeffding) are extremely fast, requiring only 3.5 to 3.9 milliseconds of computation per step. The Scenario approach is more computationally intensive (~80ms) due to the higher number of constraints.
- The Safety-Feasibility Trade-off: There is a limit to how much safety can be guaranteed. If the required probability of safety is too high, the optimization problem may become infeasible because the robot's physical actuators cannot overcome the potential noise.
- Robustness through Moments: A key insight is that knowing just the first two moments (mean and variance) of a disturbance is often sufficient to provide a rigorous and practical safety bound.
Future Directions
While PCBFs provide a powerful tool for stochastic safety, the authors note that the current bounds (like Hoeffding) are "universal" and thus can be conservative. Future work will focus on tighter bounds for specific noise profiles and integrating PCBFs with real-time perception and state estimation systems, where uncertainty is explicitly modeled by the navigation stack.
Summary updated