Error Analysis of Kernel EDMD for Prediction and Control in the Koopman Framework

Friedrich Philipp, Manuel Schaller, Karl Worthmann, Sebastian Peitz, Feliks NüskeZenodo 2023 · OpenAlex

Abstract

This paper establishes the first rigorous mathematical error bounds for Kernel Extended Dynamic Mode Decomposition (kEDMD), a data-driven method for approximating the Koopman operator in nonlinear dynamical systems. By situating the analysis within Reproducing Kernel Hilbert Spaces (RKHS), the authors extend theoretical guarantees to control-affine systems and relax the standard requirement of set invariance during data collection. Numerical validations using the Ornstein-Uhlenbeck process and the Duffing oscillator confirm that the estimation error scales at a rate of $1/\sqrt{m}$ relative to the number of samples, while control systems introduce a discretization error of $O(t^2)$.

Introduction

The Koopman operator framework has emerged as a transformative approach in dynamical systems, offering a way to represent complex nonlinear dynamics as linear systems by "lifting" the state into an infinite-dimensional space of observable functions. While linear representations simplify prediction and control, identifying these representations from finite data remains a significant challenge.

Extended Dynamic Mode Decomposition (EDMD) is the conventional algorithm for this task, but it is frequently limited by the "curse of dimensionality," where the required number of basis functions grows exponentially with the system's complexity. Kernel EDMD (kEDMD) bypasses this by employing the "kernel trick," allowing for implicit computation in infinite-dimensional spaces. Despite its practical success, kEDMD has historically lacked a comprehensive theoretical error analysis, particularly for systems involving control inputs and non-invariant data sets. This paper addresses these gaps by providing a-priori error bounds for kEDMD-based estimators.

Theoretical Framework: The RKHS Approach

The authors conduct their analysis within the framework of Reproducing Kernel Hilbert Spaces (RKHS). This choice is motivated by the observation that assuming the Koopman operator leaves an infinite-dimensional RKHS invariant is often more natural and less restrictive than assuming it leaves a manually selected finite dictionary invariant.

Relaxed Invariance

A primary contribution of this work is the relaxation of the "invariance" requirement. Traditional Koopman theory often assumes that the system state remains within a specific set $\mathcal{X}$ during sampling. In practice, especially in engineering, systems may drift or be driven by controllers outside of the initial training domain. The authors prove that the Koopman operator remains a bounded linear map even when it maps from a sampling set $\mathcal{X}$ to a larger set $\mathcal{Y}$, provided the measure of the "pushed-forward" data is well-behaved relative to the original sampling measure.

Estimation and Spectral Truncation

The error analysis assumes independent and identically distributed (i.i.d.) sampling, which allows the use of concentration inequalities, such as Hoeffding’s inequality, to bound the estimation error of covariance operators. To manage the ill-conditioning inherent in kernel methods, the estimator utilizes a rank-$r$ pseudo-inverse. The derived bounds explicitly account for the error introduced by this spectral truncation.

Extension to Control Systems

For systems with control inputs, the authors address the discrepancy between the continuous-time Koopman generator (which is perfectly affine in control) and the discrete-time Koopman operator. They demonstrate that the discrete-time version is approximately control-affine for small time steps $t$. This approximation introduces a discretization error term quantified as $O(t^2)$. Consequently, the total error for a control system is a summation of the $1/\sqrt{m}$ estimation error and the $O(t^2)$ discretization error.

Numerical Validation

The theoretical findings were validated using two primary benchmarks:

  1. Ornstein-Uhlenbeck (OU) Process: This autonomous stochastic process was used to test the $1/\sqrt{m}$ scaling of the error bounds. Using a Gaussian RBF kernel, the authors compared theoretical limits against 50 independent trials, finding that while the bounds are conservative (roughly an order of magnitude higher than observed error), they correctly predict the scaling behavior relative to sample size $m$ and truncation rank $r$.
  2. Duffing Oscillator: This nonlinear oscillator served as the testbed for control-affine extensions. Using $10^4$ samples from a square domain, the kEDMD model demonstrated high accuracy in long-term simulations (up to 500 time steps) under both constant and sinusoidal control inputs, even when the state trajectory exited the original training domain.

Conclusion

This work provides a rigorous foundation for the use of kEDMD in prediction and control. By proving that invariance is not a strict requirement and quantifying the trade-offs between sample size and time-step discretization, the authors bridge the gap between Koopman theory and practical engineering applications. Future research directions include extending these proofs to non-compact (unbounded) state spaces and developing tighter "a-posteriori" bounds that utilize specific data characteristics to provide more precise error estimates.

Summary updated

Abstract

This repository contains code and data to re-create the numerical results shown in "Error analysis of kernel EDMD for prediction and control in the Koopman framework" http://arxiv.org/abs/2312.10460 Please see the README file for detailed description of the codes in this repository.
BibTeX
@inproceedings{philipp2023error,
  author = {Friedrich Philipp and Manuel Schaller and Karl Worthmann and Sebastian Peitz and Feliks Nüske},
  title = {{Error Analysis of Kernel EDMD for Prediction and Control in the Koopman Framework}},
  booktitle = {Zenodo},
  year = {2023},
  doi = {10.5281/zenodo.10378153},
}

Loading related content...

Figure