arXiv:2610.12370cs.LGOct 2026

Manuscript Offprint

arXiv:2610.12370

Bilevel optimization for data-driven learning of Koopman embeddings using kernel-based autoencoders

Joel-Pascal Ntwali N'konzi, Feliks Nüske, Stefan Klus

Joel-Pascal Ntwali N'konzi, 1,a)^{1, a)} Feliks Nüske, 2,3,b)^{2, 3, b)} and Stefan Klus 4,c)^{4, c)}

1)^{1)}Maxwell Institute for Mathematical Sciences, The University of Edinburgh & Heriot–Watt University, Edinburgh, United Kingdom

2)^{2)}Max Planck Institute for Dynamics of Complex Technical Systems, Magdeburg, Germany

3)^{3)} LAAS-CNRS, Université de Toulouse, Toulouse, France

4)^{4)}School of Mathematical & Computer Sciences, Heriot–Watt University, Edinburgh, United Kingdom

(Dated: 9 October 2026)

Koopman operator theory provides a linear framework for analyzing nonlinear dynamical systems and has become a major tool for data-driven modeling. A central challenge, however, is that finite-dimensional approximations computed by methods such as extended dynamic mode decomposition (EDMD) require the dictionary to be specified a priori. Recent machine-learning approaches address this limitation by learning the dictionary from data, predominantly using artificial neural network (ANN) autoencoder architectures. Although kernel methods offer an alternative with greater interpretability and tractability for theoretical analysis, they have received little attention in this setting. We introduce extended dynamic mode decomposition with kernel-based dictionary learning (EDMD-kDL), a kernel-based method for learning finite-dimensional Koopman embeddings directly from data. The method combines ideas from collocation methods and bilevel optimization to simultaneously learn a kernel dictionary and the corresponding Koopman approximation. We evaluate EDMD-kDL against state-of-the-art ANN-based approaches on a range of numerical experiments, including global sea-surface-temperature forecasting and learning directly from video data. Across all tested settings, EDMD-kDL achieves performance comparable to or better than the ANN-based methods. Moreover, in contrast to standard kernel methods, the proposed approach is scalable to large datasets by design since the size of the required kernel matrices depends on the number of collocation points rather than the size of the training dataset.

The Koopman operator approach to dynamics, which provides a way of treating nonlinear dynamical systems with linear techniques, is at the forefront of the exploding field of data-driven modeling and analysis of complex systems. The recent rise in prominence is mostly due to the development of algorithms, such as extended dynamic mode decomposition (EDMD) and its variants, for obtaining finite-dimensional approximations of the Koopman operator from trajectory data. Despite its great success, the EDMD algorithm is limited by the constraint that a suitable subspace in which the operator approximation is carried out has to be determined a priori, which is a challenging task in practice. This has prompted the development of various alternative approaches that aim to identify such subspaces directly from data using machine learning. The vast majority of these methods rely on artificial neural network (ANN)-based autoencoders, where the encoder parametrizes a mapping from the state space to a higher dimensional embedding space, which in turn determines the subspace of interest. Such mappings are then called Koopman embeddings. Despite the fact that kernel methods can be as expressive as ANNs, and are both more interpretable and amenable to theoretical analysis, there has been no attempt to apply them to this problem. In this paper, we develop a novel kernel-based algorithm for learning finite-dimensional Koopman embeddings from data that we call extended dynamic mode decomposition with kernel-based dictionary learning (EDMD-kDL). We derive the proposed method by leveraging ideas from collocation methods and bilevel optimization, and compare its performance against state-of-the-art ANN-based approaches using both simulated and real-world datasets.

I. INTRODUCTION

Dynamical systems, whether deterministic or stochastic, are ubiquitous in science and engineering due to their effectiveness in modeling a wide range of natural phenomena. In contrast to the standard geometric approach to dynamics, the Koopman perspective focuses on the temporal evolution of observables, which are scalar functions of the state. The Koopman operator 1−4^{1-4} is linear, albeit infinite-dimensional, even when the state-space dynamics

a) j.n.n'konzi@sms.ed.ac.uk

b) nueske@mpi-magdeburg.mpg.de

c) s.klus@hw.ac.uk are nonlinear.

Despite the framework being almost a century old, its recent gain in prominence is mostly due to the development, over the past two decades, of data-driven learning algorithms that yield finite-dimensional approximations of the Koopman operator or its associated spectral information from simulation or observational data; see, e.g., Refs. 5–10. This includes in particular the extended dynamic mode decomposition (EDMD) algorithm 6,7^{6,7} and the variational approach to conformation dynamics (VAC) 10,11^{10,11}. As the name suggests, EDMD is an extension of dynamic mode decomposition (DMD) 5^{5}, an approach that was initially introduced for decomposing fluid flows into coherent patterns, whereas VAC generalizes time-lagged independent component analysis (TICA) 12^{12}, see Refs. 7, 9, 13–17 and references therein for more details. These advances have placed the operator approach to dynamics at the forefront of the exploding field of data-driven modeling and analysis of dynamical systems. Applications include system identification 18−20^{18-20}, model reduction 9,21,22^{9,21,22}, model predictive control 23−27^{23-27}, and time-series forecasting 28−32^{28-32}.

The EDMD algorithm works by considering a dictionary of functions defining a so-called Koopman embedding, i.e., a mapping from the state space to a typically high-dimensional space such that the embedded dynamical system is, at least approximately, linear. Then, given training data, the matrix representing the operator is estimated by solving a linear regression problem, and approximate eigenvalues and eigenfunctions of the Koopman operator are obtained from the spectral decomposition of this matrix 6^{6}.

The main limitation of standard EDMD comes from the fact that designing informative Koopman embeddings is in general challenging. The same is true for the standard VAC algorithm. This has prompted the development of various dictionary learning approaches for EDMD/VAC in the literature 8,30,33−38^{8,30,33-38}. At the core, these methods typically consider autoencoder artificial neural networks (ANNs), where the encoder parametrizes a Koopman embedding map and the (possibly fixed) decoder provides a way of reconstructing inputs from the corresponding embedding representations. The network is then trained with a linear embedded dynamics objective in addition to the standard encoder-decoder loss. Differences among these approaches include the use of hybrid dictionaries 8^{8}, stability promotion 39^{39}, training with a multi-step prediction loss 37^{37}, learning consistent forward and backward linear models in the embedding space 30^{30}, and the focus on stochastic systems 34,35^{34,35}.

An alternative approach for tackling the dictionary selection problem is kernel EDMD 40,41^{40,41}, which has been derived in two separate ways: the first strategy is to apply the well-known kernel trick to a dual formulation of the standard EDMD algorithm 40^{40}, whereas the second approach considers an empirical estimation of the Koopman operator defined on a reproducing kernel Hilbert space (RKHS) 41^{41}. The distinguishing feature of this approach is that the embedding map can, in theory, be infinite-dimensional since only inner products between embedded vectors – which can be obtained by evaluating a symmetric positive semi-definite kernel – are required. In practice, however, one is constrained to work in the finite-dimensional subspace spanned by the kernel centered at the training data points.

The main theoretical underpinning of ANN-based dictionary learning for EDMD is the universal approximation theorem 42^{42}, which guarantees that any multivariate continuous function defined on a hypercube can be uniformly approximated with arbitrary accuracy by an appropriate ANN. However, this property is not specific to ANNs. In fact, the RKHSs associated with so-called universal kernels are dense in the space of continuous functions defined on compact domains with respect to the uniform norm 43,44^{43,44}. This prompts one to wonder whether kernel methods can be as effective as ANN-based approaches for dictionary learning within EDMD/VAC. In this work, we show that this is indeed the case by developing a novel kernel-based approach for learning finite-dimensional Koopman embeddings from data, with a focus on EDMD for deterministic dynamical systems. To achieve this, we introduce the concept of kernel-based autoencoders by leveraging ideas from collocation methods 45,46^{45,46} and bilevel optimization. The resulting method, which we call extended dynamic mode decomposition with kernel-based dictionary learning (EDMD-kDL), is less parametrized than ANN-based counterparts and relies on numerically solving a nonlinear optimization problem involving the values taken by the Koopman embedding map at a finite set of collocation points. Furthermore, we compare EDMD-kDL against state-of-the-art ANN-based approaches on a wide range of numerical experiments using both synthetic and real-world data. We find that, across settings, EDMD-kDL either outperforms or has comparable performance to ANN-based methods.

The rest of this paper is organized as follows. In Section II we provide the necessary background material on Koopman learning. This is followed by detailed derivations of the proposed method in Section III. We consider both the case of hybrid dictionaries, where one part of the dictionary is fixed whilst the other is learned from data, and the case of fully learned dictionaries. Moreover, we show how the approach can be easily modified to use a multi-step prediction loss for training, which is not possible for standard kernel EDMD. We then provide results from extensive numerical experiments in Section IV and conclude with a discussion of open problems and ideas for future work in Section V.

References (70)