NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Reachability Method for Verifying Dynamical Systems with Deep Neural Network Controllers

Kyle D. Julian, Mykel J. KochenderferarXiv 2019

Researchers at Stanford University have developed a robust framework to ensure that deep neural network (DNN) controllers behave safely when managing physical systems over time. By combining formal neural network verification with reachability analysis, the authors provide a mathematical guarantee that a system—such as an aircraft or an autonomous vehicle—will remain within safe boundaries, even when subjected to noise or human response delays.

The Challenge of Verifying Neural Controllers

Deep Neural Networks are exceptional at learning complex control policies, but their "black box" nature makes them difficult to deploy in safety-critical applications like aviation. The primary challenge lies in the feedback loop: a DNN provides an action based on the current state, which changes the state, which then becomes the next input for the DNN.

While traditional verification tools can check a DNN's output for a single input, they struggle to guarantee safety over an entire trajectory. This research bridges that gap by calculating the "reachable set"—the envelope of all possible future positions the system could occupy over multiple time steps.

Proposed Reachability Framework

The authors propose a reachability algorithm that treats the neural network and the system dynamics as separate components through a four-step process:

  1. State Space Discretization: The environment is divided into small hyper-rectangular "cells."
  2. Neural Network Over-approximation: For each cell, formal verification tools like Reluplex or ReluVal identify the set of all possible actions the DNN might take for any point inside that cell.
  3. Dynamics Bounding: These possible actions are passed through the system's physical equations to determine the potential state in the next time step.
  4. Iterative Reachability: This process is repeated to build a map of reachable states over time. If this map never overlaps with a defined "failure zone," the controller is proven safe.
Figure 4: The evolution of the reachable set over time for the Mountain Car benchmark, showing how the system's state envelope changes as it progresses toward the goal.

A key advantage of this approach is its modularity; it can handle non-linear dynamics by bounding them with convex polygons and works with various DNN architectures.

Experimental Evaluation

The method was evaluated on two complex control benchmarks: Mountain Car (a standard reinforcement learning problem) and VerticalCAS (a neural-network-compressed version of the ACAS X aircraft collision avoidance system).

In the Mountain Car scenario, the method proved the car would reach its goal from any starting position, even with random disturbances up to a magnitude of $w = 0.25$. For VerticalCAS, the researchers successfully verified a system with 3.65 million discrete cells. While the Mountain Car verification was rapid, the aircraft example required 175 CPU-hours, highlighting the computational intensity of formal verification at scale.

Figure 6: Comparison of the maximum steps required to reach the goal. Reachability analysis provides a formal upper bound that accounts for worst-case disturbances, whereas Monte Carlo (MC) simulations may underestimate the required steps.

Key Insights and Scalability

  • Separation of Concerns: Analyzing the DNN and dynamics separately allows the framework to handle complex, discrete actions and non-linear physics that often break "all-in-one" verification tools.
  • Discretization Trade-offs: The density of the grid is critical. Refining the grid in high-stakes areas (e.g., near collision points) is essential to reduce over-approximation error without making the computation intractable.
  • Modeling the Human: The paper uniquely accounts for pilot delay, demonstrating how a safe controller can become unsafe if a human takes several seconds to react, and how "online costs" can be used to restore safety guarantees.

Limitations and Future Work

Despite its success, the method faces the "curse of dimensionality." As state variables increase, the number of cells grows exponentially. Future research will focus on extending the algorithm to continuous control (like steering angles) and utilizing more advanced reachability libraries to decrease computation time.

Summary updated

BibTeX
@misc{julian2019reachability,
  author = {Kyle D. Julian and Mykel J. Kochenderfer},
  title = {{A Reachability Method for Verifying Dynamical Systems with Deep Neural Network Controllers}},
  year = {2019},
  eprint = {1903.00520},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.00520},
}
Figure