Constrained Feedforward Neural Network Training via Reachability Analysis

Long Kiu Chung, Adam Dai, Derek Knowles, Shreyas Kousik, Grace X. Gao
7/16/2021
cs.LGcs.AIcs.RO

Official code: Stanford-NavLab/constrained-nn-training (3 stars, Jupyter Notebook, MIT, last commit 2022-12-28).

Abstract

Neural networks have recently become popular for a wide variety of uses, but have seen limited application in safety-critical domains such as robotics near and around humans. This is because it remains an open challenge to train a neural network to obey safety constraints.

Show full abstract

Most existing safety-related methods only seek to verify that already-trained networks obey constraints, requiring alternating training and verification. Instead, this work proposes a constrained method to simultaneously train and verify a feedforward neural network with rectified linear unit (ReLU) nonlinearities. Constraints are enforced by computing the network's output-space reachable set and ensuring that it does not intersect with unsafe sets; training is achieved by formulating a novel collision-check loss function between the reachable set and unsafe portions of the output space. The reachable and unsafe sets are represented by constrained zonotopes, a convex polytope representation that enables differentiable collision checking. The proposed method is demonstrated successfully on a network with one nonlinearity layer and approximately 50 parameters.

View on arXivView PDF

Code Implementations(1)

MIT
30Jupyter Notebook, PythonJul 14, 20213 years agoMIT

Similar Papers

Cite this paper

@article{chung2021constrained,
  title  = {Constrained Feedforward Neural Network Training via Reachability Analysis},
  author = {Long Kiu Chung and Adam Dai and Derek Knowles and Shreyas Kousik and Grace X. Gao},
  year   = {2021},
  eprint = {2107.07696},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.07696}
}

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

Discussion