Dictionary learning for Kernel EDMD

Erik Lien Bolager, Boumediene Hamzi, Houman Owhadi, Ioannis G. Kevrekidis, Felix DietricharXiv 2026

TL;DR

This paper introduces an automated, gradient-based framework for learning and pruning kernels in Kernel Extended Dynamic Mode Decomposition (kEDMD). By proving a mathematical equivalence between standard kEDMD and a simplified variant (skEDMD), the authors unlock the ability to use stochastic gradient descent to optimize both internal kernel parameters and the weights of kernel combinations. This eliminates the traditional reliance on manual tuning, allowing data-driven discovery of optimal dictionary spaces for analyzing complex nonlinear dynamical systems.

What Problem Does This Paper Address?

To analyze complex, nonlinear dynamical systems, researchers often turn to the Koopman operator framework, which reframes nonlinear phase-space dynamics into a linear, albeit infinite-dimensional, functional space. To make this computationally tractable, algorithms like Extended Dynamic Mode Decomposition (EDMD) approximate the operator using a finite "dictionary" of observable functions.

However, choosing a good dictionary is notoriously difficult. Kernel EDMD (kEDMD) elegantly sidesteps this by implicitly defining infinite-dimensional dictionaries via a kernel function (the "kernel trick"). But this introduces a new headache: how do you choose the right kernel and tune its hyperparameters?

While standard EDMD can use "dictionary learning" (e.g., neural networks) to optimize its functions via gradient descent, kEDMD cannot easily do this because its dictionary space is implicit and cannot be evaluated directly. Consequently, kernel selection has remained a game of human intuition and tedious manual tuning.

Methods

The authors bridge this gap with a two-step approach:

  1. Simplifying kEDMD (skEDMD): Instead of starting with a truncated Singular Value Decomposition (SVD) over an implicit space, the authors define a dictionary directly using kernel evaluations at data snapshots. They prove (Proposition 2) that this simplified version is mathematically equivalent to the original kEDMD, meaning their eigenvalues and eigenvectors map to each other seamlessly.
  2. Kernel Dictionary Learning (kEDMD-DL): Because skEDMD allows explicit evaluation of the dictionary matrix on data snapshots, the authors can apply gradient-based optimization. They parameterize the kernel as a normalized, weighted sum of diverse candidate kernels (e.g., RBF, linear, cosine).

Using Stochastic Gradient Descent (SGD), the algorithm simultaneously optimizes:

  • Inner parameters: Hyperparameters within the kernels themselves (like the length-scale $\sigma$ of an RBF kernel).
  • Outer weights: The importance of each kernel in the mixture.

To enforce efficiency, they apply $L_1$ regularization to the outer weights, allowing the algorithm to automatically prune away useless kernels during training—a concept inspired by Automatic Relevance Determination (ARD). They also introduce a regularization scheduler ($\beta_{koop}$) to stabilize early training when kernel initializations are poor.

Datasets

The method was evaluated on three simulated dynamical systems benchmarks:

  • The Duffing Oscillator: A classic nonlinear simulation with two stable steady states, used to test single-parameter RBF learning.
  • A Discontinuous Circle Shift (Modulo $2\pi$): A system ($x_{t+1} = (x_t + \omega) \bmod 2\pi$) featuring sharp, discontinuous jumps in Euclidean space, used to test multi-kernel selection and pruning.
  • The Kuramoto-Sivashinsky Equation (KSE): A highly complex, chaotic spatiotemporal partial differential equation (PDE) evaluated across 50 spatial dimensions, used to test large-scale kernel mixtures.

Key Insights and Ideas

  • The Equivalence "Aha!" Moment: The realization that kEDMD can be reformulated without an initial SVD step (skEDMD) while retaining identical spectral properties is the mathematical linchpin. It transforms an intractable optimization problem into a standard machine learning task.
  • Trajectory Loss Wins: Traditional dictionary learning relies on minimizing a "dictionary loss" (how well the operator maps the dictionary forward in time). The authors found that for kernels, this often leads to trivial solutions (like mapping everything to zero). Instead, optimizing directly for trajectory prediction loss ($L_{pred}$) yields far more stable and accurate kernel parameters.
  • Automated Feature Discovery: In the discontinuous circle shift experiment, the algorithm successfully identified that a custom coordinate-embedding kernel ($h(x) = [\cos(x), \sin(x)]$) was the only way to resolve the discontinuity, automatically driving the weights of standard RBF, linear, and cosine kernels to zero.

Key Results

  • Duffing Oscillator: Starting from a poorly performing, nearly linear RBF kernel ($\sigma = 1000$), the algorithm optimized $\sigma$ to $6.34$. This successfully captured the true system trajectories and uncovered a rich spectrum of distinct, nonzero eigenvalues that were completely missed at initialization.
  • Circle Shift: After pruning the unhelpful kernels, the optimized skEDMD model matched the first 9 nonzero true eigenvalues of the system with an error of less than $10^{-3}$.
  • Kuramoto-Sivashinsky PDE: The algorithm successfully stabilized a chaotic system approximation. Starting from an unstable initialization, it automatically favored a combination of an RBF kernel and a Neural Network Gaussian Process (NNGP) kernel, significantly reducing spectral residuals and accurately forecasting chaotic trajectories over time.

Limitations and Future Work

  • Kernel Smoothness Constraints: The method currently struggles to optimize less smooth kernel families, such as the Matérn class.
  • Computational Scalability: For highly complex systems, the number of subsampled dictionary points ($\tilde{N}$) must be increased, which can reintroduce computational bottlenecks.
  • Hyperparameter Complexity: The framework introduces several new regularization constants that require careful scheduling.
  • Future Directions: The authors propose integrating residual DMD (resDMD) directly into the loss function to explicitly eliminate spectral pollution during the learning phase, as well as exploring non-parametric kernel flows.

Summary updated

BibTeX
@misc{bolager2026dictionary,
  author = {Erik Lien Bolager and Boumediene Hamzi and Houman Owhadi and Ioannis G. Kevrekidis and Felix Dietrich},
  title = {{Dictionary learning for Kernel EDMD}},
  year = {2026},
  eprint = {2604.25572},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.25572},
}
Figure