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

Diffeomorphically Learning Stable Koopman Operators

Petar Bevanda, Max Beier, Sebastian Kerz, Armin Lederer, Stefan Sosnowski, Sandra Hirche · DOI

TL;DR

This paper introduces "Koopmanizing Flows," a novel framework for learning stable, linear predictive models of nonlinear dynamical systems. By leveraging diffeomorphic transformations and monomial bases, it achieves a supervised learning approach that guarantees asymptotic stability, outperforming existing methods on a handwriting benchmark.

What Problem Does This Paper Address?

Predictive modeling of nonlinear dynamical systems is a significant challenge. While the Koopman operator theory offers a way to represent nonlinear systems using linear operators in an infinite-dimensional space, finding a practical, finite-dimensional linear predictor is difficult. This typically involves identifying "Koopman-invariant" features that evolve linearly under the system's dynamics and are also relevant for reconstructing the original state. This problem is often unsupervised, making it hard to guarantee stability and accuracy, especially for long-term predictions. Existing methods either rely on pre-defined features (limiting accuracy) or lack theoretical guarantees for stability.

Methods

Koopmanizing Flows tackles this by proposing a novel continuous-time, data-driven framework. The core idea is to "morph" the nonlinear system into a latent linear system using a diffeomorphism. This latent linear system is then lifted to a higher-dimensional space using a monomial basis. This lifting preserves the Koopman-invariance property and allows for the construction of a linear predictor.

Key aspects of their method include:

  • Diffeomorphic Transformation: The nonlinear dynamics are assumed to be diffeomorphic to a latent linear system. This diffeomorphism, denoted by $\phi$, maps the original state space to a latent space where dynamics are linear.
  • Monomial Lifting: To overcome the dimensionality constraint of diffeomorphisms (which preserve dimension), the latent linear dynamics are lifted to a higher-dimensional space using a monomial basis. This ensures Koopman-invariance is maintained.
  • Simultaneous Learning: The lifting function (diffeomorphism), the latent linear dynamics (represented by a Hurwitz matrix $A$), and the state reconstruction (represented by matrix $C$) are learned simultaneously in a supervised manner.
  • Unconstrained Stability Parameterization: To guarantee asymptotic stability of the learned linear predictor, the paper utilizes an unconstrained parameterization for Hurwitz matrices. This ensures that the learned matrix $A$ is always stable, regardless of the approximation accuracy.
  • Coupling Flows (CF-INN): For implementing the diffeomorphic transformation, the authors employ Coupling Flows based on Invertible Neural Networks (INNs). This choice allows for efficient parameterization and guarantees that the learned transformations are indeed diffeomorphisms.

Datasets

The paper evaluates its method on the LASA handwriting dataset. This dataset consists of 26 human-drawn trajectories of various letters and shapes, with 7 demonstrations each. The authors use this dataset for both imitation (reproducing individual demonstrations) and validation (training on a subset and testing on unseen data). They sample 900 data points per demonstration trajectory, using 2D position and velocity as inputs.

Key Insights and Ideas

  • Bridging Nonlinearity and Linearity: The central insight is that by finding a suitable diffeomorphic mapping, a nonlinear system can be transformed into a latent linear system. This allows us to leverage the powerful tools of linear systems theory for prediction and control.
  • Monomial Basis for Koopman-Invariance: The use of a monomial basis for lifting the latent linear dynamics is crucial. It not only expands the state space but also preserves the Koopman-invariant properties, which is essential for accurate Koopman operator modeling.
  • Guaranteed Stability through Parameterization: The unconstrained parameterization of Hurwitz matrices is a significant contribution. It elegantly sidesteps the need for explicit stability constraints during optimization, ensuring that the learned linear predictor is always asymptotically stable.
  • Supervised Learning for Koopman Models: By framing the problem as a supervised learning task (learning the diffeomorphism, latent dynamics, and reconstruction), Koopmanizing Flows offers a more tractable and reliable approach compared to existing unsupervised methods.

Key Results

The Koopmanizing Flows framework demonstrated superior performance compared to the state-of-the-art SKEL method on the LASA handwriting benchmark. Specifically, it showed improved accuracy in metrics such as Dynamic Time Warping Distance (DTWD), Root Mean Squared Error (RMSE), and Partial Curve Matching (PCM), particularly in capturing the geometry of the original state-space. The learned trajectories were visually similar to the real ones, indicating that the lifting construction effectively captured the dynamics. The paper also highlights that their method is trajectory-independent and provides a valid model for arbitrary discretization times.

Limitations and Future Work

  • Diffeomorphism Assumption: The framework relies on the assumption that the nonlinear system is diffeomorphic to a latent linear system. While this holds for a class of systems (e.g., those with a globally exponentially stable origin), it might not be universally applicable.
  • Approximation Accuracy: While Theorem 1 guarantees stable systems, it does not guarantee exact solutions to the original optimization problem (4). The accuracy of the learned model depends on the expressivity of the chosen function approximators (INNs) and the quality of the data.
  • Future Work: The authors suggest exploring other function approximators for the diffeomorphisms to potentially achieve further performance gains. They also mention that the theoretical guarantees for finite-dimensional convergence of Koopman operator decompositions are an open research question. Investigating various regularization techniques for handling outliers in validation data is also suggested.

Summary updated

BibTeX
@article{bevanda2022diffeomorphically,
  author = {Petar Bevanda and Max Beier and Sebastian Kerz and Armin Lederer and Stefan Sosnowski and Sandra Hirche},
  title = {{Diffeomorphically Learning Stable Koopman Operators}},
  journal = {IEEE Control Systems Letters},
  year = {2022},
  doi = {10.1109/lcsys.2022.3184927},
}
Figure