Skip to main content

Koopman operator theory

Linear operators for nonlinear dynamics

How Koopman operators describe the evolution of observables of nonlinear dynamical systems, and why their eigenfunctions make good indices of climate phenomena.

The framework rests on the operator-theoretic description of dynamical systems introduced by Koopman and von Neumann in the early 1930s (Koopman 1931; Koopman and Neumann 1932). In this description, attention is shifted from the evolution of states, which is nonlinear and, for weather and climate, chaotic, to the evolution of observables, that is, of functions of the state. The latter evolution is linear, so the methods of linear operator theory and spectral theory become available for the study of nonlinear systems (Eisner et al. 2015; Mezić 2013; Klus et al. 2018; Otto and Rowley 2021; Brunton et al. 2022). The material on this page is classical or is taken from the earlier work cited; it is included as background to the project.

States, flows and observables

Let \(X\) denote the state space of the system, for example the set of all configurations of the atmosphere and ocean. The dynamics are described by a flow \(\Phi^t : X \to X\): a system in state \(x\) at a given time is in state \(x_t = \Phi^t(x)\) a time \(t\) later. The flow is in general nonlinear, and for weather and climate it is not known exactly.

An observable is a function \(f : X \to \mathbb{C}\), such as the temperature at a given location or the mean sea surface temperature over the Niño 3.4 region. Measurements give access to the system only through observables.

The Koopman operator

The Koopman operator \(U^t\) maps an observable \(f\) to the observable \(U^t f\) whose value at a state \(x\) is the value taken by \(f\) a time \(t\) later,

\[ (U^t f)(x) = f\big(\Phi^t(x)\big). \]

The operator is linear: for observables \(f\), \(g\) and scalars \(a\), \(b\), \(U^t(af + bg) = a\,U^t f + b\,U^t g\), whether or not \(\Phi^t\) is linear. The price of linearity is that \(U^t\) acts on a space of functions, which is infinite-dimensional. Since \(U^t f\) is the observable \(f\) evaluated a time \(t\) ahead, an approximation of \(U^t\) from data is at the same time a forecasting scheme for \(f\).

The operators form a group, \(U^{t+s} = U^t U^s\). Its generator \(V\) is defined on a dense domain by

\[ V f = \lim_{t \to 0} \frac{U^t f - f}{t}, \]

and gives the time derivative of observables along the flow; formally, \(U^t = e^{tV}\).

Suppose that the system possesses an invariant probability measure \(\mu\), as is the case for a system in statistical equilibrium. Then \(\lVert U^t f \rVert = \lVert f \rVert\) in the Hilbert space \(L^2(\mu)\) of observables of finite variance, and for an invertible flow \(U^t\) is unitary. By Stone’s theorem the generator \(V\) is skew-adjoint, and its spectrum lies on the imaginary axis. The adjoint of \(U^t\) on \(L^2(\mu)\) is the transfer (Perron–Frobenius) operator, which governs the evolution of probability densities relative to \(\mu\). Koopman operators are thus suited to the prediction of observables, and transfer operators to the propagation of uncertainty. Both are used in the framework; see kernel analog forecasting and quantum mechanical data assimilation.

Eigenfunctions: coherent observables in chaotic systems

A Koopman eigenfunction is an observable \(z \in L^2(\mu)\) satisfying

\[ U^t z = e^{i\omega t} z, \qquad \text{that is,} \qquad z\big(\Phi^t(x)\big) = e^{i\omega t} z(x), \]

for a real eigenfrequency \(\omega\); equivalently, \(Vz = i\omega z\). Along any trajectory the modulus of \(z\) is constant and its phase advances at the constant rate \(\omega\), so that a cycle is completed in the period \(T = 2\pi/\omega\). In the complex plane the values of \(z\) along a trajectory lie on a circle, and the polar angle gives the phase of the oscillation. The diurnal and annual cycles are examples.

The space \(L^2(\mu)\) splits into two orthogonal, invariant subspaces: the closed span \(H_p\) of the eigenfunctions, and its complement \(H_c\), on which the spectrum of \(U^t\) is continuous. For systems with mixing dynamics, \(H_p\) contains only the constant functions, and there are no nontrivial eigenfunctions. In that case one considers approximate eigenfunctions, that is, observables \(z\) of unit norm for which

\[ \lVert U^t z - e^{i\omega t} z \rVert \le \epsilon \]

for all \(t\) in a bounded time interval and a small tolerance \(\epsilon\). Such observables are not periodic, but they oscillate at a characteristic frequency and their autocorrelation decays slowly (Das et al. 2021; Giannakis 2021). Observables of this kind are used as indices of phenomena such as ENSO and the MJO.

An example for the Lorenz 63 system, a low-dimensional model of convection and a standard example of chaotic dynamics, is shown in Figure 1.

Lorenz attractor colored by the real and imaginary parts of a Koopman eigenfunction, next to plots showing the eigenfunction tracing circles in the complex plane and oscillating regularly in time.
Figure 1: Approximate Koopman eigenfunction of the Lorenz 63 system, computed with the Python toolkit of the project. Left: real and imaginary parts of the eigenfunction on the attractor, for the training data (top) and an independent test trajectory (bottom). Right: the eigenfunction traces a nearly circular path in the complex plane, and its real and imaginary parts oscillate in quadrature, as for a harmonic oscillator, although the underlying dynamics are chaotic.

Eigenfunctions as climate indices

Approximate Koopman eigenfunctions computed from observed climate data have been found to recover the principal modes of variability (Froyland et al. 2021; Lintner et al. 2023). An example from Froyland et al. (2021) is shown in Figure 2: an eigenfunction computed from monthly Indo-Pacific sea surface temperature describes the life cycle of ENSO. The phase of the eigenfunction indicates the stage of the cycle (El Niño, the transition to La Niña, La Niña, and the return), and its modulus indicates the strength of ENSO activity, including its variation from decade to decade. Composites of other variables, such as surface temperature, winds or precipitation, conditioned on the phase give the spatial patterns associated with each stage.

Since an eigenfunction is a function on state space, and not merely a time series over the training period, it can be evaluated on new observations and used as an index in real time.

A circular plot of a complex-valued ENSO index divided into eight colored phase sectors, surrounded by eight global maps of sea surface temperature and wind anomalies, one for each phase from mature El Niño through La Niña and back.
Figure 2: Reconstruction of the ENSO life cycle from a Koopman eigenfunction \(z\) computed from Indo-Pacific sea surface temperature (center). The eigenfunction rotates counterclockwise, and its phase, divided into eight sectors, follows the stages of ENSO. The surrounding maps show sea surface temperature anomalies (colors) and surface winds (arrows) for each phase. Adapted from Froyland et al. (2021) (CC BY 4.0).

How the operator is learned from data

In applications \(U^t\) is not known and is approximated from observations. The construction is described on the data-driven methods page: the data are embedded in delay coordinates, a kernel is used to build a basis of functions adapted to the data, and the operator is represented by a matrix in that basis. The same matrix underlies both forecasting methods.

References

Brunton, S. L., M. Budišić, E. Kaiser, and J. N. Kutz. 2022. “Modern Koopman Theory for Dynamical Systems.” SIAM Review 64 (2): 229–340. https://doi.org/10.1137/21M1401243.
Das, S., D. Giannakis, and J. Slawinska. 2021. “Reproducing Kernel Hilbert Space Compactification of Unitary Evolution Groups.” Applied and Computational Harmonic Analysis 54: 75–136. https://doi.org/10.1016/j.acha.2021.02.004.
Eisner, T., B. Farkas, M. Haase, and R. Nagel. 2015. Operator Theoretic Aspects of Ergodic Theory. Vol. 272. Graduate Texts in Mathematics. Springer.
Froyland, G., D. Giannakis, B. R. Lintner, M. Pike, and J. Slawinska. 2021. “Spectral Analysis of Climate Dynamics with Operator-Theoretic Approaches.” Nature Communications 12: 6570. https://doi.org/10.1038/s41467-021-26357-x.
Froyland, G., D. Giannakis, E. Luna, and J. Slawinska. 2024. “Revealing Trends and Persistent Cycles of Non-Autonomous Systems with Operator-Theoretic Techniques: Applications to Past and Present Climate Dynamics.” Nature Communications 15. https://doi.org/10.1038/s41467-024-48033-6.
Giannakis, D. 2021. “Delay-Coordinate Maps, Coherence, and Approximate Spectra of Evolution Operators.” Research in the Mathematical Sciences 8: 8. https://doi.org/10.1007/s40687-020-00239-y.
Klus, S., F. Nüske, P. Koltai, et al. 2018. “Data-Driven Model Reduction and Transfer Operator Approximation.” Journal of Nonlinear Science 28: 985–1010. https://doi.org/10.1007/s00332-017-9437-7.
Koopman, B. O. 1931. “Hamiltonian Systems and Transformation in Hilbert Space.” Proceedings of the National Academy of Sciences 17 (5): 315–18. https://doi.org/10.1073/pnas.17.5.315.
Koopman, B. O., and J. von Neumann. 1932. “Dynamical Systems of Continuous Spectra.” Proceedings of the National Academy of Sciences 18 (3): 255–63. https://doi.org/10.1073/pnas.18.3.255.
Lintner, B. R., D. Giannakis, M. Pike, and J. Slawinska. 2023. “Identification of the Madden–Julian Oscillation with Data-Driven Koopman Spectral Analysis.” Geophysical Research Letters 50: e2023GL102743. https://doi.org/10.1029/2023GL102743.
Mezić, I. 2013. “Analysis of Fluid Flows via Spectral Properties of the Koopman Operator.” Annual Review of Fluid Mechanics 45: 357–78. https://doi.org/10.1146/annurev-fluid-011212-140652.
Otto, S. E., and C. W. Rowley. 2021. “Koopman Operators for Estimation and Control of Dynamical Systems.” Annual Review of Control, Robotics, and Autonomous Systems 4: 59–87. https://doi.org/10.1146/annurev-control-071020-010108.