Abstract
Ensuring safety in stochastic, nonlinear systems is a fundamental challenge in robotics. This paper introduces a novel framework to jointly design a safety "shield"—a stochastic Control Barrier Function (s-CBF)—and a corresponding controller for discrete-time nonlinear systems with additive noise. By partitioning the state space into piecewise constant regions and leveraging Lagrangian duality, the authors transform a complex non-convex optimization problem into a standard linear program. This approach provides exact solutions with formal safety guarantees, validated across various benchmarks including a 4D nonlinear unicycle model.
Introduction
In safety-critical applications such as autonomous driving or medical robotics, formal guarantees against entering unsafe states are essential. Control Barrier Functions (CBFs) serve as mathematical boundaries to maintain system safety. However, applying CBFs to real-world systems faces two primary hurdles: handling inherent stochasticity and solving the "chicken and egg" problem of joint controller and barrier synthesis. Traditionally, these are treated separately or result in intractable non-convex optimization. This work addresses these challenges by proposing a joint synthesis framework that provides formal safety probabilities.
Methodology
The proposed framework relies on three key technical innovations:
- Piecewise Constant (PWC) s-CBFs: Instead of searching for complex smooth functions, the state space is discretized into a grid of hyper-rectangles. The barrier function is defined as a constant value within each cell, allowing for high expressivity in approximating optimal safety boundaries.
- Interval Bound Propagation (IBP): To manage nonlinear dynamics and noise, IBP is used to construct linear upper and lower bounds for transition probabilities between cells.
- Lossless Convexification via Dual LP: The joint synthesis is initially formulated as a minimax problem. The authors utilize Lagrangian duality to demonstrate a zero duality gap, enabling the transformation of the problem into a single, large-scale Linear Program (LP). This ensures that the global optimum for a given partition can be found efficiently using standard solvers.
Experimental Results
The method was evaluated on four benchmarks: a 2D linear system with convex and non-convex safe sets, a 3D polynomial room temperature model, and a 4D nonlinear unicycle model.
The synthesis successfully produced controllers meeting a 95% safety probability threshold. For 2D systems, the process took under 4 seconds. The more complex 4D unicycle model, involving 2,400 partitions, was solved in approximately one hour. Monte Carlo simulations with 500 trials validated the theoretical bounds, often achieving 99-100% empirical safety, confirming the robustness of the synthesized certificates.
Discussion and Future Work
While the PWC approach is powerful and provides exact solutions, it faces the "curse of dimensionality" as state dimensions increase. Future research will focus on adaptive partitioning to refine the grid only where safety constraints are tight, and exploring gradient-based optimization to enhance scalability for higher-dimensional robotic systems.
Summary updated