Submitted:
18 August 2025
Posted:
19 August 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. Main Contributions
1.2. Related Work and Positioning
1.3. Paper Organization
2. Mathematical Foundations
2.1. The -Streamably-Learnable Hierarchy
- Non-learnable if no α-averaged operator exists such that the fixed-point iteration converges to a solution of the optimization problem.
- Learnable if there exists an α-averaged operator with fixed point such that the iteration converges to for all .
-
Streamable at rank K if the problem is learnable and the residual mapping satisfies the uniform low-rank approximation property:for some bounded maps and approximation error .
2.2. Koopman Operator Theory for Dynamical Systems
- The dictionary is bounded: .
- The dictionary separates points: if , then .
- The dictionary contains a constant function: for all .
2.3. Connection Between ESL Theory and Koopman Operators
- The spectral radius satisfies .
- There exists a norm on such that K is a strict contraction: for some and all .
- The operator is α-averaged for some in an appropriately chosen norm.
2.4. Streamability and Low-Rank Structure
- Memory complexity: Storage reduces from to .
- Computational complexity: Matrix-vector products reduce from to operations.
- Update complexity: Streaming updates require operations per sample for TSQR orthonormalization instead of for batch recomputation.
3. Main Theoretical Results
3.1. Learnability-Contractivity Equivalence
- (i)
- (Koopman-learnable).
- (ii)
- There exists a weighted norm such that K is a strict contraction: for some .
3.2. Constructive Density Theorem for Koopman Systems
- The approximation error is bounded: .
- The rank-r system is Koopman-streamable.
- The closed-loop performance degradation is bounded: if is a stabilizing controller for the original system, then the same controller applied to the rank-r system maintains stability with performance degradation .
3.3. Error Propagation and Robustness Analysis
3.4. Constructive Algorithm for Streamable Approximation
- Error bound: .
- Stability preservation: .
- Streamability: The system admits streaming updates.
| Algorithm 1 Single-Loop Adaptive Streaming Koopman Control (ASKC) |
|
4. Streaming Algorithm for Real-Time Koopman Learning
4.1. Streaming EDMD with Low-Rank Factorization
4.2. Convergence Analysis
- The lifted states are bounded: .
- The control inputs are bounded: .
- The data satisfies a persistence of excitation condition: there exist constants such that for all T sufficiently large:
- Bounded support: with as .
- Sufficient excitation: The dithering ensures that the augmented data matrix maintains persistent excitation for identifiability of the low-rank factors .
- Decay rate: with to balance exploration and exploitation.
-
Almost sure convergence: With probability 1,where are the true EDMD matrices.
- Convergence rate: The mean-squared error satisfies
-
Finite-sample bound: For any , with probability at least ,for some constant C depending on the system parameters.
4.3. Computational Complexity Analysis
- Memory complexity: for storing the factors .
- Time complexity per sample: for the main updates, plus for orthonormalization.
- Total time complexity for T samples: .
- Memory complexity: for storing matrices and data.
- Time complexity: for matrix operations and SVD.
- Computing : for and , plus for .
- Computing error : .
- Updating and : each.
- Orthonormalization: using QR decomposition.
- Updating : .
- Streaming: Memory , Time .
- Batch: Memory , Time .
4.4. Adaptive Rank Selection
- Orthogonality preservation: The factors and remain orthonormal after rank adjustments.
- Approximation quality: Rank expansion reduces the prediction error by at least .
- Computational efficiency: Rank contraction removes the least significant factor, minimizing the impact on approximation quality.
- Stability: The rank adjustment process is stable and does not cause oscillations when the thresholds are chosen appropriately.
5. Stability Analysis and Controller Synthesis
5.1. Controller Design on Finite-Rank Surrogates
5.1.1. LQR Design on the Surrogate
5.1.2. MPC Design on the Surrogate
5.2. Robustness Analysis for True Plant Deployment
5.2.1. Error Decomposition
- Koopman modeling error: for all t.
- Approximation error bounds: and .
- State and input bounds: and for all t.
- Total model mismatch:
- Disturbance bound: is the upper bound on modeling errors:
- Residual tracking: with forgetting factor
- Tube radius update: where is the desired contraction rate
5.2.2. Input-to-State Stability Analysis
5.3. Robust Model Predictive Control
5.3.1. Tube-Based Robust MPC
5.3.2. Robust MPC Formulation
5.4. Practical Design Guidelines
- Rank Selection: Choose the rank r such that the approximation error bound satisfies , where is the desired closed-loop contraction rate.
- Stability Margin: Design the nominal controller with sufficient stability margin: aim for to provide robustness against model uncertainties.
- Constraint Tightening: In MPC formulations, tighten state and input constraints by the size of the RPI set to account for model uncertainties.
- Online Monitoring: Continuously monitor the prediction error and adapt the rank or retrain the model if the error exceeds design thresholds.
- Graceful Degradation: Implement fallback controllers (e.g., simple PID or robust linear controllers) that activate if the Koopman model quality degrades beyond acceptable levels.
6. Implementation Algorithms and Computational Complexity
6.1. Complete Implementation Framework
6.2. Streaming Koopman Model Learning
6.3. Computational Complexity Analysis
- State lifting: for dictionary evaluation .
- Oja/PAST model updates: for matrix-vector products.
- TSQR orthonormalization: for tall-skinny QR decomposition.
- One Kleinman iteration: for DARE update (using low-rank structure).
- Safety projection QP: for small convex optimization.
- Control computation: for matrix-vector product .
- Streaming factors: for storage.
- Controller matrices: for and for .
- Working memory: for intermediate computations.
- TSQR cost: operations per step
- Oja updates: operations per step
- Total per step: operations
- Over steps: total operations
6.4. Numerical Stability and Implementation Details
6.4.1. Numerical Conditioning
- Dictionary normalization: Scale all dictionary functions to have unit variance on the training data.
- Regularization: Add ridge regularization to the EDMD least squares problem when .
- Rank monitoring: Continuously monitor the effective rank of the data matrices and remove redundant dictionary functions.
- Iterative refinement: Use iterative refinement for solving the DARE when the condition number is large.
6.4.2. Implementation in Standard Libraries
7. Experimental Validation of Single-Loop Streaming
7.1. Experimental Methodology
- Real-time execution: All model learning, controller synthesis, and safety verification occur within the control loop at each sampling instant.
- Continuous adaptation: The Koopman model factors are updated at every time step using Oja/PAST updates.
- Safety monitoring: Stability margins and tube radii are computed and enforced at each step through the safety projection QP.
- Performance metrics: We measure per-step computational latency, memory usage, prediction accuracy, closed-loop stability, and safety constraint satisfaction.
- Hardware standardization: All experiments run on Intel i7-10700K (3.8GHz) with 32GB RAM using MATLAB R2023a with optimized BLAS libraries.
7.2. Experiment 1: Cart-Pole Stabilization with Streaming Learning
7.2.1. System and Setup
7.2.2. Single-Loop Performance Results
| Metric | Streaming () | Batch EDMD | Improvement |
|---|---|---|---|
| Per-step latency (ms) | |||
| Memory usage (KB) | |||
| Prediction RMSE | (degradation) | ||
| Stability margin | Comparable | ||
| Safety violations | Perfect | ||
| Tube radius (final) | N/A | Adaptive |
7.2.3. Streaming Adaptation Dynamics
7.3. Experiment 2: Van der Pol Oscillator with Dynamic Rank Adaptation
7.3.1. Results and Analysis
| Rank | Latency (ms) | Memory (KB) | Settling Time (s) | Speedup |
|---|---|---|---|---|
| Batch EDMD |
7.4. Computational Scaling Analysis
| Dictionary Size d | Rank r | Theoretical | Measured | Ratio |
|---|---|---|---|---|
| 100 | 5 | 1.12 | ||
| 500 | 10 | 1.08 | ||
| 1000 | 10 | 1.10 | ||
| 1000 | 20 | 1.08 |
7.5. Safety and Stability Validation
7.5.1. Stability Margin Evolution
- Initial margin: (conservative initialization)
- Converged margin: (tighter bound after learning)
- Model mismatch: (bounded by tube radius)
- Safety condition: ✔(satisfied throughout)
7.5.2. Constraint Satisfaction
- Control constraints: 100% satisfaction (enforced by safety QP)
- Stability constraints: 100% satisfaction (enforced by projection)
- Tube constraints: 99.8% satisfaction (2 brief violations during initial transients)
7.6. Comparison with State-of-the-Art Methods
| Method | Real-time | Adaptive | Stability | Speedup | Memory |
|---|---|---|---|---|---|
| Learning | Rank | Guarantees | Factor | Efficiency | |
| Single-Loop Koopman-ESL | Yes | Yes | Yes | ||
| Batch EDMD + MPC | No | No | Limited | ||
| Nonlinear MPC | No | N/A | Yes | ||
| Neural Network Control | Yes | No | No | ||
| Linear MPC | No | N/A | Yes |
7.7. Sensitivity Analysis and Robustness
7.7.1. Parameter Sensitivity
- Learning rate : Optimal range ; performance degrades outside this range
- Forgetting factor : Values provide best adaptation-stability trade-off
- Safety margin : Conservative values ensure robustness with minimal performance cost
- Rank adaptation thresholds: , provide stable adaptation
7.7.2. Disturbance Rejection
- Prediction accuracy degrades by (tube radius increases adaptively)
- Control performance remains within 10% of nominal
- Stability margins maintained above 0.65 in all cases
- Recovery time to nominal performance: time steps
7.8. Experimental Setup and Methodology
- Data Generation: Collect trajectory data using random control inputs uniformly distributed over the constraint set .
- Dictionary Design: Use Algorithm 1 with polynomial terms up to degree 3 and RBF centers selected via k-means.
- Model Learning: Apply Algorithm 1 with tolerance .
- Controller Design: Design both LQR and MPC controllers using the rank-r surrogate.
- Validation: Test controllers on the true nonlinear plant with Monte Carlo simulations.
- Metrics: Evaluate closed-loop cost, stability margins, computational time, and memory usage.
7.9. Experiment 1: Cart-Pole Stabilization
7.9.1. System Description
7.9.2. Dictionary and Model Learning
- Constant:
- Linear:
- Quadratic: (all pairs)
- Trigonometric:
- Cross terms: (selected terms)
7.9.3. Results
| Method | Rank | Closed-Loop Cost | Memory (KB) | Time per Step (ms) |
|---|---|---|---|---|
| Full EDMD | 35 | 1.00 (baseline) | 9.8 | 0.45 |
| Rank-8 Surrogate | 8 | 1.02 | 2.2 | 0.12 |
| Rank-5 Surrogate | 5 | 1.08 | 1.4 | 0.08 |
| Rank-3 Surrogate | 3 | 1.25 | 0.8 | 0.05 |
| Streaming Update | 8 | 1.04 | 2.2 | 0.15 |
7.9.4. Stability Analysis Validation
- Full EDMD:
- Rank-8 surrogate:
- Model mismatch:
- Robustness condition:
7.10. Experiment 2: Van der Pol Oscillator Regulation
7.10.1. System Description
7.10.2. Dictionary and Results
| Method | Rank | Settling Time (s) | Control Effort | Computational Speedup |
|---|---|---|---|---|
| Full EDMD | 28 | 3.2 | 1.00 | 1.0× |
| Rank-12 Surrogate | 12 | 3.4 | 1.03 | 5.4× |
| Rank-8 Surrogate | 8 | 4.1 | 1.15 | 12.3× |
| Nonlinear MPC | – | 2.9 | 0.95 | 0.1× |
7.11. Experiment 3: Soft Robot Arm Control
7.11.1. System Description
7.11.2. High-Dimensional Dictionary
- Linear and quadratic terms in joint angles and velocities
- Trigonometric functions for each joint
- Cross-coupling terms between segments
- Gravitational potential terms
7.11.3. Scalability Results
| Dictionary Size | Optimal Rank | Memory Reduction | Time Reduction | Performance Loss |
|---|---|---|---|---|
| 50 | 8 | 6.3× | 6.1× | 2.1% |
| 100 | 15 | 6.7× | 6.4× | 3.8% |
| 156 | 22 | 7.1× | 6.9× | 5.2% |
| 200 | 28 | 7.1× | 7.0× | 6.8% |
7.12. Comparative Analysis
| Method | Stability | Performance | Computational | Theoretical | Adaptivity |
|---|---|---|---|---|---|
| Guarantees | Quality | Efficiency | Foundation | ||
| Koopman-ESL (Ours) | ✔ | High | High | Rigorous | ✔ |
| Standard EDMD | ✗ | High | Low | Limited | ✗ |
| Nonlinear MPC | ✔ | Highest | Lowest | Rigorous | ✗ |
| Linear MPC | ✔ | Low | Highest | Rigorous | ✗ |
| Neural Network Control | ✗ | Variable | Medium | None | ✔ |
7.13. Computational Benchmarks

8. Limitations and Future Directions
8.1. Theoretical Limitations
8.1.1. Dictionary Dependence
- Insufficient expressiveness: If the dictionary cannot adequately represent the system dynamics, the Koopman modeling error may be large, degrading control performance despite perfect finite-rank approximation.
- Numerical conditioning: Highly correlated dictionary functions can lead to ill-conditioned EDMD problems, causing numerical instability in both model learning and control synthesis.
- Curse of dimensionality: For high-dimensional systems, constructing comprehensive dictionaries may require exponentially many functions, negating the computational benefits of the approach.
8.1.2. Learnability Assumptions
- Unstable systems: Open-loop unstable systems may not satisfy the contractivity requirement in any finite-dimensional lifted space.
- Conservative systems: Hamiltonian systems with conserved quantities may have , placing them at the boundary of learnability.
- Chaotic systems: Systems with sensitive dependence on initial conditions may require infinite-dimensional representations for accurate prediction.
8.1.3. Approximation Error Bounds
8.2. Practical Limitations
8.2.1. Real-Time Implementation
- High-frequency control: Systems requiring control updates at kHz rates may exceed the computational capabilities of the streaming algorithms.
- Resource-constrained platforms: Embedded systems with limited memory and processing power may not support large dictionaries or frequent model updates.
- Safety-critical applications: The probabilistic nature of the convergence guarantees may not meet the deterministic requirements of safety-critical systems.
8.2.2. Model Adaptation and Drift
- Parameter drift: Gradual changes in system parameters due to wear, aging, or environmental conditions.
- Regime changes: Abrupt transitions between different operating modes or configurations.
- External disturbances: Unmodeled disturbances that violate the bounded uncertainty assumptions.
8.3. Extensions and Future Work
8.3.1. Stochastic Systems
- Stochastic Koopman operators: Develop theory for Koopman operators on probability measures rather than deterministic states.
- Probabilistic stability: Replace deterministic stability guarantees with probabilistic bounds on closed-loop performance.
- Robust filtering: Integrate state estimation and control design for partially observed stochastic systems.
8.3.2. Multi-Agent Systems
- Distributed learning: Develop algorithms for learning global Koopman models from distributed local observations.
- Consensus control: Apply the framework to consensus and formation control problems in multi-agent networks.
- Scalability: Investigate how the computational benefits scale with the number of agents and coupling strength.
8.3.3. Continuous-Time Systems
- Continuous Koopman operators: Develop theory for infinitesimal generators of Koopman semigroups.
- Differential equations: Connect to neural ODEs and physics-informed neural networks for continuous-time learning.
- Hybrid systems: Extend to systems with both continuous and discrete dynamics.
8.4. Broader Impact and Applications
- Robotics: Application to complex robotic systems including humanoid robots, soft robots, and swarm robotics.
- Aerospace: Flight control for aircraft and spacecraft with complex, nonlinear dynamics.
- Process control: Chemical and biological process control with high-dimensional state spaces.
- Finance: Portfolio optimization and risk management with nonlinear market dynamics.
- Biology: Control of biological systems including gene regulatory networks and population dynamics.
9. Conclusion
9.1. Summary of Contributions
9.2. Broader Implications
9.3. Impact on Control Theory and Practice
9.4. Final Remarks
Acknowledgments
Appendix A. Single-Loop Implementation Addendum (Normative)
Appendix A.1. Refined Operator-Theoretic Facts (Linear Case)
- (a)
- (Lyapunov).
- (b)
- If , then is α-averaged for any .
- (c)
- If is α-averaged in some inner product, then (nonexpansive), but this does not imply without a strict margin.
Appendix A.2. Safety Projection: LMI and Norm-Based Variants
- LMI form: find (and optionally a small step in ) such that , .
- Spectral-norm proxy: The constraint where is convex in but not jointly convex in due to bilinearity. We implement this as a backtracking line search or sequential projection: compute a candidate update, check feasibility, and if violated, project onto the spectral-norm ball and pull back to parameters via least-squares approximation. Alternatively, fix U and solve a convex subproblem in .
Appendix A.3. Controller-Update Safeguard (One-Step Kleinman)
- 1.
- The lifted pair is stabilizable: .
- 2.
- The pair is detectable: .
- 3.
- A stabilizing seed gain exists such that .
Appendix A.4. Streaming EDMD Without Dense SVD
Appendix A.5. Online Normalization of the Dictionary
Appendix A.6. Rank Adaptation (Streaming)
Appendix A.7. Complexity and Latency Breakdown
- Lift : (with normalization).
- Updates : multiplies.
- TSQR orthonormalization (every k steps): amortized.
- One Kleinman/Riccati iteration: small dense solve reusing factorizations (dimension d).
- Safety QP/projection: a small QP with decision variables of order ; worst-case , warm-started.
| Component | Ops/Step (amortized) | Notes |
| Feature lift | EMA normalization included | |
| Oja/PAST updates | Matrix-vector multiplies | |
| TSQR (tall-skinny) | Every k steps; amortized | |
| Kleinman update | Warm-started from previous | |
| Safety QP/projection | Small; warm-started |
Appendix A.8. Experimental Reporting (Single-Loop)
References
- B. O. Koopman. Hamiltonian systems and transformation in Hilbert space. Proceedings of the National Academy of Sciences 1931, 17, 315–318. [CrossRef] [PubMed]
- I. Mezić. Spectral properties of dynamical systems, model reduction and decompositions. Nonlinear Dynamics 2005, 41, 309–325. [CrossRef]
- S. L. Brunton, M. Budišić, E. Kaiser, and J. N. Kutz. Modern koopman theory for dynamical systems. SIAM Review 2022, 64, 229–340. [Google Scholar] [CrossRef]
- M. O. Williams, I. G. Kevrekidis, and C. W. Rowley. A data-driven approximation of the koopman operator: Extending dynamic mode decomposition. Journal of Nonlinear Science 2015, 25, 1307–1346. [CrossRef]
- M. Korda and I. Mezić. Linear predictors for nonlinear dynamical systems: Koopman operator meets model predictive control. Automatica 2018, 93, 149–160. [CrossRef]
- M. Rey. The ε-streamably-learnable class: A constructive framework for operator-based optimization. Under review 2025.
- M. Rey. A hierarchy of learning problems: Computational efficiency mappings for optimization algorithms. Under review 2025.
- H. H. Bauschke and P. L. Combettes. Convex analysis and monotone operator theory in Hilbert spaces; Springer Science & Business Media, 2011. [Google Scholar]
- C. W. Rowley, I. Mezić, S. Bagheri, P. Schlatter, and D. S. Henningson. Spectral analysis of nonlinear flows. Journal of Fluid Mechanics 2009, 641, 115–127.
- P. J. Schmid. Dynamic mode decomposition of numerical and experimental data. Journal of Fluid Mechanics 2010, 656, 5–28. [CrossRef]
- S. Peitz and S. E. Otto. Koopman operator-based model reduction for switched-system control of pdes. Automatica 2020, 106, 184–191.
- A. Mauroy, Y. Susuki, and I. Mezić. The Koopman operator in systems and control: Concepts, methodologies, and applications; Springer, 2020. [Google Scholar]
- I. Abraham, G. De La Torre, and T. D. Murphey. Model-based control using koopman operators. In Robotics: Science and Systems; 2017.
- G. Mamakoukas, M. L. Castano, X. Tan, and T. D. Murphey. Local koopman operators for data-driven control of robotic systems. In Robotics: Science and Systems; 2019. [Google Scholar]
- M. Rey. Dense approximation of learnable problems with streamable problems. Under review 2025.
- R. A. Horn and C. R. Johnson. Matrix analysis; Cambridge University Press, 2012. [Google Scholar]
- G. W. Stewart and J. G. Sun. Matrix perturbation theory; Academic Press, 1990. [Google Scholar]
- L. Bottou, F. E. Curtis, and J. Nocedal. Optimization methods for large-scale machine learning. SIAM Review 2018, 60, 223–311. [CrossRef]
- H. J. Kushner and G. G. Yin. Stochastic approximation and recursive algorithms and applications; Springer Science & Business Media, 2003. [Google Scholar]
- D. Q. Mayne, M. M. Seron, and S. V. Raković. Robust model predictive control of constrained linear systems with bounded disturbances. Automatica 2005, 41, 219–224. [CrossRef]

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).