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

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

Abstract

In this paper, we propose a novel controller design approach for unknown nonlinear systems using the Koopman operator. In particular, we use the recently proposed stability- and feedback-oriented extended dynamic mode decomposition (SafEDMD) architecture to generate a data-driven bilinear surrogate model with certified error bounds. Then, by accounting for the obtained error bounds in a controller design based on the bilinear system, one can guarantee closed-loop stability for the true nonlinear system. While existing approaches over-approximate the bilinearity of the surrogate model, thus introducing conservatism and providing only local guarantees, we explicitly account for the bilinearity by using sum-of-squares (SOS) optimization in the controller design. More precisely, we parametrize a rational controller stabilizing the error-affected bilinear surrogate model and, consequently, the underlying nonlinear system. The resulting SOS optimization problem provides explicit data-driven controller design conditions for unknown nonlinear systems based on semidefinite programming. Our approach significantly reduces conservatism by establishing a larger region of attraction and improved data efficiency. The proposed method is evaluated using numerical examples, demonstrating its advantages over existing approaches.

Introduction

Controlling nonlinear systems is a fundamental challenge in engineering, often complicated by the lack of precise mathematical models. Koopman operator theory has emerged as a powerful tool, "lifting" nonlinear dynamics into a higher-dimensional space where they appear bilinear. However, practical implementation faces two major hurdles: approximation errors in finite-dimensional models and the conservatism of existing robust control methods. Standard approaches often over-simplify the system's complexity to maintain mathematical tractability, leading to small Regions of Attraction (RoA) and high data requirements.

Methodology

This work introduces a framework that combines Stability- and Feedback-Oriented Extended Dynamic Mode Decomposition (SafEDMD) with Sum-of-Squares (SOS) optimization.

First, SafEDMD is employed to generate a bilinear surrogate model from data, providing certified error bounds on the model's deviation from the true system. Second, rather than linearizing this bilinear model—a process that introduces significant conservatism—the authors utilize SOS optimization to design a rational controller. By parametrizing the controller as a ratio of polynomials, the approach explicitly accounts for the system's bilinearity. This allows for the proof of global exponential stability for the surrogate model, which ensures robust stability for the original nonlinear system.

Results and Discussion

The proposed method was evaluated against state-of-the-art Linear Matrix Inequality (LMI)-based methods using benchmarks such as building temperature control and the inverted pendulum.

Robustness and Feasibility

The SOS-based design demonstrates superior robustness to modeling inaccuracies. As illustrated in the feasibility comparison, the SOS approach remains viable for significantly higher error constants ($c_x, c_u$) compared to previous methods. This increased tolerance allows for effective control even with limited or noisy data.

Feasibility comparison: SOS vs. existing LMI-based methods across error constants $c_x$ and $c_u$.

Stability Regions

A key advantage of the SOS framework is the dramatic expansion of the guaranteed stable region. In the inverted pendulum benchmark, the SOS controller achieves a Region of Attraction (RoA) that far exceeds the capabilities of prior robust Koopman methods.

Comparison of guaranteed Regions of Attraction (RoA) for the inverted pendulum. The large grey area represents the SOS-based guarantee.

Computational Performance

Despite the increased complexity of SOS optimization, the method remains computationally efficient. Numerical tests showed that controller design for the evaluated systems typically requires less than 0.5 seconds, demonstrating that the improved stability guarantees do not come at a prohibitive computational cost.

Conclusion

By embracing the inherent bilinearity of Koopman surrogate models and leveraging SOS optimization, this framework provides a robust and data-efficient solution for nonlinear control. The transition from linear to rational controllers significantly reduces conservatism, offering larger stability regions and better performance under modeling uncertainty. Future work will explore integrating specific performance objectives and automating the selection of lifting functions and controller structures.

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