Deep Identification of Nonlinear Systems in Koopman Form

Lucian-Cristian Iacob, Gerben Izaak Beintema, Maarten Schoukens, Roland Tóth · DOI

Abstract

The present paper treats the identification of nonlinear dynamical systems using Koopman-based deep state-space encoders. Through this method, the usual drawback of needing to choose a dictionary of lifting functions a priori is circumvented. The encoder represents the lifting function to the space where the dynamics are linearly propagated using the Koopman operator. An input-affine formulation is considered for the lifted model structure and we address both full and partial state availability. The approach is implemented using the the deepSI toolbox in Python. To lower the computational need of the simulation error-based training, the data is split into subsections where multi-step prediction errors are calculated independently. This formulation allows for efficient batch optimization of the network parameters and, at the same time, excellent long term prediction capabilities of the obtained models. The performance of the approach is illustrated by nonlinear benchmark examples.

Introduction

In control theory, Linear Time-Invariant (LTI) systems represent a well-understood domain with robust mathematical frameworks for stability and efficiency. However, most real-world systems are inherently nonlinear. Koopman operator theory offers a bridge, suggesting that any nonlinear system can be represented linearly if "lifted" into a sufficiently high-dimensional space. The challenge lies in identifying the appropriate lifting functions. Traditionally, this required manual selection of a "dictionary" of basis functions, a process prone to error and limited by the researcher's intuition. This paper introduces a deep learning approach to automatically discover these lifting functions, enabling the identification of nonlinear systems in a flexible, input-affine Koopman form.

Methodology

The proposed framework utilizes a Deep Koopman-based state-space encoder. Unlike traditional methods that rely on a fixed dictionary, a feedforward neural network $e_\theta$ is trained to learn the mapping from the physical observation space to a higher-dimensional "lifted" state space.

Architecture of the deep Koopman-based state-space encoder.

Key innovations in the model structure include:

  • Constructability-based Encoder: The encoder processes a window of past inputs and outputs ($y_{k-1}, \dots, y_{k-n_a}$ and $u_{k-1}, \dots, u_{k-n_b}$), allowing for effective identification even when the full internal state is not directly measurable.
  • Input-Affine Structure: The model follows the form $\hat{z}_{k+1} = A\hat{z}_k + B(\hat{z}_k)u_k$. This structure is compatible with Linear Parameter Varying (LPV) control methods, providing a direct path from deep learning models to classical robust control.
  • Multi-step Prediction Training: To ensure long-term stability and predictive accuracy, the network is optimized using a $T$-step ahead prediction error. This approach splits data into subsections, allowing for efficient batch optimization while capturing complex temporal dynamics.

Experimental Results

The approach was evaluated on two benchmarks: the Van der Pol oscillator and the Silverbox electronic circuit.

Van der Pol Oscillator

The model successfully captured the limit cycle behavior of the Van der Pol oscillator from noisy data (20 dB SNR), achieving a Normalized Root Mean Square (NRMS) error of 0.12. This demonstrates the encoder's ability to find a coordinate system where nonlinear oscillations are linearly propagated.

Silverbox Benchmark

The Silverbox benchmark, mimicking a mass-spring-damper system with cubic nonlinearity, provided a test for real-world input-output data.

Silverbox benchmark results showing interpolation (top) vs. extrapolation (bottom) performance.

As shown in the results, the model achieved exceptional accuracy during interpolation (NRMS of 0.00552 on multisine signals). However, performance degraded during extrapolation on the "arrowhead" signal, where the system operated outside the training data's state-space regions.

Discussion and Conclusion

The deep Koopman-based encoder effectively automates dictionary discovery, bridging the gap between deep learning and LPV control. While the model excels at interpolation and capturing complex dynamics like limit cycles, extrapolation remains a challenge. Future work may involve hybrid models that combine learned neural networks with physical priors (e.g., polynomial terms) to improve generalization in unseen operating regimes. Additionally, automating the selection of the look-back window parameters ($n_a, n_b$) could further streamline the identification process.

Summary updated

BibTeX
@inproceedings{iacob2021deep,
  author = {Lucian-Cristian Iacob and Gerben Izaak Beintema and Maarten Schoukens and Roland Tóth},
  title = {{Deep Identification of Nonlinear Systems in Koopman Form}},
  booktitle = {CDC},
  year = {2021},
  url = {https://openreview.net/forum?id=FTsgXCqdtG},
}
Figure