Many nonlinear dynamical systems become linear if you look at them through the right set of functions of the state. A learned "dictionary" of such functions (observables) lets you predict and control the system with plain linear algebra. The standard way to keep these dictionaries small and noise-free is low-rank regularization: keep the directions with the largest singular values and discard the rest. That rule assumes the directions that carry the most energy are the ones that evolve linearly. For deterministic systems the assumption fails badly. On a chaotic attractor sampled from its invariant measure, the Koopman operator (the linear operator that advances any observable one time step) is unitary, so every direction has singular value one. Energy then gives no ordering at all, while prediction quality depends entirely on whether the chosen functions map into their own span.
We propose to train neural dictionaries whose rank is chosen by an invariance criterion instead of an energy criterion. The criterion is the worst-case principal angle between the dictionary evaluated at current states and at next states. This quantity is exactly the forward-backward consistency index that Temporal Forward-Backward Consistency, Not Residual Error, Measures the Prediction Accuracy of Extended Dynamic Mode Decomposition proved bounds the prediction error of every function in the span. That work gave the bound but no learning algorithm. Our contribution is the algorithm that learns dictionaries under the bound, together with a rank-selection rule set by a target error budget.
Core Claim
Extended Dynamic Mode Decomposition (EDMD) fits a matrix $K$ so that $\Psi(x_{t+1}) \approx K\Psi(x_t)$, where $\Psi$ is a vector of $r$ dictionary functions. Let $\Psi_X$ and $\Psi_Y$ be the $N \times r$ matrices of dictionary values on current and next snapshots. Suppose the dictionary is whitened so that $\Psi_X^\top\Psi_X/N = \Psi_Y^\top\Psi_Y/N = I$. Then the forward and backward least-squares operators are $K_F = C$ and $K_B = C^\top$, where $C = \Psi_X^\top\Psi_Y/N$. The consistency matrix $I - K_FK_B$ therefore has eigenvalues $\sin^2\theta_i$, where $\theta_i$ are the principal angles between the column spaces of $\Psi_X$ and $\Psi_Y$. This gives
$$I_C = \rho(I - K_FK_B) = 1 - \sigma_{\min}(C)^2,$$
where $\rho$ is the spectral radius and $\sigma_{\min}$ the smallest singular value. The cited paper's bound $\text{RRMSE} \le \sqrt{I_C}$ on relative root-mean-square error then reads: prediction error is controlled by the smallest singular value of the whitened cross-covariance.
Variational objectives of the VAMP family, and the nested low-rank objective of Efficient Parametric SVD of Koopman Operator for Stochastic Dynamical Systems, instead reward the largest singular values or their sum. They are energy criteria. For mixing stochastic systems, singular values decay and the two orderings roughly agree. For deterministic or weakly dissipative systems they come apart. Our claim is that in this regime, dictionaries learned to maximize the worst-case alignment, with rank set by the largest $r$ that meets an error budget, give lower multi-step error and fewer spurious eigenvalues than energy-ranked dictionaries of the same size. The advantage should shrink on stochastic benchmarks, and we predict where it will vanish.
Research Program
The learner is a neural network $\Psi_\theta$ with a generous output width, in the style of EDMD with dictionary learning (Extended dynamic mode decomposition with dictionary learning). That paper alternates Tikhonov-regularized least squares with gradient steps on a residual loss, and we take its architecture and alternation as the method we modify.
The training loss has three parts. The first is a soft minimum (a log-sum-exp with temperature annealed toward the hard minimum) over the singular values of $C$ computed on a mini-batch; we maximize it. The second is a pair of penalties $\|\Psi_X^\top\Psi_X/N - I\|_F^2$ and the same for $\Psi_Y$. These keep the dictionary whitened, so no Gram matrix is ever inverted. This is the same polynomial-penalty idea that let Efficient Parametric SVD of Koopman Operator for Stochastic Dynamical Systems avoid the ill-conditioned inversions that break VAMPnets. The third part is a reconstruction constraint: the raw state must be linearly recoverable from $\Psi$ with error below a tolerance.
The reconstruction term is not optional. Without it, the invariance objective is trivially satisfied by constants and conserved quantities, which are perfectly invariant and useless for prediction. We treat this collapse as the central failure mode to measure, not a detail to hide. Multi-lag versions of $C$ (current states versus states $k$ steps ahead) enter the soft minimum when the target is long-horizon forecasting.
Rank selection happens during training. After each epoch we compute the held-out singular values of $C$ and keep the largest $r$ with $1-\sigma_r^2 \le \epsilon^2$, where $\epsilon$ is the user's target relative error, read directly off the bound. Directions that fail the test are dropped, and fresh output units are reinitialized. The dictionary thus grows and prunes itself. This is the step that separates the method from Learning Koopman Eigenfunctions and Invariant Subspaces From Data: Symmetric Subspace Decomposition, which can only prune a fixed, predefined pool.
The project differs from each piece of prior work on one axis. Consistent Dynamic Mode Decomposition enforces forward-backward consistency with ADMM, but on fixed state snapshots, and names basis selection as future work; we move consistency into the dictionary's training loss. A Data Driven, Convex Optimization Approach to Learning Koopman Operators finds minimal-order realizations through nuclear-norm SDPs over rational bases, which limits scale; we use first-order training over neural bases and select rank by invariance instead of nuclear norm. The factored low-rank analysis of Dropping Convexity for Faster Semi-definite Optimization. motivates restricting rank during optimization rather than after it, and our grow-and-prune rule follows that principle.
We also address the tension raised by Koopman-based generalization bound: New aspect for full-rank weights, which argues that inner layers should stay full-rank and well-conditioned. We place the rank decision only at the dictionary output and keep hidden layers unconstrained. One ablation adds low-rank constraints to the hidden layers to test whether that hurts.
Baselines
The naive reference is EDMD on a fixed dictionary (polynomials for Polyflow and Duffing, radial basis functions for Lorenz, Fourier modes for Kuramoto-Sivashinsky), truncated to rank $r$ by reduced-rank regression. This is the classical "handcrafted basis plus low-rank filter" recipe, the nonlinear analogue of the reduced-rank models in Characteristic Root Analysis and Regularization for Linear Time Series Forecasting. It is run at every rank we report for our method.
EDMD-DL with Tikhonov regularization (Extended dynamic mode decomposition with dictionary learning) is the reference learned dictionary trained on residual error. It uses the same network, same data, and same number of gradient steps. The file gives only a qualitative result for it: 25 learned elements beat 250 hand-picked ones on Duffing, with no numeric value.
The strongest competitor is the nested low-rank objective of Efficient Parametric SVD of Koopman Operator for Stochastic Dynamical Systems. It already learns an ordered, inversion-free, low-rank Koopman basis, so the only difference from our method is energy versus invariance ordering. No reported number was found on Lacuna for it on Ordered MNIST, Langevin, or Chignolin. The paper states qualitatively that it achieved significantly lower 15-step RMSE than VAMPnet and DPNet on Ordered MNIST, and was the only method that converged reliably on Chignolin. We will rerun it with its sequential nesting at matched rank, width, and hyperparameter budget, with 30 trials of random search for every method.
We also include a two-stage baseline: EDMD-DL followed by approximated Symmetric Subspace Decomposition pruning of the learned dictionary.
The key ablation keeps our exact training pipeline but swaps the rank rule to "keep the top-$r$ singular values of $C$." This isolates the ordering criterion from every other design choice. A second ablation removes the reconstruction constraint to measure how often the dictionary collapses.
Beating the strongest baseline means lower median held-out multi-step relative RMSE at equal $r$ on at least the deterministic benchmarks, over five seeds, with non-overlapping interquartile ranges.
Why not just…?
Why not just use a fixed polynomial or RBF dictionary with reduced-rank regression? Reduced-rank regression truncates by energy, which is exactly the criterion we argue is uninformative on measure-preserving dynamics. Fixed dictionaries also scale poorly: EDMD-DL needed a tenth as many elements as hand-picked RBFs on Duffing, and fixed-basis EDMD diverged within about one second on cart-pole where learned eigenfunctions stayed accurate for two (Extended Dynamic Mode Decomposition with Learned Koopman Eigenfunctions for Prediction and Control). This baseline is run at every rank, so the comparison is direct.
Why not just run the nested low-rank objective of the parametric-SVD paper on deterministic systems? This is the real threat. If learned singular functions happen to be nearly invariant on Duffing or Kuramoto-Sivashinsky, our method adds nothing. The ordering ablation settles it: if energy-ordered and invariance-ordered truncations give the same multi-step error on deterministic benchmarks, we will report that and drop the claim. We expect them to agree on 1D Langevin, where the spectrum decays. If they diverge there too, our understanding of the mechanism is wrong.
Why not just train EDMD-DL and then prune its dictionary with Symmetric Subspace Decomposition? This two-stage pipeline uses the same invariance idea post hoc. It is a strong alternative and is included as a baseline. Our argument against it is specific: a dictionary trained on residual error can inflate coordinate scales without gaining invariance, as the consistency paper showed on its synthetic linear system. Pruning such a dictionary may leave very few invariant directions. The experiment compares the rank each method achieves at the same error budget $\epsilon$. If pruning recovers equal rank, joint training is unnecessary.
Why not just use linear rank-reduced models on raw states? Characteristic Root Analysis and Regularization for Linear Time Series Forecasting itself concedes that its theory cannot capture purely nonlinear phenomena. We include its Root Purge code on raw Lorenz and Kuramoto-Sivashinsky states as a floor, not as a competitor.
Proposed Experiments
The first decisive check is Polyflow from Learning Koopman Eigenfunctions and Invariant Subspaces From Data: Symmetric Subspace Decomposition, where the paper reports a 6-dimensional maximal invariant subspace with zero prediction error. Our rank rule with small $\epsilon$ must stop at six, with near-zero long-horizon error. Energy ordering, we predict, will select a different subspace.
The second check covers Duffing, Lorenz, and Kuramoto-Sivashinsky, reporting multi-step relative RMSE against horizon, the count of eigenvalues outside the unit disk, and the rank achieved at fixed $\epsilon$. Reference points from the file: the SDP approach identified Lorenz with a 7th-order model from 400 points versus 14th order for HAVOK, and Koopman Regularization reported 2.5% reconstruction error on Lorenz with two unit velocity measurements. We will compare the order our method needs at that error level, while noting that the metrics differ.
The third check tests the bound on learned dictionaries: we plot held-out $\sqrt{I_C}$ against realized error. A loose or violated bound under mini-batch estimation would undermine the rank rule.
The fourth check runs stochastic controls (1D Langevin, Ordered MNIST, Chignolin at 300K) to confirm that invariance and energy orderings converge where the spectrum decays. Noisy variants of the cylinder wake test robustness against Consistent DMD, which reported roughly five-fold lower reconstruction error than least squares at noise variance 0.25.
The project succeeds if invariance ordering wins on deterministic systems and ties on stochastic ones. It fails, and the note's thesis is refuted, if the ordering ablation shows no difference anywhere.
References
- Temporal Forward-Backward Consistency, Not Residual Error, Measures the Prediction Accuracy of Extended Dynamic Mode Decomposition
- Efficient Parametric SVD of Koopman Operator for Stochastic Dynamical Systems
- Extended dynamic mode decomposition with dictionary learning: A data-driven adaptive spectral decomposition of the Koopman operator
- Learning Koopman Eigenfunctions and Invariant Subspaces From Data: Symmetric Subspace Decomposition
- Consistent Dynamic Mode Decomposition
- A Data Driven, Convex Optimization Approach to Learning Koopman Operators
- Dropping Convexity for Faster Semi-definite Optimization
- Koopman-based generalization bound: New aspect for full-rank weights
- Characteristic Root Analysis and Regularization for Linear Time Series Forecasting
- Extended Dynamic Mode Decomposition with Learned Koopman Eigenfunctions for Prediction and Control
- Koopman Regularization