ReachNN: Reachability Analysis of Neural-Network Controlled Systems

Chao Huang, Jiameng Fan, Wenchao Li, Xin Chen, Qi Zhu
6/25/2019
eess.SYcs.LG

Official code: JmfanBU/ReachNNStar (17 stars, C++, last commit 2023-03-25).

Abstract

Applying neural networks as controllers in dynamical systems has shown great promises. However, it is critical yet challenging to verify the safety of such control systems with neural-network controllers in the loop.

Show full abstract

Previous methods for verifying neural network controlled systems are limited to a few specific activation functions. In this work, we propose a new reachability analysis approach based on Bernstein polynomials that can verify neural-network controlled systems with a more general form of activation functions, i.e., as long as they ensure that the neural networks are Lipschitz continuous. Specifically, we consider abstracting feedforward neural networks with Bernstein polynomials for a small subset of inputs. To quantify the error introduced by abstraction, we provide both theoretical error bound estimation based on the theory of Bernstein polynomials and more practical sampling based error bound estimation, following a tight Lipschitz constant estimation approach based on forward reachability analysis. Compared with previous methods, our approach addresses a much broader set of neural networks, including heterogeneous neural networks that contain multiple types of activation functions. Experiment results on a variety of benchmarks show the effectiveness of our approach.

View on arXivView PDF

Code Implementations(1)

Reachability Analysis Tool of Neural Network Controlled Systems (NNCSs)

174C++, PythonDec 5, 20193 years agoNOASSERTION
distillationknowledge-distillationneural-network-controlled-systemsneural-networksreachability-analysis+1 more

Similar Papers

Cite this paper

@article{huang2019reachnn,
  title  = {ReachNN: Reachability Analysis of Neural-Network Controlled Systems},
  author = {Chao Huang and Jiameng Fan and Wenchao Li and Xin Chen and Qi Zhu},
  year   = {2019},
  eprint = {1906.10654},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.10654}
}

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

Discussion