Safe Control with Neural Network Dynamic Models

Tianhao Wei, Changliu Liu
10/3/2021
cs.ROcs.LGeess.SY

Official code: intelligent-control-lab/NNDM-safe-control (5 stars, Jupyter Notebook, last commit 2022-04-05).

Abstract

Safety is critical in autonomous robotic systems. A safe control law ensures forward invariance of a safe set (a subset in the state space).

Show full abstract

It has been extensively studied regarding how to derive a safe control law with a control-affine analytical dynamic model. However, in complex environments and tasks, it is challenging and time-consuming to obtain a principled analytical model of the system. In these situations, data-driven learning is extensively used and the learned models are encoded in neural networks. How to formally derive a safe control law with Neural Network Dynamic Models (NNDM) remains unclear due to the lack of computationally tractable methods to deal with these black-box functions. In fact, even finding the control that minimizes an objective for NNDM without any safety constraint is still challenging. In this work, we propose MIND-SIS (Mixed Integer for Neural network Dynamic model with Safety Index Synthesis), the first method to derive safe control laws for NNDM. The method includes two parts: 1) SIS: an algorithm for the offline synthesis of the safety index (also called as barrier function), which uses evolutionary methods and 2) MIND: an algorithm for online computation of the optimal and safe control signal, which solves a constrained optimization using a computationally efficient encoding of neural networks. It has been theoretically proved that MIND-SIS guarantees forward invariance and finite convergence. And it has been numerically validated that MIND-SIS achieves safe and optimal control of NNDM. From our experiments, the optimality gap is less than $10^{-8}$, and the safety constraint violation is $0$.

View on arXivView PDF

Code Implementations(1)

51Jupyter Notebook, PythonMar 30, 20224 years ago

Similar Papers

Cite this paper

@article{wei2021safe,
  title  = {Safe Control with Neural Network Dynamic Models},
  author = {Tianhao Wei and Changliu Liu},
  year   = {2021},
  eprint = {2110.01110},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.01110}
}

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

Discussion