One-Shot Reachability Analysis of Neural Network Dynamical Systems

Shaoru Chen, Victor M. Preciado, Mahyar Fazlyab · DOI

Introduction

Verifying the safety of neural network-controlled robots often fails because error bounds grow too quickly when calculated step-by-step. This paper proves that "one-shot" analysis—verifying the entire unrolled trajectory at once—significantly reduces this over-conservatism for a large class of common verification tools, offering a formal guarantee of tighter safety bounds at the cost of higher computation.

The Challenge of Reachability Analysis

When deploying a neural network (NN) to control physical systems like autonomous vehicles or drones, formal safety guarantees are paramount. This is achieved through reachability analysis: determining the set of all possible future states a system might reach from a given initial set.

The standard approach is recursive: the current set of possible states is propagated through the NN to find the next set, and this process is repeated. However, this method suffers from "compounding errors." Because NN verification tools are inherently conservative, they produce slightly larger bounding boxes than necessary at each step. These small errors accumulate, leading to massive, uninformative bounds over long horizons.

Conceptual comparison of recursive vs. one-shot reachability analysis.

The authors investigate one-shot analysis as an alternative. Instead of step-by-step propagation, the entire multi-step trajectory is treated as a single, "unrolled" neural network and verified in one pass.

Methods and the Separability Property

The researchers formalize the concept of a Propagator—an abstract module representing any NN verification algorithm (e.g., those based on Linear Programming or Mixed-Integer Programming).

A central contribution is the definition of Separable Propagators. These are verification methods where constraints between different layers are independent. The paper proves (Theorem 1) that for any separable propagator, the one-shot framework is guaranteed to produce tighter (or equal) bounds than the recursive framework. The recursive method's failure is attributed to "concretization errors"—the loss of symbolic information when a relationship is simplified into a concrete geometric shape (like a box) at each step.

Experiments were conducted on simulated dynamical systems:

  • Rayleigh-Duffing Oscillator: A 2D nonlinear system used to demonstrate cases where one-shot analysis can be less effective if the propagator isn't "separable."
  • Cart-Pole System: A 4D robotics benchmark where a feedforward ReLU network approximates the closed-loop dynamics under a Model Predictive Controller (MPC).

Key Insights

  • The "Separability" Requirement: One-shot isn't universally better. With "forward linear bounds propagation," the one-shot approach can produce looser bounds. Identifying separability as the key mathematical property for guaranteed improvement is a major insight.
  • Concretization is the Enemy: Recursive methods lose information by "resetting" bounds at every step. One-shot analysis maintains symbolic relationships across the entire trajectory, allowing the verifier to exploit correlations between time steps.
Comparison of backward (a) and forward (b) bounds propagation showing the impact of separability.

Key Results

  • Massive Tightness Gains: In cart-pole experiments, recursive LP-based methods became useless after 8 steps. One-shot methods provided informative bounds for at least 30 steps.
  • Computational Cost: There is a clear trade-off. For the cart-pole system at 8 steps, the recursive method took 3.1 seconds, while one-shot took 161.3 seconds.
  • Theoretical Validation: Experiments confirmed Theorem 1; for backward propagation and LP methods, one-shot bounds were strictly contained within recursive bounds.

Limitations and Future Work

The primary limitation is scalability. Unrolling a network $T$ times increases the problem size by $T$, potentially making it computationally intractable for high-dimensional systems or long horizons. Additionally, the performance gap narrows as the bounding shapes (templates) become more complex. Future research into adaptive bounding polytopes could bridge the gap between recursive efficiency and one-shot tightness.

Summary updated

BibTeX
@inproceedings{chen2023one,
  author = {Shaoru Chen and Victor M. Preciado and Mahyar Fazlyab},
  title = {{One-Shot Reachability Analysis of Neural Network Dynamical Systems}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10160643},
}
Figure