A Classification-based Approach for Approximate Reachability

Vicenç Rúbies Royo, David Fridovich-Keil, Sylvia L. Herbert, Claire J. Tomlin

TL;DR

This paper introduces a novel method for approximating optimal controllers for safety verification in complex, high-dimensional nonlinear systems. By leveraging binary classifiers instead of traditional, computationally expensive grid-based methods, they significantly reduce computational complexity, enabling real-time applications like quadrotor navigation.

What Problem Does This Paper Address?

Ensuring the safety and goal satisfaction of complex dynamical systems is crucial in many fields, from robotics to autonomous vehicles. Hamilton-Jacobi (HJ) reachability analysis is a powerful theoretical tool for this, but it suffers from the "curse of dimensionality." This means that as the number of system states (dimensions) increases, the computational cost of traditional HJ reachability methods explodes, making them intractable for systems beyond a few dimensions. Existing approximate methods often have limitations, such as being restricted to very specific problem classes, not generating controllers, or being overly conservative. This paper aims to overcome these limitations by providing a scalable and practical approach to approximate HJ reachability for control-affine systems.

Methods

The core innovation lies in avoiding the direct computation and storage of the high-dimensional "value function" that traditional HJ reachability relies on. Instead, the authors propose an approximate dynamic programming approach tailored for control-affine systems. For these systems, the optimal control and disturbance actions at any given time step can be reduced to a series of binary classification problems.

The method works by:

  1. Discretizing Time: The time horizon is divided into small intervals.
  2. Backward Propagation: Using a dynamic programming principle, they work backward in time. At each time step, they learn approximate optimal control and disturbance policies.
  3. Binary Classifiers: Instead of storing the value function, they train a set of binary classifiers. Each classifier determines the optimal choice for a specific control or disturbance input dimension at a given state. Importantly, the number of classifiers is independent of the state space dimension.
  4. Policy Learning: For each time step, they sample states, determine the optimal control and disturbance actions based on the already learned policies from future time steps, and then use these state-action pairs to train new classifiers. These classifiers are then added to the overall policy.
  5. Simulation for Verification: Once policies are learned, the value function and reachable sets can be estimated by simulating the system dynamics with these learned policies.

This approach leverages feedforward neural networks as the underlying classifier architecture, though other methods like SVMs or decision trees could also be used.

Datasets

The paper does not explicitly mention or use pre-existing datasets for training. Instead, the authors generate their own training data by simulating the dynamics of the systems under consideration and determining the optimal control and disturbance actions at various states and time steps. The evaluation is performed on simulated 2D and 4D systems, as well as a real-time hardware demonstration with a quadrotor.

Key Insights and Ideas

  • Shifting the Burden: The key insight is to shift the computational burden from storing a high-dimensional value function to learning a set of low-dimensional binary classifiers. This is made possible by exploiting the structure of control-affine systems.
  • Scalability through Classification: By framing the problem as a series of binary classifications, the computational complexity becomes independent of the state space dimension, offering a significant advantage for high-dimensional systems.
  • Guarantees with Caveats: When the optimal disturbance policy is known a priori, the learned control policy is guaranteed to produce a conservative (over-approximated) reach-avoid set, ensuring safety. However, if the disturbance policy must also be learned, this guarantee is lost.
  • Practical Utility: The method is demonstrated to be effective not only in simulation but also on a physical quadrotor, showcasing its potential for real-world applications.

Key Results

  • Computational Speedup: The classification-based approach offers substantial speedups compared to grid-based methods. For a 2D example, the grid-based method took 20 seconds, while the classification approach took 10 minutes (though this is for training, not just computation). For a 6D system, the grid-based approach took 3 days, while the classification-based approach took 30 minutes.
  • Conservative Approximations: In all tested scenarios, the reach-avoid sets computed by the classification-based method were subsets of the true reach-avoid sets, as predicted by the theoretical guarantees (when applicable).
  • Hardware Demonstration: A Crazyflie 2.0 quadrotor successfully navigated a motion capture arena using a controller trained with this method, staying within the computed tracking error bounds.

Limitations and Future Work

  • Control-Affine Systems: The current method is specifically designed for control-affine systems, which are a subset of nonlinear systems. While many systems can be approximated as control-affine, this is a limitation.
  • Disturbance Policy: The theoretical safety guarantee relies on knowing the optimal disturbance policy a priori. If the disturbance policy is also learned, the guarantee is lost, though empirical results suggest good performance.
  • Classifier Choice: The conservativeness of the results depends on the choice of classifier. The paper mentions that further investigation into classifier performance is warranted.
  • Future Work: The authors suggest exploring other classifier architectures and sampling strategies to potentially improve performance and conservativeness. They also note that the method can be extended to systems with more complex dynamics and constraints.

Summary updated

BibTeX
@inproceedings{royo2019classification,
  author = {Vicenç Rúbies Royo and David Fridovich-Keil and Sylvia L. Herbert and Claire J. Tomlin},
  title = {{A Classification-based Approach for Approximate Reachability}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2019},
  url = {https://openreview.net/forum?id=tHRUZybSAHI},
}
Figure