Koopman-based control using sum-of-squares optimization: Improved stability guarantees and data efficiency

Robin Strässer, Julian Berberich, Frank Allgöwer

TL;DR

This paper introduces a novel data-driven framework for controlling unknown nonlinear systems by combining Koopman operator theory with Sum-of-Squares (SOS) optimization. By directly accounting for the bilinear structure and modeling errors of the Koopman surrogate, the authors achieve significantly larger stability regions and better data efficiency compared to existing methods that rely on over-simplifying the system's dynamics.

What Problem Does This Paper Address?

Controlling nonlinear systems is notoriously difficult because their behavior is complex and often lacks a precise mathematical model. A popular modern approach is to use the Koopman operator, which "lifts" nonlinear dynamics into a higher-dimensional space where they appear linear or bilinear.

However, two major hurdles remain:

  1. Approximation Error: The finite-dimensional models we build from data are never perfect. If a controller doesn't account for this error, the real system might become unstable.
  2. Conservatism: Existing "robust" methods often over-approximate the system's complexity to make the math easier. This results in "conservative" controllers that only work in a very small neighborhood (a small Region of Attraction) and require massive amounts of high-quality data to be feasible.

The authors aim to bridge this gap by creating a controller that is both robust to modeling errors and flexible enough to handle the system's inherent nonlinearities without being overly cautious.

Methods

The authors propose a two-step pipeline:

  1. SafEDMD (Stability- and Feedback-Oriented Extended Dynamic Mode Decomposition): They use this existing framework to generate a bilinear surrogate model from data. Crucially, SafEDMD provides certified error bounds on how much the surrogate deviates from the true system.
  2. SOS-Based Rational Control: Instead of simplifying the bilinear model into a linear one (which loses information), they use Sum-of-Squares (SOS) optimization to design a rational controller.
  3. What's new? Standard methods use Linear Matrix Inequalities (LMIs) which struggle with bilinear terms. By using SOS, the authors can parametrize a more complex "rational" controller (a ratio of polynomials) that explicitly handles the bilinearity. This allows them to prove global exponential stability for the surrogate model, which translates to robust stability for the original nonlinear system.

Datasets

The method was evaluated using simulated data from two classic control benchmarks:

  • Building Temperature Control: A bilinear model representing zone temperature dynamics influenced by air volume flow.
  • Inverted Pendulum: A standard nonlinear system used to test the approach's ability to handle unknown dynamics from scratch using sampled data points.

Key Insights and Ideas

  • Embrace the Bilinearity: Most Koopman control methods try to "linearize" the resulting model to use standard tools. This paper argues that the bilinear structure is a feature, not a bug. Using SOS optimization allows researchers to work with this structure directly, leading to much more powerful controllers.
  • Rationality is Key: A simple linear controller is often insufficient to stabilize a lifted Koopman system globally. Moving to a rational controller provides the necessary mathematical flexibility.
  • Robustness vs. Conservatism: By using a more sophisticated optimization tool (SOS), the authors can tolerate much larger modeling errors ($c_x, c_u$) while still finding a feasible controller. This means you can get a working system even with less data or noisier measurements.

Key Results

The authors compared their SOS approach against the previous state-of-the-art LMI-based methods:

  • Larger Feasibility Region: As shown in Figure 1, the SOS-based design (solid lines) remains feasible for much higher error constants than previous methods (colored region). This demonstrates superior robustness to modeling inaccuracies.
Feasibility comparison: SOS vs. existing methods
  • Massive Region of Attraction (RoA): In the inverted pendulum example (Figure 2), the SOS controller's guaranteed stable region (large grey area) dwarfs the tiny spot achieved by previous robust Koopman methods.
Guaranteed Regions of Attraction (RoA) for the inverted pendulum
  • Computational Efficiency: While SOS optimization is more complex than LMIs, the computation times remain very practical—under 0.5 seconds for the tested examples (see Table I).
Computation times for different controller degrees

Limitations and Future Work

  • Local Data Sampling: The stability guarantees are technically tied to the region where data was sampled. If the system wanders too far into "unseen" territory, the error bounds might no longer hold.
  • Heuristic Choices: Choosing the right "lifting functions" ($\Phi$) and the degree of the controller polynomials still requires some trial and error or expert intuition.
  • Future Directions: The authors suggest extending this work to include specific performance objectives (like minimizing energy use) rather than just focusing on stability. They also aim to further automate the selection of the controller's mathematical structure.

Summary updated

BibTeX
@inproceedings{strasser2025koopman,
  author = {Robin Strässer and Julian Berberich and Frank Allgöwer},
  title = {{Koopman-based control using sum-of-squares optimization: Improved stability guarantees and data efficiency}},
  booktitle = {European},
  year = {2025},
  doi = {10.1016/j.ejcon.2025.101367},
}
Figure