Koopman-Hopf Hamilton-Jacobi Reachability and Control

Will Sharpless, Nikhil Shinde, Matthew Kim, Yat Tin Chow, Sylvia L. HerbertarXiv 2023 · DOI

TL;DR

This paper introduces a novel "Koopman-Hopf" method to tackle high-dimensional, nonlinear control problems with disturbances. By combining Koopman theory for global linearization with the Hopf formula for efficient reachability analysis, they can approximate safe control strategies and reachable sets for complex systems where traditional methods fail.

What Problem Does This Paper Address?

Designing safe autonomous systems, especially those operating in uncertain environments, is a major challenge. Hamilton-Jacobi Reachability (HJR) offers a robust framework for this, providing guarantees on reaching a target while avoiding undesirable states, even with bounded disturbances. However, traditional HJR methods, like dynamic programming, suffer from the "curse of dimensionality," becoming computationally intractable for systems with more than a handful of states. While the Hopf formula offers a way to overcome this dimensionality issue by reformulating the problem as a parallelizable optimization, it's typically limited to linear systems. This paper addresses the gap of applying robust HJR to high-dimensional nonlinear systems with disturbances.

Methods

The core innovation is the Koopman-Hopf approach. Here's how it works:

  1. Koopman Theory for Linearization: First, they use Koopman theory to "lift" the nonlinear system dynamics into a higher-dimensional linear space. This linearization is more accurate than traditional local methods (like Taylor expansions) and can capture global system behavior.
  2. Hopf Formula for Reachability: In this lifted linear space, they apply the Hopf formula. This formula reformulates the HJR problem into a space-parallelizable optimization problem, avoiding the curse of dimensionality.
  3. Target Lifting: A crucial step is defining a "lifted target" in the Koopman space that accurately represents the original target in the nonlinear system. They explore different ways to define this lifted target, including using convex enclosures.
  4. Controller Synthesis: The solution from the Hopf formula in the lifted space is then mapped back to the original nonlinear system to provide an approximate reachable set and an optimal, disturbance-rejecting controller.

They also introduce an open-source toolbox in Julia, HopfReachability.jl, to implement these methods.

Datasets

The paper doesn't use traditional "datasets" for training in the machine learning sense. Instead, they generate data from the systems they analyze to fit the Koopman operator and its associated matrices.

They evaluate their method on three benchmark systems:

  • Slow Manifold System: A well-known system used to study Koopman theory.
  • Duffing Oscillator: A classic nonlinear system used to test both convex and non-convex game scenarios.
  • 10D Glycolysis Model: A complex, high-dimensional biological model representing cellular metabolism.

Key Insights and Ideas

  • Bridging the Gap: The paper successfully bridges the gap between the powerful but dimension-limited HJR and the dimension-robust but typically linear-only Hopf formula by leveraging Koopman theory.
  • Koopman's Global View: Koopman theory provides a more accurate global linearization than local methods, which is essential for the Hopf formula to yield meaningful results for nonlinear systems.
  • Lifted Target Matters: The choice of how to define the "lifted target" in the Koopman space significantly impacts the accuracy of the approximated reachable sets. Convex enclosures are a practical approach, but the specific shape (e.g., ellipse vs. ball) influences performance.
  • Dimension Robustness: The Koopman-Hopf method shows promise for handling high-dimensional systems where traditional DP-based HJR is infeasible.
  • Disturbance Rejection: The synthesized controllers demonstrate effective disturbance rejection, even in complex, stiff nonlinear systems like the glycolysis model.

Key Results

  • Slow Manifold: The Koopman-Hopf method, particularly with an "ecyl" (elliptical cylinder) lifted target, achieved the best approximation of the true reachable set (BRS) compared to other lifted targets and a Taylor-based linearization. The Jaccard Index (a measure of set similarity) was up to 0.94 for the best case.
  • Duffing Oscillator: For both convex and non-convex disturbance scenarios, the Koopman-Hopf method provided significantly better approximations of the BRS over longer time horizons compared to a Taylor-based linearization. For instance, in the convex case, the Koopman-Hopf method maintained over 75% agreement (Jaccard Index) up to t=2s, while the Taylor method dropped to around 30%.
  • Glycolysis Model: A Koopman-Hopf controller successfully navigated a 10D glycolysis model to achieve a target ATP concentration, significantly outperforming two Koopman-based Model Predictive Control (MPC) strategies. The Koopman-Hopf controller achieved a 96% success rate compared to 16-22% for the MPCs, demonstrating its robustness to nonlinearities and disturbances.

Limitations and Future Work

  • Approximation: The method provides approximate reachable sets and controllers. While it significantly outperforms local linearization, it doesn't offer the same formal guarantees as exact HJR. The accuracy depends on the quality of the Koopman linearization.
  • Convexity Assumptions: The Hopf formula typically requires convex cost functions (J) and Hamiltonians (H). This translates to needing convex targets (T) and potentially specific relationships between control and disturbance sets. While they explore ways to handle non-convex targets via enclosures, the underlying Koopman system's Hamiltonian might still pose challenges.
  • Lifting Function Choice: Selecting an appropriate lifting function is crucial and can be challenging. The paper notes that lifting functions preserving convexity are difficult to find, and those that do might have higher residual errors.
  • Future Work: The authors suggest expanding to more complex lifting functions (radial basis functions, neural networks), applying the method to black-box systems, and quantifying the uncertainty associated with Koopman linearization. They also aim to explore more advanced Hopf optimization techniques to handle a broader class of problems.

Summary updated

BibTeX
@misc{sharpless2023koopman,
  author = {Will Sharpless and Nikhil Shinde and Matthew Kim and Yat Tin Chow and Sylvia L. Herbert},
  title = {{Koopman-Hopf Hamilton-Jacobi Reachability and Control}},
  year = {2023},
  eprint = {2303.11590},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.11590},
}
Figure