betaFeedback

WorksEngineering

Learning the Omega-Limit Partition from Approximate Koopman Invariants

Abstract

Nonlinear dynamical systems with multiple omega-limit sets pose a fundamental challenge for global finite-dimensional Koopman modeling with continuous observables. A natural way to address this challenge is to decompose the state space into forward-invariant regions associated with distinct asymptotic behaviors and to learn a separate Koopman model for each region. This paper studies how to compute such partitions from data. We establish conditions under which Koopman-invariant observables, namely eigenfunctions associated with the unit eigenvalue, characterize the stationary partition induced by omega-limit sets. Building on this characterization, we develop OPAL (Omega-limit Partitions from Approximate invariants Learned from data), an algorithm that extracts partitions from approximate invariant observables. Numerical examples show that the recovered partitions capture the relevant asymptotic regions and support multiple regional linear Koopman models with significantly improved long-horizon prediction capabilities.

Introduction

The Koopman operator provides a linear representation of nonlinear dynamics by lifting the evolution from the state space to a space of observable functions. This perspective has become increasingly influential in data-driven approaches to dynamical systems because it offers a principled way to combine nonlinear models with linear systems tools. Dynamic mode decomposition (DMD), extended dynamic mode decomposition (EDMD), kernel methods, and neural-network-based Koopman embeddings have made Koopman-theoretic ideas computationally accessible across fluid mechanics, robotics, control, and machine learning [1, 2, 3, 4, 5]. The central premise is that, after a suitable change of observables, nonlinear trajectories can be propagated, analyzed, or controlled using finite-dimensional linear models.

However, finite-dimensional Koopman modeling has fundamental limitations [6]. Recent impossibility results show [7] that, under mild assumptions, continuous immersions into finite-dimensional linear systems collapse distinct omega-limit sets and therefore fail to provide globally injective Koopman embeddings. This obstruction helps explain a recurring empirical phenomenon: global Koopman models trained with smooth or continuous dictionaries may blur basin boundaries, miss discontinuous invariant coordinates, or produce long-term predictions that remain accurate only on restricted regions of the state space.

A natural way to avoid this obstruction is to relax the requirement of a single global finite-dimensional model and instead decompose the state space into dynamically meaningful invariant regions. Once such regions are known, one can learn a separate Koopman model on each region, obtaining regional linear descriptions that respect the distinct asymptotic behaviors of the nonlinear system. Another advantage of this approach is that, since the state space will be partitioned into forward invariant regions, no switching is needed to transition between different models. Given an initial condition, the model is determined by the partition and it is used for the entire duration of the simulation. This idea has appeared in the literature in several forms. Williams et al. [4] use EDMD eigenfunctions to identify the basins of attraction of the Duffing oscillator and then applied EDMD separately on the resulting subdomains. However, the procedure has misclassifications close to the separatrix which compromises the quality of the learned models. Nandanoori et al. [8] read invariant sets off the eigenvectors of a global Koopman operator and stitch regional Koopman operators into a block-diagonal model via characteristic functions of those sets, which must therefore be known in advance. We instead learn the omega-limit partition directly from data and only then build the regional Koopman models on it.

Regional Koopman constructions have also been used for data-driven control, where separate linear models are learned in regions whose dynamics are more amenable to finite-dimensional approximation [9]. For heteroclinic connections in plane Couette flow, [10] shows that each invariant solution supports its own Koopman expansion of the state, valid only up to a crossover point, and that DMD fails to recover these expansions when the data straddle such a point. More recently, Pan and Douraisamy [11] study Koopman lifting and reconstruction for systems with multiple invariant sets, emphasizing the role of basin-dependent eigenfunctions and symmetry in data-efficient learning. These works suggest that multiple Koopman models are often the appropriate modeling object for systems with multiple attractors or omega-limit sets, but they do not provide a general data-driven procedure, with supporting theory, for learning the underlying omega-limit partition itself.

Another related direction uses Koopman eigenfunctions to identify basins of attraction and stability boundaries. In particular, Umathe and Vaidya [12] consider a system with an asymptotically stable equilibrium and characterize the boundary of its region of attraction as the union of the stable manifolds of the saddle-type equilibria lying on this boundary; each such manifold is recovered as the zero-level set of a Koopman eigenfunction associated with the corresponding saddle. Their goal is thus to recover the separatrix of a single region of attraction, whereas ours is to recover the full omega-limit partition, which distinguishes all asymptotic behaviors of the system at once.

Our contributions are as follows. We study autonomous dynamical systems with possibly multiple omega-limit sets and define the omega-limit partition, which groups together

This work was supported by AFOSR Award FA9550-23-1-0740.

D. Shah and J. Cortés are with Department of Mechanical and Aerospace Engineering, UC San Diego, USA, {dshah, cort es}@ucsd.edu. all initial conditions whose trajectories share the same omega-limit set. Our goal is to approximate it. Invariant Koopman observables, i.e., eigenfunctions with unit eigenvalue, induce stationary partitions (partitions of the state space into cells that trajectories never leave) through their level sets, and existing approaches exploit this fact by decomposing the state space using a single invariant observable. In practice, however, numerical methods typically return several approximate invariant observables, and it is unclear how to combine the information they carry. Moreover, the quality of these approximations depends critically on the choice of dictionary, yet there is little understanding of which dictionaries help and which degrade the result. To address these issues, we study the relationship between approximate invariant observables and the omega-limit partition directly. This analysis yields a principled way to combine multiple approximate invariants and clarifies the role of the dictionary.

Specifically, we show that if the dictionary approximates the indicator functions of the omega-limit cells well, then approximate invariant observables never place points with different asymptotic behavior in the same cell, except on a small set. However, a single omega-limit cell may be split into several fragments. This result is the basis for the design of our Omega-limit Partitions from Approximate invariants Learned from data (OPAL) algorithm. We compute approximate invariant observables by solving a generalized eigenvalue problem and cluster the data according to their values, which yields a partition that is typically too fine. To address this, the remaining task is to decide which fragments belong together. We merge two fragments whenever the data move frequently from one to the other in a single step (transition-based merging), which cannot happen between distinct omega-limit cells, or whenever their invariant values nearly coincide (value-based merging), since true invariants are constant on each cell. Finally, because even a handful of misclassified points near a basin boundary can corrupt the Koopman models later trained on each cell, we leave points close to the recovered boundaries unassigned, trading coverage for confidence.

We then learn a separate Koopman model on each recovered cell. Numerical examples on systems with multiple equilibria and multiple limit cycles show that, with suitably chosen parameters, OPAL classifies every retained point correctly while leaving less than 2% of the data unassigned. The resulting regional models improve long-term prediction by an order of magnitude over a single global model, whereas partitions that are merely nearly correct can produce diverging regional models.

Preliminaries

We review1 here basics on the Koopman operator and the partition concepts used throughout the paper.

The Koopman Operator

Following [13], consider a discrete-time dynamical system on the state space X⊆Rn\mathcal{X}\subseteq\mathbb{R}^{n} described by a map T:X→XT:\mathcal{X}\to\mathcal{X}:

x+=T(x),x∈X.(1)x^{+}=T(x),\quad x\in\mathcal{X}. \tag*{(1)}

The Koopman operator K:F→F\mathcal{K}:\mathcal{F}\to\mathcal{F} is an infinite-dimensional linear operator that acts on a space F\mathcal{F} of real-valued observables of the form ψ:X→R\psi:\mathcal{X}\to\mathbb{R} by composing them with the dynamics, i.e., (Kψ)(x)=ψ(T(x))(\mathcal{K}\psi)(x)=\psi(T(x)). We assume the function space F\mathcal{F} is closed under composition with TT. We assume the space of observables F\mathcal{F} is equipped with a Hilbert space structure, with inner product ⟨⋅,⋅⟩F\langle\cdot,\cdot\rangle_{\mathcal{F}} and associated norm ∥⋅∥F\|\cdot\|_{\mathcal{F}}. A common choice is the L2L_{2}-space with respect to a probability measure μ\mu on X\mathcal{X}.

Given a dataset of snapshot pairs Ddata={(xi,yi)}i=1ND_{\mathrm{data} }=\{(x_{i},y_{i})\}_{i=1}^{N} throughout the paper, we fix μ\mu to be the empirical measure induced by the data DdataD_{\mathrm{data}} and take F=L2(μ)\mathcal{F}=L_{2}(\mu). The goal of data-driven approximation is to find a finite-dimensional operator K:S→SK:\mathcal{S}\to\mathcal{S} that best represents the action of K\mathcal{K} when restricted to S\mathcal{S}. Extended Dynamic Mode Decomposition (EDMD) [14] provides the optimal approximation in the L2L_{2}-sense by orthogonally projecting the image of the subspace back onto itself. Construct the data matrices Ψ(X),Ψ(Y)∈RM×S\Psi(X),\Psi(Y)\in\mathbb{R}^{M\times S}, where the ii-th rows are the evaluations of the dictionary functions Ψ\Psi at xix_{i} and yiy_{i} respectively. The EDMD approximation KEDMDK_{\mathrm{EDMD}} in the basis Ψ\Psi is the solution to the least-squares problem

min⁡K∥Ψ(X)K−Ψ(Y)∥F.(2)\min_{K}\|\Psi(X)K-\Psi(Y)\|_{\mathcal{F}}. \tag*{(2)}

Partitions and Stationary Partitions

Given X⊆Rn\mathcal{X}\subseteq\mathbb{R}^{n}, a partition [15] is a family P={Cα⊆X}α∈A\mathcal{P}=\{C_{\alpha}\subseteq\mathcal{X}\}_{\alpha\in A} of disjoint nonempty subsets whose union is X\mathcal{X}. Each CαC_{\alpha} is an element (or cell) of P\mathcal{P}. A set D⊆XD\subseteq\mathcal{X} is a P\mathcal{P}-set if it is a union of elements of P\mathcal{P}. A partition P1\mathcal{P}_{1} is finer than a partition P2\mathcal{P}_{2}, written P1⪯P2\mathcal{P}_{1}\preceq\mathcal{P}_{2}, if every element of P2\mathcal{P}_{2} is a P1\mathcal{P}_{1}-set. Equivalently, every P2\mathcal{P}_{2}-set is a P1\mathcal{P}_{1}-set. In this case, P2\mathcal{P}_{2} is coarser than P1\mathcal{P}_{1}. We omit the partition index when it causes no confusion.

Assume X\mathcal{X} is equipped with a σ\sigma-algebra B\mathcal{B} and a probability measure μ\mu. A measurable partition P={Cα}α∈A\mathcal{P}=\{C_{\alpha}\}_{\alpha\in A} is stationary if every element is forward invariant, i.e., T(Cα)⊆CαT(C_{\alpha})\subseteq C_{\alpha}, for all α∈A\alpha\in A. Note that stationary partitions are not unique. One can combine cells of a stationary partition to obtain a coarser stationary partition. For example, if {C1,C2}\{C_{1},C_{2}\} is a stationary partition, then {C1∪C2}\{C_{1}\cup C_{2}\} is also stationary. In general, any partition that can be obtained by merging cells of a stationary partition is itself stationary.

Omega-Limit Sets and the Omega-Limit Partition

We describe here basic properties of omega-limit sets, which play a key role in the construction of the omega-limit partition, a unique stationary partition of the state space X\mathcal{X} that captures the asymptotic behavior of the system. Given the dynamics (1) and x∈Xx\in\mathcal{X}, we write TnT^{n} for the nn-fold composition of TT with itself (with T0T^{0} the identity map), so that {Tn(x)}n≥0\{T^{n}(x)\}_{n\geq0} is the trajectory of (1) starting at xx. An accumulation point y∈Xy\in\mathcal{X} of the trajectory starting at xx is such that there exists a strictly increasing sequence of nonnegative integers {nj}j≥1\{n_j\}_{j\geq1} with lim⁡j→∞Tnj(x)=y\lim_{j\to\infty}T^{n_j}(x)=y. The omega-limit set [16 Ch. 8] of xx, denoted ω(x)\omega(x), is the set of all accumulation points of the trajectory starting at xx:

ω(x):={y∈X:∃{nj}j≥1 s.t. lim⁡j→∞Tnj(x)=y}.(3)\omega(x):=\left\{y\in\mathcal{X}:\exists\{n_j\}_{j\geq1}\text{ s.t. }\lim_{j\to\infty}T^{n_j}(x)=y\right\}. \tag*{(3)}

Throughout the paper, we assume that X\mathcal{X} is a compact metric space and TT is continuous. Under these assumptions, for each x∈Xx\in\mathcal{X}, the set ω(x)\omega(x) is nonempty, compact, and invariant in the sense that T(ω(x))=ω(x)T(\omega(x))=\omega(x). Compactness of X\mathcal{X} guarantees that every trajectory has at least one accumulation point, so ω(x)≠∅\omega(x)\ne\varnothing, and continuity of TT is what ensures the invariance identity. Furthermore, since discarding finitely many terms of a sequence does not change its accumulation points, ω(Tk(x))=ω(x)\omega(T^k(x))=\omega(x) for every integer k≥0k\geq0, without any further assumption.

Equipped with the notion of an omega-limit set, one can define a relation ∼ω\sim_\omega on X\mathcal{X} by x∼ωy⟺ω(x)=ω(y)x\sim_\omega y\Longleftrightarrow\omega(x)=\omega(y). The equivalence class of xx is Rω(x):={y∈X:ω(y)=ω(x)}R_\omega(x):=\{y\in\mathcal{X}:\omega(y)=\omega(x)\}. It is straightforward to verify that ∼ω\sim_\omega is an equivalence relation, so the equivalence classes Rω(x)R_\omega(x) form a partition of X\mathcal{X}. Indeed, the omega-limit partition Pω\mathcal{P}_\omega of (1) is the collection of equivalence classes: Pω:={Rω(x):x∈X}\mathcal{P}_\omega:=\{R_\omega(x):x\in\mathcal{X}\}.

The properties of omega-limit sets imply that Pω\mathcal{P}_\omega is stationary. In contrast with the nonuniqueness of stationary partitions discussed above, Pω\mathcal{P}_\omega is canonically determined by the dynamics: it is the coarsest partition of X\mathcal{X} for which points in the same cell share the same omega-limit set.

Problem Statement

Consider a discrete-time autonomous dynamical system of the form (1). Unless stated otherwise, X\mathcal{X} is a compact metric state space, T:X→XT:\mathcal{X}\to\mathcal{X} is continuous, and X\mathcal{X} is forward invariant under the dynamics. We assume that the function space F=L2(μ)\mathcal{F}=L_2(\mu) as defined in II-A is closed under composition with TT.

The system (1) may have multiple omega-limit sets, corresponding to distinct asymptotic behaviors. This multiplicity of asymptotic behaviors is a fundamental obstruction to global finite-dimensional Koopman modeling with continuous observables. To tackle this, our goal is to learn the omega-limit partition Pω\mathcal{P}_\omega from data. The rationale for this is that, once the cells are known, one can learn Koopman models on each cell, and these collectively capture the different asymptotic behaviors of the system.

We assume access to snapshot pairs {(xi,yi)}i=1N\{(x_i,y_i)\}_{i=1}^{N} with yi=T(xi)y_i=T(x_i), together with a dictionary of candidate observables Ψ={ψ1,…,ψs:X→R}\Psi=\{\psi_1,\ldots,\psi_s:\mathcal{X}\to\mathbb{R}\} spanning a subspace S\mathcal{S}. Our objective is to extract a partition P^\widehat{\mathcal{P}} from this data, built from approximate Koopman invariants, that approximates the true omega-limit partition Pω\mathcal{P}_\omega. In constructing this approximation, we want to obtain a partition P^\widehat{\mathcal{P}} as coarse as possible so that fewer Koopman models are needed, while making sure that all distinct asymptotic behaviors are captured.

To do so, we first establish the connection between invariant observables and the omega-limit partition, cf. Section IV. We then build on this understanding to study how approximate invariants can be employed to approximate the true omega-limit partition, cf. Section V. Finally, we put everything together in an algorithmic procedure, which we term OPAL (Omega-limit Partitions from Approximate invariants Learned from data), to learn the omega-limit partition from data, cf. Section VI.

Invariant Observable Partitions

Our first step is to establish the connection between invariant observables and the omega-limit partition.

Definition 4.1 (Invariant observables): We refer to the elements of the eigenspace Einv(K):={f∈F:Kf=f}E_{\mathrm{inv}}(\mathcal{K}):=\{f\in\mathcal{F}:\mathcal{K}f=f\} of the Koopman operator corresponding to the eigenvalue λ=1\lambda=1 as invariant observables of (1). □\square

The following result describes how invariant observables induce stationary partitions through their level sets.

Proposition 4.2: (Partitions induced by invariant observables): Let f∈Einv(K)f\in E_{\mathrm{inv}}(\mathcal{K}). For c∈Rc\in\mathbb{R}, define the level set

Ccf:={x∈X:f(x)=c}.(4)C_c^f:=\{x\in\mathcal{X}:f(x)=c\}. \tag*{(4)}

Then each nonempty level set CcfC_c^f is forward invariant. Consequently, the collection of nonempty level sets {Ccf:c∈R}\{C_c^f:c\in\mathbb{R}\} of ff is a stationary partition of X\mathcal{X}.

Proof: Let c∈Rc\in\mathbb{R} and suppose x∈Ccfx\in C_c^f. Then f(x)=cf(x)=c. Since ff is invariant, f∘T(x)=f(x)=cf\circ T(x)=f(x)=c. Therefore T(x)∈CcfT(x)\in C_c^f and T(Ccf)⊆CcfT(C_c^f)\subseteq C_c^f. The nonempty level sets of any function are pairwise disjoint and cover X\mathcal{X}. Since each nonempty level set is forward invariant and each CcfC_c^f is a measurable set, the collection of nonempty level sets is a stationary partition.

Families of invariant observables induce partitions through their joint level sets, as we detail next.

Proposition 4.3: (Partition induced by a family of invariant observables): Let A⊆Einv(K)\mathcal{A}\subseteq E_{\mathrm{inv}}(\mathcal{K}) be a family of invariant observables. Define the equivalence relation

x∼Ay⟺f(x)=f(y)for every f∈A.(5)x\sim_{\mathcal{A}}y\Longleftrightarrow f(x)=f(y)\quad\text{for every }f\in\mathcal{A}. \tag*{(5)}

Let PA:={[x]A:x∈X}\mathcal{P}_{\mathcal{A}}:=\{[x]_{\mathcal{A}}:x\in\mathcal{X}\} be the partition induced, where [x]A[x]_{\mathcal{A}} denotes the equivalence class. Then, PA\mathcal{P}_{\mathcal{A}} is stationary.

Proof: The relation ∼A\sim_{\mathcal{A}} is an equivalence relation, so its equivalence classes form a partition of X\mathcal{X}. Fix a cell [x]A[x]_{\mathcal{A}} and let y∈[x]Ay\in[x]_{\mathcal{A}}. Then, for every f∈Af\in\mathcal{A}, we have f(y)=f(x)f(y)=f(x). Since each f∈Af\in\mathcal{A} is invariant: f∘T(y)=f(y)=f(x)f\circ T(y)=f(y)=f(x). Thus T(y)∈[x]AT(y)\in[x]_{\mathcal{A}}. Hence each cell is forward invariant, so PA\mathcal{P}_{\mathcal{A}} is stationary.

Since [x]A=⋂f∈ACf(x)f[x]_{\mathcal{A}}=\bigcap_{f\in\mathcal{A}}C_{f(x)}^f, the partition PA\mathcal{P}_{\mathcal{A}} is the common refinement of the partitions of the form {Ccf:c∈R}\{C_c^f:c\in\mathbb{R}\} induced by the individual observables f∈Af\in\mathcal{A}: it is finer than each of them, and it is the coarsest such partition.

Approximate invariant observable partitions

Here, we turn our attention to the data-driven setting. We show how one can obtain a partition from approximate invariant observables learned from data that, outside what we call an exception set (whose size is tunable), is finer than the true omega-limit partition Pω\mathcal{P}_\omega.

Given ε>0\varepsilon>0, define the set of ε\varepsilon-invariant observables in the subspace S\mathcal{S} by Einvε(S):={f∈S:∥Kf−f∥≤ε∥Kf∥}E_{\mathrm{inv}}^\varepsilon(\mathcal{S}):=\{f\in\mathcal{S}:\|\mathcal{K}f-f\|\leq\varepsilon\|\mathcal{K}f\|\}. The partition induced is Pϵ:={[x]ϵ:x∈X}\mathcal{P}_{\epsilon}:=\{[x]_{\epsilon}:x\in\mathcal{X}\}, where

[x]ϵ:={y∈X:f(y)=f(x), ∀f∈Einvϵ(S)}.(6)[x]_{\epsilon}:=\{y\in\mathcal{X}:f(y)=f(x),\ \forall f\in E_{\mathrm{inv}}^{\epsilon}(\mathcal{S})\}. \tag*{(6)}

Unlike the exact invariant-observable partitions of Section IV, Pϵ\mathcal{P}_{\epsilon} need not be stationary because the observables in Einvϵ(S)E_{\mathrm{inv}}^{\epsilon}(\mathcal{S}) are only approximately invariant. The next result gives conditions under which Pϵ\mathcal{P}_{\epsilon} is a finer partition than Pω\mathcal{P}_{\omega} (i.e., Pϵ⪰Pω\mathcal{P}_{\epsilon}\succeq\mathcal{P}_{\omega}) outside a small exception set which we quantify precisely in the statement.

Theorem 5.1: (Approximate invariant observables separate omega-limit cells outside a small set): Assume the omega-limit partition Pω\mathcal{P}_{\omega} of (1) has a finite number of cells {C1,…,Cq,…,Ct}\{C_1,\ldots,C_q,\ldots,C_t\}, is measurable and arranged so that μ(Ci)>0\mu(C_i)>0, for i∈[q]i\in[q] and μ(Ci)=0\mu(C_i)=0 for i∈[t]∖[q]i\in[t]\setminus[q]. Let χi:=1Ci\chi_i:=\mathbf{1}_{C_i} be the indicator function of CiC_i. Assume that for each i∈[q]i\in[q], ∃si∈S\exists s_i\in\mathcal{S}, δi>0\delta_i>0, βi≥0\beta_i\geq0 and ϵ>0\epsilon>0 s.t.

∥si−χi∥L2(μ)≤δi,∥K(si−χi)∥L2(μ)≤βiδi,(7)\lVert s_i-\chi_i\rVert_{L_2(\mu)}\leq\delta_i,\quad\lVert\mathcal{K}(s_i-\chi_i)\rVert_{L_2(\mu)}\leq\beta_i\delta_i, \tag*{(7)}
βiδi<μ(Ci),(βi+1)δiμ(Ci)−βiδi≤ϵ.(8)\beta_i\delta_i<\sqrt{\mu(C_i)},\quad\frac{(\beta_i+1)\delta_i}{\sqrt{\mu(C_i)}-\beta_i\delta_i}\leq\epsilon. \tag*{(8)}

Then the functions sis_i are ϵ\epsilon-invariant observables, i.e., si∈Einvϵ(S)s_i\in E_{\mathrm{inv}}^{\epsilon}(\mathcal{S}) for every i∈[q]i\in[q].

Furthermore, let Z:=⋃i=q+1rCiZ:=\bigcup_{i=q+1}^{r}C_i be the union of the null cells and, for any η∈(0,1/2)\eta\in(0,1/2), define the exception set Bη:=Z∪⋃i=1qBi(η)B_{\eta}:=Z\cup\bigcup_{i=1}^{q}B_i(\eta), where

Bi(η):={x∈X:∣si(x)−χi(x)∣>η}.(9)B_i(\eta):=\{x\in\mathcal{X}:|s_i(x)-\chi_i(x)|>\eta\}. \tag*{(9)}

Then the measure of the exception set satisfies μ(Bη)≤1η2∑i=1qδi2\mu(B_{\eta})\leq\frac{1}{\eta^2}\sum_{i=1}^{q}\delta_i^2. Finally, for all x,y∈X∖Bηx,y\in\mathcal{X}\setminus B_{\eta}, we have

f(x)=f(y), ∀f∈Einvϵ(S)⟹ω(x)=ω(y).(10)f(x)=f(y),\ \forall f\in E_{\mathrm{inv}}^{\epsilon}(\mathcal{S})\Longrightarrow\omega(x)=\omega(y). \tag*{(10)}

Equivalently, outside BηB_{\eta}, the partition Pϵ\mathcal{P}_{\epsilon} induced by Einvϵ(S)E_{\mathrm{inv}}^{\epsilon}(\mathcal{S}) is finer than the omega-limit partition Pω\mathcal{P}_{\omega}.

Proof: We split the proof into three parts.

Part 1: (Each approximating indicator is an approximate invariant observable) Let i∈[q]i\in[q]. Since χi\chi_i is an exact invariant observable, Kχi=χi\mathcal{K}\chi_i=\chi_i, we have Ksi−si=K(si−χi)−(si−χi)\mathcal{K}s_i-s_i=\mathcal{K}(s_i-\chi_i)-(s_i-\chi_i). By the triangle inequality and (7),

∥Ksi−si∥L2(μ)≤∥K(si−χi)∥L2(μ)+∥si−χi∥L2(μ)≤βiδi+δi=(βi+1)δi.\lVert\mathcal{K}s_i-s_i\rVert_{L_2(\mu)}\leq\lVert\mathcal{K}(s_i-\chi_i)\rVert_{L_2(\mu)}+\lVert s_i-\chi_i\rVert_{L_2(\mu)} \leq\beta_i\delta_i+\delta_i=(\beta_i+1)\delta_i.

Next, using Kχi=χi⟹∥Kχi∥=∥χi∥=μ(Ci)\mathcal{K}\chi_i=\chi_i\Longrightarrow\lVert\mathcal{K}\chi_i\rVert=\lVert\chi_i\rVert=\sqrt{\mu(C_i)},

∥Ksi∥L2(μ)≥∥Kχi∥L2(μ)−∥K(si−χi)∥L2(μ)≥μ(Ci)−βiδi.\lVert\mathcal{K}s_i\rVert_{L_2(\mu)}\geq\lVert\mathcal{K}\chi_i\rVert_{L_2(\mu)}-\lVert\mathcal{K}(s_i-\chi_i)\rVert_{L_2(\mu)} \geq\sqrt{\mu(C_i)}-\beta_i\delta_i.

The right-hand side is positive by (8). Hence

∥Ksi−si∥L2(μ)∥Ksi∥L2(μ)≤(βi+1)δiμ(Ci)−βiδi≤ϵ\frac{\lVert\mathcal{K}s_i-s_i\rVert_{L_2(\mu)}}{\lVert\mathcal{K}s_i\rVert_{L_2(\mu)}}\leq\frac{(\beta_i+1)\delta_i}{\sqrt{\mu(C_i)}-\beta_i\delta_i}\leq\epsilon

by (8). Therefore si∈Einvϵ(S)s_i\in E_{\mathrm{inv}}^{\epsilon}(\mathcal{S}).

Part 2: (The exception set has small measure) By Markov’s inequality [17 Thm. 6.17],

μ({x∈X:∣si(x)−χi(x)∣>η})≤∥si−χi∥L2(μ)2η2.\mu(\{x\in\mathcal{X}:|s_i(x)-\chi_i(x)|>\eta\})\leq\frac{\lVert s_i-\chi_i\rVert_{L_2(\mu)}^2}{\eta^2}.

Using (7), we deduce that μ(Bi(η))≤δi2η2\mu(B_i(\eta))\leq\frac{\delta_i^2}{\eta^2}. Moreover, μ(Z)≤∑i=q+1tμ(Ci)=0\mu(Z)\leq\sum_{i=q+1}^{t}\mu(C_i)=0. Since Bη=Z∪⋃i=1qBi(η)B_{\eta}=Z\cup\bigcup_{i=1}^{q}B_i(\eta),

⟹μ(Bη)≤μ(Z)+∑i=1qμ(Bi(η))≤1η2∑i=1qδi2.\Longrightarrow\mu(B_{\eta})\leq\mu(Z)+\sum_{i=1}^{q}\mu(B_i(\eta))\leq\frac{1}{\eta^2}\sum_{i=1}^{q}\delta_i^2.

Part 3: (Separation outside the exception set) Let x,y∈X∖Bηx,y\in\mathcal{X}\setminus B_{\eta}. Since Z⊆BηZ\subseteq B_{\eta}, neither xx nor yy belongs to a null cell, so x,y∈⋃i=1qCix,y\in\bigcup_{i=1}^{q}C_i. We prove the contrapositive. Suppose ω(x)≠ω(y)\omega(x)\neq\omega(y), so xx and yy lie in different omega-limit cells. This means that there is an index i∈[q]i\in[q] such that x∈Cix\in C_i and y∉Ciy\notin C_i; in particular, the approximating observable sis_i exists. Since x∉Bηx\notin B_{\eta}, in particular x∉Bi(η)x\notin B_i(\eta), and using χi(x)=1\chi_i(x)=1, we get

∣si(x)−χi(x)∣≤η⟹si(x)≥1−η.(11)|s_i(x)-\chi_i(x)|\leq\eta\Longrightarrow s_i(x)\geq1-\eta. \tag*{(11)}

Similarly, since y∉Bi(η)y\notin B_i(\eta) and χi(y)=0\chi_i(y)=0,

∣si(y)−χi(y)∣≤η⟹si(y)≤η.(12)|s_i(y)-\chi_i(y)|\leq\eta\Longrightarrow s_i(y)\leq\eta. \tag*{(12)}

Since η<1/2\eta<1/2, we have 1−η>η1-\eta>\eta, and therefore si(x)≠si(y)s_i(x)\neq s_i(y). Since, from Part 1, si∈Einvϵ(S)s_i\in E_{\mathrm{inv}}^{\epsilon}(\mathcal{S}), this proves the contrapositive, i.e., there exists an observable in Einvϵ(S)E_{\mathrm{inv}}^{\epsilon}(\mathcal{S}) that separates xx and yy.

Basically, Theorem 5.1 says that if the approximation error (7) is small enough relative to the measure of the cell, then the approximate invariants form a refinement of the omega-limit partition outside a small exception set (10). As a consequence of Theorem 5.1, the cells of Pϵ\mathcal{P}_{\epsilon} can be merged to recover the coarser omega-limit partition. Several remarks are in order to interpret the implications of this result.

Remark 5.2: (Choice of dictionary functions): The result hinges upon the existence of functions si∈Ss_i\in\mathcal{S} that approximate the indicator functions χi\chi_i of the omega-limit cells CiC_i reasonably well, as quantified by the conditions in (7). If these conditions are met, then the subspace S\mathcal{S} contains approximate invariant observables that nearly separate those cells. This suggests using dictionaries rich enough to approximate piecewise-constant functions, since the target indicators are discontinuous across cell boundaries.

Remark 5.3: (Interpretation of the approximation conditions): The smallness condition is equivalently written as

(βi+1)δiμ(Ci)−βiδi≤ϵ⟺δi≤ϵμ(Ci)βi+1+ϵβi.\frac{(\beta_i+1)\delta_i}{\sqrt{\mu(C_i)}-\beta_i\delta_i}\leq\epsilon\Longleftrightarrow\delta_i\leq\frac{\epsilon\sqrt{\mu(C_i)}}{\beta_i+1+\epsilon\beta_i}.

Thus, for small ϵ\epsilon, the dictionary must approximate the indicator of each omega-limit cell accurately. The approximation requirement is stricter for small-measure cells. The measure of the exception set can be made arbitrarily small by improving the approximation quality of the indicators.

Remark 5.4: (Regarding the boundedness of K\mathcal{K}): If the Koopman operator K\mathcal{K} is well defined on L2(μ)L_2(\mu), then one can restrict it to the finite-dimensional subspace S+span⁡{χi}\mathcal{S}+\operatorname{span}\{\chi_i\}, where it is also bounded. The condition ∥K(si−χi)∥L2(μ)≤βiδi\lVert\mathcal{K}(s_i-\chi_i)\rVert_{L_2(\mu)}\leq\beta_i\delta_i for i∈[q]i\in[q] can be satisfied by choosing βi\beta_i to be the corresponding operator norm.

Construction of the approximate partition

This section describes our approach to construct the approximation of the true omega-limit partition Pω\mathcal{P}_{\omega}. We begin by outlining how to compute a dictionary of approximate invariant observables from data, cf. Section VI-A. Next, we describe how to combine the cells of Pϵ\mathcal{P}_{\epsilon} to recover the coarser stationary partition Pω\mathcal{P}_{\omega}. The key point in doing this is that the elements of Einvϵ(S)E_{\mathrm{inv}}^{\epsilon}(S) are only approximately invariant. Consequently, their exact level sets are not expected to be forward invariant. However, their values should change only mildly along one-step transitions. Our post-processing algorithm exploits this distinction: it first constructs an intermediate empirical partition from the values of the approximate invariants, cf. Section VI-B, and then merges cells that are close in invariant-observable value space or connected by one-step transitions, cf. Section VI-C. Finally, we robustify the resulting cells by discarding points near their boundaries, cf. Section VI-D. This significantly boosts the classification accuracy of the retained cells.

Computing the approximate invariant observables

We first compute the approximate invariant observables Einvϵ(S)E_{\mathrm{inv}}^{\epsilon}(S) from data. Given the dictionary Ψ={ψ1,…,ψs}\Psi=\{\psi_1,\ldots,\psi_s\} generating the subspace SS, a candidate observable is

fc(x)=Ψ(x)c:=∑j=1scjψj(x),c∈Rs.(13)f_c(x)=\Psi(x)c:=\sum_{j=1}^{s}c_j\psi_j(x),\qquad c\in\mathbb{R}^{s}. \tag*{(13)}

Given snapshot pairs Ddata={(xi,yi)}i=1ND_{\mathrm{data}}=\{(x_i,y_i)\}_{i=1}^{N}, define

Ψ(X)ij:=ψj(xi),Ψ(Y)ij:=ψj(yi).(14)\Psi(X)_{ij}:=\psi_j(x_i),\qquad\Psi(Y)_{ij}:=\psi_j(y_i). \tag*{(14)}

Set MΨ:=(Ψ(Y)−Ψ(X))T(Ψ(Y)−Ψ(X))M_{\Psi}:=(\Psi(Y)-\Psi(X))^{\mathsf{T}}(\Psi(Y)-\Psi(X)) and NΨ:=Ψ(Y)TΨ(Y)N_{\Psi}:=\Psi(Y)^{\mathsf{T}}\Psi(Y). Then

min⁡fc∈SKfc≠0∥Kfc−fc∥L2(μ)2∥Kfc∥L2(μ)2=min⁡c∈RsΨ(Y)c≠0cTMΨccTNΨc.(15)\min_{\substack{f_c\in S\\Kf_c\ne0}}\frac{\lVert Kf_c-f_c\rVert_{L^2(\mu)}^2}{\lVert Kf_c\rVert_{L^2(\mu)}^2} = \min_{\substack{c\in\mathbb{R}^{s}\\\Psi(Y)c\ne0}}\frac{c^{\mathsf{T}}M_{\Psi}c}{c^{\mathsf{T}}N_{\Psi}c}. \tag*{(15)}

Thus, approximate invariants are obtained from the solution of a generalized eigenvalue problem:

MΨc=λNΨc.(16)M_{\Psi}c=\lambda N_{\Psi}c. \tag*{(16)}

Let c1,…,crc_1,\ldots,c_r be the retained eigenvectors satisfying λ≤ϵ2\lambda\le\epsilon^2 and define fj(x):=Ψ(x)cjf_j(x):=\Psi(x)c_j, for j∈[r]j\in[r]. Then we have

{f1,…,fr}∈Einvϵ(S)(17)\{f_1,\ldots,f_r\}\in E_{\mathrm{inv}}^{\epsilon}(S) \tag*{(17)}

Partition by clustering invariant observables

The partition Pϵ\mathcal{P}_{\epsilon} is defined by equality of all functions in Einvϵ(S)E_{\mathrm{inv}}^{\epsilon}(S), cf. (6). Our goal is to create a coarser partition to better approximate Pω\mathcal{P}_{\omega}. To do this, we begin by clustering the data points according to the values of the approximate invariant observables f1,…,frf_1,\ldots,f_r. For each j∈[r]j\in[r] and i∈[N]i\in[N], we evaluate fjf_j on the data uij:=fj(xi)u_i^j:=f_j(x_i). For a given integer kjk_j, we cluster the scalar values {uij}i=1N\{u_i^j\}_{i=1}^{N} into sets I1j,…,Ikjj⊂R\mathcal{I}_1^j,\ldots,\mathcal{I}_{k_j}^j\subset\mathbb{R}. The numbers kjk_j may be chosen larger than the expected number of omega-limit cells, since subsequent steps merge the resulting over-refinement.

For each data point xix_i, define the scalar cluster label

aj(i)=ℓ⟺fj(xi)∈Iℓj.(18)a_j(i)=\ell\quad\Longleftrightarrow\quad f_j(x_i)\in\mathcal{I}_{\ell}^{j}. \tag*{(18)}

The vector of scalar labels of the data point xix_i is given by

a(xi):=(a1(i),…,ar(i))∈[k1]×⋯×[kr](19)a(x_i):=(a_1(i),\ldots,a_r(i))\in[k_1]\times\cdots\times[k_r] \tag*{(19)}

For a new point x∈Xx\in\mathcal{X}, we use the same notation a(x)a(x) for the label vector obtained by evaluating each fj(x)f_j(x) and assigning it to the appropriate cluster Iℓj\mathcal{I}_{\ell}^{j}.

Note that we choose to not explicitly enumerate all ∏j=1rkj\prod_{j=1}^{r}k_j possible label vectors as this would exponentially increase the number of cells. Instead, we keep only the label vectors that occur in the dataset, A:={a(xi):i∈[N]}\mathcal{A}:=\{a(x_i):i\in[N]\}. This has a disadvantage that for a new point x∈Xx\in\mathcal{X}, the label vector a(x)a(x) may not belong to A\mathcal{A}. We assume that we have enough data points so that the measure of the set of points with label vectors not in A\mathcal{A} is negligible.

For α∈A\alpha\in\mathcal{A}, define the cell Cα:={x∈X:a(x)=α}C_{\alpha}:=\{x\in\mathcal{X}:a(x)=\alpha\}. With a slight abuse of notation, we refer to the collection PA:={Cα:α∈A}\mathcal{P}_{\mathcal{A}}:=\{C_{\alpha}:\alpha\in\mathcal{A}\} as the “partition” generated by sampled data. Recall that Pϵ\mathcal{P}_{\epsilon} is the partition induced by equality of all functions in Einvϵ(S)E_{\mathrm{inv}}^{\epsilon}(S), cf. (6). Pϵ\mathcal{P}_{\epsilon} is finer than PA\mathcal{P}_{\mathcal{A}}, because the latter is defined by clustering the values of the functions in Einvϵ(S)E_{\mathrm{inv}}^{\epsilon}(S). Also, we note that PA\mathcal{P}_{\mathcal{A}} need not cover the entire set X\mathcal{X} and hence is not a true partition of X\mathcal{X}.

Merging the partition

For each occupied cell, let C^α={xi∈Ddata:a(xi)=α}\widehat{C}_{\alpha}=\{x_i\in D_{\mathrm{data}}:a(x_i)=\alpha\} be the corresponding empirical cell. Note that C^α\widehat{C}_{\alpha} is different from CαC_{\alpha} because the former is a collection of the data points only. Define its empirical weight and embedding centroid by

wα:=∣C^α∣N,mα:=1∣C^α∣∑xi∈C^αF(xi),(20)w_{\alpha}:=\frac{|\widehat{C}_{\alpha}|}{N},\qquad m_{\alpha}:=\frac{1}{|\widehat{C}_{\alpha}|}\sum_{x_i\in\widehat{C}_{\alpha}}F(x_i), \tag*{(20)}

where F(x)=(f1(x),…,fr(x))F(x)=(f_1(x),\ldots,f_r(x)) is the embedding of xx in the space of approximate invariants. The weight wαw_{\alpha} is measure of CαC_{\alpha} under the empirical measure L2(μ)L_2(\mu).

For a given occupancy threshold τocc\tau_{\mathrm{occ}}, cells satisfying wα<τoccw_{\alpha}<\tau_{\mathrm{occ}} are treated as low-occupancy cells and discarded. This is important because low occupancy cells are likely to be spurious and not representative of the underlying dynamics. Moreover, retaining them creates problems with the merging procedure described below, cf. Remark 6.1.

Let Aocc\mathcal{A}_{\mathrm{occ}} be the set of occupied labels corresponding to the retained cells, and let PAocc={Cα:wα≥τocc}\mathcal{P}_{\mathcal{A}_{\mathrm{occ}}}=\{C_{\alpha}:w_{\alpha}\ge\tau_{\mathrm{occ}}\} be the corresponding retained partition. Next, we merge the cells of PAocc\mathcal{P}_{\mathcal{A}_{\mathrm{occ}}} to create a coarser partition. In order to do this, we construct a merge graph Gmerge=(Aocc,Emerge)\mathcal{G}_{\mathrm{merge}}=(\mathcal{A}_{\mathrm{occ}},E_{\mathrm{merge}}) whose nodes are the retained fine cells. We describe how to add edges to the merge graph based on transition and value criteria. The final partition is obtained by taking the connected components of this graph. In order to visualize the procedure as we present it, we provide Figure 1 to illustrate the two-stage merge used in our implementation: transition-based edges on fine cells, followed by value-based edges between centroids of the transition-merged components.

Figure 1. Schematic of the two-stage merge procedure. Fine cells C1,…,C6C_1,\ldots,C_6 are first formed by clustering approximate invariant observables and dropping low occupancy cells based on τocc\tau_{\mathrm{occ}}. The obtained approximate partition is {D^1,D^2}\{\widehat{D}_1,\widehat{D}_2\}.

Transition-based merging

Because we seek to approximate the ω\omega-limit partition, each one-step pair (xi,yi)(x_i,y_i) is expected to remain within a single omega-limit cell. For α,β∈Aocc\alpha,\beta\in\mathcal{A}_{\mathrm{occ}}, define the transition count

nαβ:=∣{i∈[N]:xi∈Cα, yi∈Cβ}∣.(21)n_{\alpha\beta} := \left|\{i \in[N] : x_i \in C_\alpha,\ y_i \in C_\beta\}\right|. \tag*{(21)}

The empirical transition probability from CαC_\alpha to CβC_\beta is then pαβ:=nαβ/nαp_{\alpha\beta} := n_{\alpha\beta}/n_\alpha, where nα:=∣C^α∣n_\alpha:= |\widehat{C}_\alpha|. If CαC_\alpha and CβC_\beta were cells of a stationary partition, then transitions from one to the other would not occur. Because the partition POocc\mathcal{P}_{\mathcal{O}_{\mathrm{occ}}} is built from approximate invariants, frequent transitions between two cells indicate that the cells are fragments of the same omega-limit cell. Hence, we add an edge between α,β\alpha,\beta when max⁡{pαβ,pβα}≥τtr\max\{p_{\alpha\beta},p_{\beta\alpha}\} \geq\tau_{\mathrm{tr}}, where τtr>0\tau_{\mathrm{tr}} > 0 is a transition threshold.

Remark 6.1: (Regarding τocc\tau_{\mathrm{occ}}): The occupancy threshold guards the transition criterion: since pαβ=nαβ/nαp_{\alpha\beta}=n_{\alpha\beta}/n_\alpha, a cell with very few samples can exceed τtr\tau_{\mathrm{tr}} after only one or two transitions. Low-occupancy cells that straddle a separatrix therefore transition into several basins and can act as bridges that merge distinct omega-limit cells. □

Value-based merging

We also add edges based on the values of the approximate invariants. If the centroids of two cells are close in invariant-observable value space, then the two cells may represent the same omega-limit cell. Indeed, approximate invariants are expected to be nearly constant on each omega-limit cell, so points in the same omega-limit cell should have similar invariant-observable values. Consequently, we add an edge between α,β∈Aocc\alpha,\beta\in\mathcal{A}_{\mathrm{occ}} whenever ∥mα−mβ∥2≤τval\|m_\alpha-m_\beta\|_2 \leq\tau_{\mathrm{val}}, where mαm_\alpha and mβm_\beta are the centroids defined in (20) and τval\tau_{\mathrm{val}} is a user-defined threshold.

Boosting classification accuracy

Once all edges have been added, we let M1,…,ML\mathcal{M}_1,\ldots,\mathcal{M}_L be the connected components of GmergeG_{\mathrm{merge}} and define

Dℓ:=⋃α∈MℓCα,ℓ∈[L].(22)D_\ell:= \bigcup_{\alpha\in\mathcal{M}_\ell} C_\alpha,\qquad\ell\in[L]. \tag*{(22)}

Before returning these cells as the desired approximate partition, we introduce a parameter τrobust\tau_{\mathrm{robust}} that trades off the set of points the approximate partition covers for confidence in the cells it returns. We shrink the region covered by the partition to ensure that, outside the exception set, the partition matches the true omega-limit partition.

The need for this parameter comes from the fact that the scalar clusters Iℓj\mathcal{I}_\ell^j are learned from data. Their endpoints only approximate the true boundaries between omega-limit cells, so misclassifications concentrate in a thin band around those endpoints at which the merged cell changes, while points deep inside a merged cell are classified correctly. Since each DℓD_\ell is a union of cells CαC_\alpha, it induces new scalar clusters along each coordinate. For α∈Mℓ\alpha\in\mathcal{M}_\ell and j∈[r]j \in[r], let Tαj⊂R\mathcal{T}_{\alpha}^j \subset\mathbb{R} be the union of the consecutive scalar clusters Tmj\mathcal{T}_m^j containing Iαjj\mathcal{I}_{\alpha_j}^j that are obtained by varying only the jj-th entry of α\alpha while remaining in Mℓ\mathcal{M}_\ell. In words, Tαj\mathcal{T}_{\alpha}^j is the interval of values of fjf_j over which the merged cell of α\alpha does not change when the other coordinates are held fixed. We fix τrobust∈[0,1)\tau_{\mathrm{robust}} \in[0,1) and let T~αj⊂Tαj\widetilde{\mathcal{T}}_{\alpha}^j \subset\mathcal{T}_{\alpha}^j be the interval obtained by removing a fraction τrobust\tau_{\mathrm{robust}} of the length of Tαj\mathcal{T}_{\alpha}^j from each of its endpoints at which the merged cell changes. The robustified merged cell is then

D~ℓ:=⋃α∈Mℓ{x∈Cα:fj(x)∈T~αj, j∈[r]}⊂Dℓ.(23)\widetilde{D}_\ell:= \bigcup_{\alpha\in\mathcal{M}_\ell}\left\{x\in C_\alpha: f_j(x)\in\widetilde{\mathcal{T}}_{\alpha}^j,\ j\in[r]\right\}\subset D_\ell. \tag*{(23)}

Points in Dℓ∖D~ℓD_\ell\setminus\widetilde{D}_\ell are not assigned to any cell. These are the points we are not confident about. Setting τrobust=0\tau_{\mathrm{robust}}=0 recovers D~ℓ=Dℓ\widetilde{D}_\ell=D_\ell. The resulting approximate partition is

P^:={D~1,…,D~L}.(24)\widehat{\mathcal{P}}:=\{\widetilde{D}_1,\ldots,\widetilde{D}_L\}. \tag*{(24)}

Overall, the procedure starts from Pϵ\mathcal{P}_\epsilon and returns P^\widehat{\mathcal{P}}, where Pϵ\mathcal{P}_\epsilon is finer than P^\widehat{\mathcal{P}}. This construction is designed to preserve distinctions supported by the joint invariant-observable embedding while removing spurious fragmentation caused by approximate invariance, numerical noise, and over-clustering. The entire procedure is summarized in Algorithm 1.

Algorithm 1 OPAL: Approximating the ω\omega-limit partition
Require: Snapshot pairs {(xi,yi)}i=1N\{(x_i,y_i)\}_{i=1}^{N}, dictionary Ψ={ψ1,…,ψs}\Psi=\{\psi_1,\ldots,\psi_s\}, tolerance ϵ\epsilon, scalar cluster counts k1,…,krk_1,\ldots,k_r, thresholds τocc,τtr,τval\tau_{\mathrm{occ}},\tau_{\mathrm{tr}},\tau_{\mathrm{val}}, margin τrobust\tau_{\mathrm{robust}}.
1: Form MΨM_\Psi, NΨN_\Psi and solve the GEP (16).
2: Select eigenvectors c1,…,crc_1,\ldots,c_r satisfying λ≤ϵ2\lambda\leq\epsilon^2 and define fj(x)=Ψ(x)cjf_j(x)=\Psi(x)c_j for j∈[r]j\in[r].
3: For each j∈[r]j\in[r], cluster {fj(xi)}i=1N\{f_j(x_i)\}_{i=1}^{N} into I1j,…,Ikjj\mathcal{I}_1^j,\ldots,\mathcal{I}_{k_j}^j.
4: For each xix_i, compute the multi-index a(xi)=(a1(i),…,ar(i))a(x_i)=(a_1(i),\ldots,a_r(i)) induced by the scalar clusters.
5: Form only the occupied fine cells C^α={xi:a(xi)=α}\widehat{C}_\alpha=\{x_i:a(x_i)=\alpha\} for α∈A={a(i):i∈[N]}\alpha\in\mathcal{A}=\{a(i):i\in[N]\}.
6: Compute cell weights wα=∣C^α∣/Nw_\alpha=|\widehat{C}_\alpha|/N and embedding centroid mαm_\alpha. Retain cells with wα≥τoccw_\alpha\geq\tau_{\mathrm{occ}}.
7: Build a merge graph with one node per retained fine cell.
8: Add edges (α,β)(\alpha,\beta) based on τtr\tau_{\mathrm{tr}} and τval\tau_{\mathrm{val}}.
9: Compute the connected components M1,…,ML\mathcal{M}_1,\ldots,\mathcal{M}_L and the merged cells D1,…,DLD_1,\ldots,D_L in (22).
10: Form the robustified cells D~1,…,D~L\widetilde{D}_1,\ldots,\widetilde{D}_L in (23).
11: Return the approximate partition P^={D~1,…,D~L}\widehat{\mathcal{P}}=\{\widetilde{D}_1,\ldots,\widetilde{D}_L\}.

Table 1.

Simulation Results

We demonstrate the proposed approach on two systems with multiple asymptotic behaviors[2]. All simulations are performed in Python 3.11.4 on a machine with an Apple M1 Pro chip and 16 GB of RAM. The simulations run in less than a minute including the generalized eigenvalue problem and the post-processing steps.

DuffingBistable osc.
Trajectories ×\times time steps500×100500 \times100500×50500 \times50
Initial conditions[−2,2]2[-2, 2]^2[0,4]×[0,2π][0, 4] \times[0, 2\pi]
Snapshot pairs NN5×1045 \times10^42.5×1042.5 \times10^4
Partition (Algorithm 1)
RBF width γ\gamma305
Polynomial degree03
Tolerance ϵ\epsilon10−410^{-4}10−410^{-4}
Cluster counts (k1,k2)(k_1, k_2)(2,4)(2, 4)(1,4)(1, 4)
τocc\tau_{\mathrm{occ}}2×10−32 \times10^{-3}8×10−48 \times10^{-4}
τtr\tau_{\mathrm{tr}}5×10−35 \times10^{-3}0.1
τval\tau_{\mathrm{val}}06×10−36 \times10^{-3}
τrobust\tau_{\mathrm{robust}}0.050.2
Training snapshots dropped1.8%0.84%
Regional and vanilla EDMD
RBF centers100100
RBF width γ\gamma11
Polynomial degree66
Prediction horizon400300
Validation trajectories4797

Table 1 (PDF p. 7). Data, partition, and EDMD parameters for the two examples. Validation trajectories are those with correctly classified initial conditions used for the rollout errors.

Setup

Consider the damped Duffing oscillator

x˙1=x2,x˙2=−δx2+αx1−βx13,(25)\dot{x}_1 = x_2,\quad\dot{x}_2 = -\delta x_2 + \alpha x_1 - \beta x_1^3, \tag*{(25)}

with parameters δ=0.5\delta= 0.5, α=1.0\alpha= 1.0, and β=1.0\beta= 1.0. The system has two stable equilibria at (±α/β,0)(\pm\sqrt{\alpha/\beta}, 0) and an unstable equilibrium at (0,0)(0, 0), so trajectories converge to one of two equilibrium points.

Next, consider the bistable oscillations model

r˙=(r−2)−(r−2)3,θ˙=1.(26)\dot{r} = (r - 2) - (r - 2)^3,\quad\dot{\theta} = 1. \tag*{(26)}

This system has two stable limit cycles at r=1,3r = 1, 3 and an unstable limit cycle at r=2r = 2, so trajectories converge to one of two disjoint ω\omega-limit sets. Initial conditions are drawn uniformly in polar coordinates (r,θ)(r, \theta); we convert to Cartesian coordinates for data collection and partition learning, which makes the problem harder.

In both examples, we simulate 500 trajectories from random initial conditions, sampling every Δt=0.05\Delta t = 0.05, to obtain one-step snapshot pairs. To recover the partition (Algorithm 1), we use a dictionary of s=500s = 500 Gaussian RBFs ϕ(x)=exp⁡(−γ∥x−c∥2)\phi(x) = \exp(-\gamma\lVert x - c \rVert^2) with k-means centers cc, augmented by polynomials up to a prescribed degree. All parameters are listed in Table I. Elements of the obtained partition P^\widehat{\mathcal{P}} are visualized in Figure 2 and Table II reports the resulting classification accuracy on validation snapshots.

Recovered $\omega$-limit partition and multiple regional Koopman prediction for the Duffing oscillator and bistable oscillations

Figure 2. Recovered ω\omega-limit partition and multiple regional Koopman prediction for (a) the Duffing oscillator and (b) the bistable oscillations. Snapshots are colored (orange and green) based on the robustified cell D~ℓ\widetilde{D}_{\ell}; gray points are dropped by τrobust\tau_{\mathrm{robust}}. True (black), regional EDMD (red, dashed), and vanilla EDMD (blue, dash-dotted) trajectories start from two initial conditions.

Each cell of the obtained partition P^\widehat{\mathcal{P}} is then used to build a regional EDMD model fit on the snapshots classified according to the cell label, using a separate dictionary of RBF centers subsampled from the training pool and polynomials. As a baseline, we also fit a single (vanilla) EDMD model with the same dictionary on all snapshot pairs, without using the partition. Figure 3 shows the relative rollout error on validation trajectories and Table II reports the mean relative rollout error at selected time steps.

Relative multi-step rollout error for the Duffing oscillator and bistable oscillations

Figure 3. Relative multi-step rollout error for (a) the Duffing oscillator and (b) the bistable oscillations. Thin lines are individual trajectories and thick lines the mean over trajectories for the regional (red) and vanilla (blue) EDMD models.

SystemModelAccuracyt=50t = 50t=300t = 300
Duffingregional100% (0.42%)22.616.4
regional*99.86% (0%)diverged (24 of 50)
vanilla—100.0255.0
Bistable osc.regional100% (0.23%)9.24.5
regional*99.90% (0%)18.86.1
vanilla—71.3118.0

Table 2. Classification accuracy of the recovered ω\omega-limit partition on the classified validation snapshots, with the fraction dropped by τrobust\tau_{\mathrm{robust}} in parentheses. Other columns report mean relative state error (×10−3\times10^{-3}) averaged over several trajectories at time step tt for correctly classified initial conditions. Rows marked * repeat the regional model with the robustness margin disabled (τrobust=0\tau_{\mathrm{robust}} = 0).

Remark 7.1 (Parameter Tuning): We increase γ\gamma until further increases no longer yield additional approximate invariant observables, i.e., until the number of eigenvectors of the GEP (16) with eigenvalue at most ϵ\epsilon stops growing. We then choose the scalar clustering integers k1,…,krk_1,\ldots,k_r. For the merging thresholds, we tune the transition threshold τtr\tau_{\mathrm{tr}} before using value-based merging. Specifically, we first set τval=0\tau_{\mathrm{val}} = 0 so that merging is driven only by observed transitions between fine cells. We then vary τtr\tau_{\mathrm{tr}}. Smaller values of τtr\tau_{\mathrm{tr}} produce more aggressive merging and, in the extreme, may collapse the partition to a single cell. Starting from a small value, we gradually increase τtr\tau_{\mathrm{tr}} until persistent cells appear and the resulting partition is approximately stationary on the data. After τtr\tau_{\mathrm{tr}} is fixed, the value-based threshold τval\tau_{\mathrm{val}} can be used as a secondary refinement parameter.

Observations

From Figure 3 and comparing the regional vs vanilla rows of Table II, we see an order of magnitude improvement in predictive performance when using regional EDMD models. In fact, the vanilla EDMD model has a large steady state error which can be attributed to trying to satisfy distinct asymptotic behaviors with one model. This is clearly visible in the phase portraits of Figure 2 as well.

Table II demonstrates that correctly tuned τrobust\tau_{\mathrm{robust}} values lead to perfect accuracy for the confident samples. With τrobust=0\tau_{\mathrm{robust}} = 0, the partition still classifies more than 99.8% of the validation snapshots correctly, but the few misclassified pairs near the boundary contaminate the regional EDMD models. For the Duffing oscillator, just 0.14% of the fit data give one local operator an unstable mode, and 24 of the 50 rollouts diverge even though their initial conditions are correctly classified. This demonstrates that other naive approaches to building ω\omega-limit partitions might succeed in giving almost accurate partitions but in order to create useful regional EDMD models, one needs perfect partitions albeit outside an exception set of the original state space.

Conclusions

Multiple omega-limit sets obstruct a single continuous finite-dimensional Koopman model, but not a collection of them. OPAL recovers the omega-limit partition from data, and our analysis explains why this is possible: outside a small exception set, approximate invariants err only by splitting cells, so merging fragments suffices. Partition quality crucial: regional EDMD models improve long-horizon prediction by an order of magnitude, yet a partition that is 99.8% correct can yield diverging models. Important open directions include automatic dictionary and threshold selection for higher-dimensional systems, performance guarantees for Algorithm 1, and the integration of recovered partitions into control design with Koopman representations.

References

  1. [1]B. O. Koopman, “Hamiltonian systems and transformation in Hilbert space,” Proceedings of the National Academy of Sciences, vol. 17, no. 5, pp. 315–318, 1931.pubmed.ncbi.nlm.nih.gov/16577368
  2. [2]I. Mezić, “Spectral properties of dynamical systems, model reduction and decompositions,” Nonlinear Dynamics, vol. 41, no. 1-3, pp. 309–325, 2005.DOI
  3. [3]M. Budisić, R. Mohr, and I. Mezić, “Applied Koopmanism,” Chaos, vol. 22, no. 4, p. 047510, 2012.DOI
  4. [4]O. M. Williams, I. G. Kevrekidis, and C. W. Rowley, “A data-driven approximation of the Koopman operator: Extending dynamic mode decomposition,” Journal of Nonlinear Science, vol. 25, no. 6, pp. 1307–1346, 2015.
  5. [5]B. Lusch, J. N. Kutz, and S. L. Brunton, “Deep learning for universal linear embeddings of nonlinear dynamics,” Nature Communications, vol. 9, no. 1, pp. 1–10, 2018.DOI
  6. [6]S. L. Brunton, M. Budisić, E. Kaiser, and J. N. Kutz, “Modern Koopman theory for dynamical systems,” SIAM Review, vol. 64, no. 2, pp. 229–340, 2022.arxiv.org/abs/2102.12086
  7. [7]Z. Liu, N. Ozay, and E. D. Sontag, “Properties of immersions for systems with multiple limit sets with implications to learning Koopman embeddings,” Automatica, vol. 176, p. 112226, 2025.arxiv.org/abs/2312.17045
  8. [8]S. P. Nandanoori, S. Sinha, and E. Yeung, “Data-driven operator theoretic methods for global phase space learning,” in American Control Conference, pp. 4551–4557, IEEE, 2020.arxiv.org/abs/1910.03011
  9. [9]G. Mamakoukas, M. Castano, X. Tan, and T. Murphey, “Local Koopman operators for data-driven control of robotic systems,” in Robotics: Science and Systems, (Freiburg, Germany), June 2019.DOI
  10. [10]J. Page and R. R. Kerswell, “Koopman mode expansions between simple invariant solutions,” Journal of Fluid Mechanics, vol. 879, pp. 1–27, 2019.DOI
  11. [11]S. Pan and K. Duraisamy, “On the lifting and reconstruction of nonlinear systems with multiple invariant sets,” Nonlinear Dynamics, vol. 112, no. 12, pp. 10157–10165, 2024.arxiv.org/abs/2304.11860
  12. [12]B. Umathe and U. Vaidya, “Spectral Koopman method for identifying stability boundary,” IEEE control systems letters, vol. 8, pp. 247–252, 2023.arxiv.org/abs/2312.06885
  13. [13]A. Mauroy, Y. Susuki, and I. Mezić, Koopman Operator in Systems and Control. New York: Springer, 2020.
  14. [14]Q. Li, F. Dietrich, E. M. Bolt, and I. G. Kevrekidis, “Extended dynamic mode decomposition with dictionary learning: A data-driven adaptive spectral decomposition of the Koopman operator,” Chaos, vol. 27, no. 10, p. 103111, 2017.DOI
  15. [15]I. P. Cornfeld, S. V. Fomin, and Y. G. Sinai, Ergodic Theory, vol. 245 of Grund­leh­ren der mathematischen Wissenschaften. New York: Springer, 1982.
  16. [16]S. Wiggins, Introduction to Applied Nonlinear Dynamic Systems and Chaos. Texts in Applied Mathematics, Springer, 2nd ed., 2003.
  17. [17]G. B. Folland, Real Analysis: Modern Techniques and Their Applications. New York: Wiley, 2nd ed., 1999.

Paper details

vlnc:W_k9ywp4qm
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 12

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Engineering

Not recorded for this paper

View statement
Looking for related papers…
Contents