Learning Control Barrier Functions from Expert Demonstrations

Alexander Robey, Haimin Hu, Lars Lindemann, Hanwen Zhang, Dimos V. Dimarogonas +2 more
4/7/2020
eess.SYcs.LGmath.OC

Official code: unstable-zeros/learning-cbfs (75 stars, Jupyter Notebook, last commit 2023-08-13).

Abstract

Inspired by the success of imitation and inverse reinforcement learning in replicating expert behavior through optimal control, we propose a learning based approach to safe controller synthesis based on control barrier functions (CBFs). We consider the setting of a known nonlinear control affine dynamical system and assume that we have access to safe trajectories generated by an expert - a practical example of such a setting would be a kinematic model of a self-driving vehicle with safe trajectories (e.g., trajectories that avoid collisions with obstacles in the environment) generated by a human driver.

Show full abstract

We then propose and analyze an optimization-based approach to learning a CBF that enjoys provable safety guarantees under suitable Lipschitz smoothness assumptions on the underlying dynamical system. A strength of our approach is that it is agnostic to the parameterization used to represent the CBF, assuming only that the Lipschitz constant of such functions can be efficiently bounded. Furthermore, if the CBF parameterization is convex, then under mild assumptions, so is our learning process. We end with extensive numerical evaluations of our results on both planar and realistic examples, using both random feature and deep neural network parameterizations of the CBF. To the best of our knowledge, these are the first results that learn provably safe control barrier functions from data.

View on arXivView PDF

Code Implementations(1)

Code needed to reproduce the examples found in "Learning Control Barrier Functions from Expert Demonstrations," by A. Robey, H. Hu, L. Lindemann, H. Zhang, D. V. Dimarogonas, S. Tu, and N. Matni, https://arxiv.org/abs/2004.03315

7520Jupyter Notebook, PythonMay 12, 20203 years ago

Similar Papers

Cite this paper

@article{robey2020learning,
  title  = {Learning Control Barrier Functions from Expert Demonstrations},
  author = {Alexander Robey and Haimin Hu and Lars Lindemann and Hanwen Zhang and Dimos V. Dimarogonas and Stephen Tu and Nikolai Matni},
  year   = {2020},
  eprint = {2004.03315},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.03315}
}

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/2004.03315.svg)](https://codeofpaper.com/paper/2004.03315)

Discussion