Learning the Koopman Eigendecomposition: A Diffeomorphic Approach

Petar Bevanda, Johannes Kirmayr, Stefan Sosnowski, Sandra Hirche

TL;DR

The paper introduces KoopmanEigenFlows, a data-driven framework that transforms complex nonlinear systems into simple linear ones by learning a "diffeomorphism" (a smooth, invertible mapping). By using specialized invertible neural networks, the authors guarantee that the resulting linear model remains globally stable, overcoming a major safety hurdle in Koopman operator theory.

What Problem Does This Paper Address?

In control theory and physics, linear systems are easy to work with, but the real world is nonlinear. Koopman operator theory offers a bridge: it suggests that any nonlinear system can be represented as a linear system if you "lift" the state into a high-dimensional space of eigenfunctions.

However, finding these eigenfunctions is notoriously difficult. Traditional methods like Extended Dynamic Mode Decomposition (EDMD) rely on "guessing" a library of functions (like polynomials), which often fails for complex systems. Modern deep learning approaches can "learn" these functions, but they often lack physical consistency—specifically, they don't guarantee stability. A learned model might look accurate on training data but "blow up" or behave erratically when used for long-term prediction or control.

Methods

The authors propose a method called KoopmanEigenFlows to learn the Koopman eigendecomposition through a geometric lens.

  1. Topological Conjugacy: They exploit a mathematical principle stating that a stable nonlinear system is "conjugate" to its own linearization near an equilibrium point. If you find the right mapping ($d$), the nonlinear dynamics $\dot{x} = f(x)$ become the linear dynamics $\dot{y} = Ay$.
  2. Diffeomorphic Neural Networks: To find this mapping, they use Affine Coupling Flows (ACF)—a type of Invertible Neural Network (INN). Unlike standard neural networks, ACFs are guaranteed to be bijective and smooth (diffeomorphisms) by design.
  3. Supervised Learning: Instead of an "unsupervised" search for features, the authors formulate a supervised optimization problem. They train the network to satisfy the chain rule relationship between the nonlinear vector field and the linear Jacobian.
  4. KEFMD Algorithm: They introduce KoopmanEigenFlow Mode Decomposition to construct linear predictors. Once the mapping is learned, they can lift any initial state, evolve it linearly, and project it back to the original coordinates.

Datasets

The approach was evaluated on two simulated nonlinear dynamical systems:

  • Example 6.1 (Benchmark): A 2D system where the exact mathematical diffeomorphism is known. This allowed the authors to verify that their neural network was actually recovering the "ground truth" mapping.
  • Example 6.2 (Complex Dynamics): A 2D system with trigonometric nonlinearities where the exact eigenfunctions are not known a priori. This tested the model's ability to handle systems that don't fit neatly into standard polynomial libraries.

Key Insights and Ideas

  • Stability by Design: This is the "aha" moment. Because the target linear system is stable and the mapping is a diffeomorphism, the learned nonlinear model is guaranteed to be globally asymptotically stable, regardless of how accurate the neural network is. This decouples safety from representation accuracy.
  • Supervised vs. Ill-posed: Many Koopman methods (like KEEDMD) are "ill-posed" because they try to learn eigenfunctions without explicit targets. By targeting the Jacobian linearization, this paper turns the task into a well-defined supervised learning problem.
  • Universal Approximation: The authors show that the universal approximation power of diffeomorphic networks transfers directly to the Koopman eigenfunctions, meaning the model can represent a very wide class of stable systems.

Key Results

The authors compared their KEFMD algorithm against established methods like KEEDMD and EDMD (using monomials and radial basis functions).

  • Accuracy: In the complex 2D system (Ex 6.2), KEFMD achieved a Root Mean Squared Error (RMSE) of 0.014, while the next best deep learning competitor (KEEDMD) had an error of 1.41—a hundredfold improvement.
  • Stability: Qualitative plots show that while other methods' trajectories often drifted away or failed to reach the origin, KEFMD trajectories consistently converged to the equilibrium point, maintaining physical consistency even for unseen states.
  • Efficiency: By inheriting the spectrum of the Jacobian linearization, the model requires fewer "lifted" dimensions than trial-and-error basis sets.

Limitations and Future Work

  • Hyperbolic Systems: The current theory relies on the system being "hyperbolic" (having a non-zero linearization at the equilibrium). It may struggle with systems that have "center manifolds" or purely oscillatory behavior without damping.
  • Known Jacobian: The method assumes the Jacobian matrix $A$ at the origin is known or can be estimated. While usually easy for physical systems, it's an extra step in a purely black-box scenario.
  • Control: The paper focuses on autonomous (unforced) systems. The authors note that extending this to controlled nonlinear systems is the logical next step, which would enable efficient, stable, and optimal linear control for nonlinear robots and processes.

Summary updated

BibTeX
@inproceedings{bevanda2022learning,
  author = {Petar Bevanda and Johannes Kirmayr and Stefan Sosnowski and Sandra Hirche},
  title = {{Learning the Koopman Eigendecomposition: A Diffeomorphic Approach}},
  booktitle = {ACC},
  year = {2022},
  url = {https://openreview.net/forum?id=VRxr4Z3T-ES},
}
Figure