Verification and Synthesis of Robust Control Barrier Functions: Multilevel Polynomial Optimization and Semidefinite Relaxation

Shucheng Kang, Yuxiao Chen, Heng Yang, Marco Pavone

Introduction

In the deployment of autonomous systems, such as unmanned aerial vehicles or self-driving cars, ensuring safety is paramount. Mathematically, safety is often defined as the invariance of a "safe set"—ensuring that if a system starts within a designated region of its state space, it never leaves it. Control Barrier Functions (CBFs) have emerged as a powerful tool for enforcing these safety constraints. However, two fundamental challenges persist: Verification (proving a given CBF is valid across all states and uncertainties) and Synthesis (finding a valid CBF for a specific system).

This paper introduces a mathematically rigorous framework that addresses these challenges by transforming them into structured polynomial optimization problems. By leveraging Karush–Kuhn–Tucker (KKT) conditions and semidefinite programming (SDP) relaxations, the authors provide a path toward safety certificates with asymptotic global convergence guarantees.

The Challenges of Robust Safety

Traditional methods for CBF verification and synthesis often rely on Sum-of-Squares (SOS) programming. While effective in some scenarios, SOS-based approaches face significant hurdles:

  1. Dynamics Uncertainty: Proving safety becomes exponentially more difficult when the system's model is imperfect or subject to environmental noise.
  2. Convex Control Constraints: Many existing techniques struggle to incorporate general control constraints effectively.
  3. Local Optima: Synthesis often involves "alternating" algorithms that are prone to getting stuck in local optima. This means a search might fail to find a safety certificate even when a valid one exists.

Methodology: Multilevel Polynomial Optimization

The authors propose treating verification and synthesis as Multilevel Polynomial Optimization Problems (POP). The complexity of these problems typically arises from the nested nature of the requirements: one must find a control input that ensures safety for all possible uncertainties across all states in the safe set.

The KKT Shortcut

The core innovation of this work is the use of Karush–Kuhn–Tucker (KKT) optimality conditions to "collapse" the inner layers of the optimization hierarchy. By explicitly introducing dual variables from the KKT conditions, the authors bridge the gap between non-smooth optimal control (such as Bang-Bang control) and smooth polynomial optimization. Under the assumption of convex control constraints and bounded uncertainty, the optimizations over control and uncertainty can be eliminated in closed form. This reduction transforms the verification problem into a single-level POP and the synthesis problem into a min-max POP.

Semidefinite Relaxations

To solve these simplified problems, the framework employs Lasserre’s hierarchy of moment relaxations. For the synthesis of CBFs, a two-stage approach is utilized:

  1. Lower Bounding: SOS programming is used to find polynomial lower bounds for the "value function" of the safety problem.
  2. Maximization: These bounds are then maximized to identify the optimal parameters for the CBF.

Unlike heuristic searches, this SDP relaxation approach guarantees asymptotic global convergence. As the relaxation order increases, the method is mathematically guaranteed to find a valid CBF if one exists within the defined parameter space.

Experimental Validation: The Van der Pol Oscillator

The framework was evaluated using the Controlled Van der Pol Oscillator, a classic non-linear benchmark in control theory. The authors tested both a "clean" version and an "uncertain" version with additive noise to evaluate the robustness of the synthesized certificates.

Key Results

  • Validation against SOTA: The algorithm successfully reproduced known circular CBFs for the standard Van der Pol system.
  • The "Witness" Effect: A significant advantage over traditional SOS methods is the recovery of a "witness." If a CBF candidate is found to be invalid, the verification step identifies a specific state $x^*$ where the safety condition fails. This provides actionable data for debugging and refining control laws, whereas traditional methods often return a simple "infeasible" result.
  • Robust Synthesis: For the uncertain system, the authors successfully synthesized elliptical robust CBFs. They demonstrated that increasing the degree of the polynomial approximation ($\nu$) significantly expands the set of certifiable safe parameters, leading to more permissive yet strictly safe control strategies.
  • Tightness: By splitting the parameter search space into sub-intervals, the researchers achieved "perfectly tight" lower bounds on the safety value function, ensuring the high fidelity of the certificates.

Conclusion and Future Work

This research provides a robust theoretical foundation for safety-critical control. By framing CBF synthesis as a multilevel polynomial optimization problem, the authors move beyond the limitations of local search heuristics toward global optimality.

However, a primary limitation remains the "curse of dimensionality." The computational cost of solving large-scale Semidefinite Programs currently limits this approach to relatively low-dimensional systems. Future research will focus on scaling these methods and exploring the composition of multiple robust CBFs to handle complex environments with numerous obstacles.

Summary updated

BibTeX
@inproceedings{kang2023verification,
  author = {Shucheng Kang and Yuxiao Chen and Heng Yang and Marco Pavone},
  title = {{Verification and Synthesis of Robust Control Barrier Functions: Multilevel Polynomial Optimization and Semidefinite Relaxation}},
  booktitle = {CDC},
  year = {2023},
  doi = {10.1109/cdc49753.2023.10383434},
}
Figure