Safety Filters for Black-Box Dynamical Systems by Learning Discriminating Hyperplanes

Will Lavanakul, Jason J. Choi, Koushil Sreenath, Claire J. Tomlin
2/7/2024
cs.LG

No official code found. Best implementation: HJReachability/discriminating-hyperplane (13 stars, last commit 2024-02-07).

Abstract

Learning-based approaches are emerging as an effective approach for safety filters for black-box dynamical systems. Existing methods have relied on certificate functions like Control Barrier Functions (CBFs) and Hamilton-Jacobi (HJ) reachability value functions. The primary motivation for our work is the recognition that ultimately, enforcing the safety constraint as a control input constraint at each state is what matters. By focusing on this constraint, we can eliminate dependence on any specific certificate function-based design. To achieve this, we define a discriminating hyperplane that shapes the half-space constraint on control input at each state, serving as a sufficient condition for safety. This concept not only generalizes over traditional safety methods but also simplifies safety filter design by eliminating dependence on specific certificate functions. We present two strategies to learn the discriminating hyperplane: (a) a supervised learning approach, using pre-verified control invariant sets for labeling, and (b) a reinforcement learning (RL) approach, which does not require such labels. The main advantage of our method, unlike conventional safe RL approaches, is the separation of performance and safety. This offers a reusable safety filter for learning new tasks, avoiding the need to retrain from scratch. As such, we believe that the new notion of the discriminating hyperplane offers a more generalizable direction towards designing safety filters, encompassing and extending existing certificate-function-based or safe RL methodologies.

View on arXivView PDF

Code Implementations(1)

Source code of "Safety Filters for Black-Box Dynamical Systems by Learning Discriminating Hyperplanes"

132Python, Jupyter NotebookFeb 6, 20242 years ago

Similar Papers

Cite this paper

@article{lavanakul2024safety,
  title  = {Safety Filters for Black-Box Dynamical Systems by Learning Discriminating Hyperplanes},
  author = {Will Lavanakul and Jason J. Choi and Koushil Sreenath and Claire J. Tomlin},
  year   = {2024},
  eprint = {2402.05279},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.05279v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.05279.svg)](https://codeofpaper.com/paper/2402.05279)

Discussion