Learning Neural Koopman Operators with Dissipativity Guarantees

Yuezhu Xu, S. Sivaranjani, Vijay Gupta

Abstract

This paper presents a novel two-stage framework for learning neural Koopman operators that provide formal dissipativity guarantees for unknown nonlinear dynamical systems. Unlike existing methods that only ensure the surrogate model is dissipative, the proposed approach incorporates theoretical bounds—accounting for reconstruction errors, truncation, and generalization—to ensure the underlying physical system remains dissipative. By combining unconstrained deep learning with post-hoc Linear Matrix Inequality (LMI) perturbations, the method achieves high predictive accuracy while maintaining rigorous safety properties essential for control design.

1. Introduction

System identification is a cornerstone of modern control theory, enabling the construction of mathematical models from experimental data. For complex, nonlinear systems, Koopman operator theory has emerged as a powerful tool, "lifting" nonlinear dynamics into a higher-dimensional space where they can be treated as linear. However, a significant challenge remains: ensuring that these learned models preserve fundamental physical properties such as dissipativity.

Dissipativity is a generalized energy-based concept that encompasses stability, passivity, and sector-boundedness. While recent research has explored enforcing dissipativity within neural network architectures, these approaches often suffer from two flaws: they are computationally expensive to train under constraints, and they fail to guarantee that the true system inherits the model's dissipative properties. This paper addresses these gaps by providing a mathematically rigorous bridge between learned Koopman representations and the physical systems they represent.

2. Methodology

The authors propose a decoupled two-stage learning strategy designed to maintain model expressivity while enforcing strict mathematical constraints.

2.1 Stage 1: Unconstrained Neural Koopman Learning

The first stage involves training a standard neural Koopman architecture. This includes:

  • An encoder ($\phi$) that maps the state $x$ to a higher-dimensional observable space $z$.
  • A decoder ($\psi$) to project the lifted state back to the original space.
  • A linear system $(A, B, C, D)$ that governs the evolution of $z$ and the output $y$.

The model is trained using standard gradient descent to minimize a loss function composed of prediction error and reconstruction error. This stage allows the neural network to capture the system's complex dynamics without the interference of rigid constraints.

2.2 Stage 2: LMI-Based Minimal Perturbation

In the second stage, the neural network weights are frozen. The linear matrices $(A, B, C, D)$ are then minimally adjusted to satisfy a set of Linear Matrix Inequalities (LMIs). These LMIs are derived from the Dissipative System Lemma but are augmented with a "safety buffer."

This buffer is calculated using:

  • Lipschitz constants of the encoder and decoder networks.
  • Empirical error bounds derived from a validation dataset to account for truncation and generalization errors.

The resulting convex optimization problem seeks the smallest possible perturbation (in the Frobenius norm) to the matrices that guarantees the true system's dissipativity according to the authors' derived Theorem 1.

3. Theoretical Guarantees

The core contribution of this work is the derivation of a threshold for the learned model that implies dissipativity for the true system. By quantifying the maximum possible error between the Koopman approximation and the real dynamics, the authors define a strict dissipativity condition. If the perturbed model satisfies this stricter LMI, the true system is mathematically guaranteed to be dissipative. Furthermore, a hyperparameter ($\eta$) allows engineers to adjust the trade-off between the magnitude of the perturbation and the size of the state-space region where the guarantee holds.

4. Experimental Validation: The Duffing Oscillator

The framework was evaluated using the Duffing oscillator, a standard benchmark for nonlinear dynamics. The system is inherently dissipative, making it an ideal candidate for testing property preservation.

4.1 Data Collection

The authors generated 400 trajectories using random initial conditions and sinusoidal inputs. The data was split into training and validation sets (80/20) to estimate the necessary error bounds for the LMI stage.

4.2 Results

The unconstrained model achieved high predictive accuracy but failed to meet dissipativity requirements. However, the LMI-based perturbation successfully enforced these requirements with remarkably small changes to the system matrices—Frobenius norm differences ranged from $1.68 \times 10^{-12}$ to $0.003$.

The final model retained its ability to predict the dynamics of unseen test data. While the enforced dissipativity introduced a slight conservatism—manifesting as a minor shrinkage of the reconstructed limit cycle near the origin—the model remained highly accurate in regions far from equilibrium.

5. Conclusion and Future Work

This work demonstrates that it is possible to learn high-fidelity neural Koopman models that provide rigorous safety guarantees for the underlying physical system. By separating the learning and constraint-enforcement phases, the authors avoid the pitfalls of constrained neural network training.

Future research will focus on extending this framework to bilinear Koopman models to handle a broader class of systems and developing more efficient sampling techniques. These improvements aim to reduce the data density required to estimate error bounds, making the approach more scalable for high-dimensional industrial applications.

Summary updated

BibTeX
@inproceedings{xu2025learning,
  author = {Yuezhu Xu and S. Sivaranjani and Vijay Gupta},
  title = {{Learning Neural Koopman Operators with Dissipativity Guarantees}},
  booktitle = {CDC},
  year = {2025},
  doi = {10.1109/cdc57313.2025.11312430},
}

Loading related content...

Figure