A Koopman Operator Approach for Computing and Balancing Gramians for\n Discrete Time Nonlinear Systems

Enoch Yeung, Zhiyuan Liu, Nathan O. Hodas · DOI

Abstract

In this paper, we consider the problem of quantifying controllability and observability of a nonlinear discrete time dynamical system. We introduce the Koopman operator as a canonical representation of the system and apply a lifting technique to compute gramians in the space of full-state observables. We illustrate the properties of these gramians and identify several relationships with canonical results on local controllability and observability. Once defined, we show that these gramians can be balanced through a change of coordinates on the observables space, which in turn allows for direct application of balanced truncation. Throughout the paper, we highlight the aspects of our approach with an example nonlinear system.

Introduction: Bridging Linear Control and Nonlinear Dynamics

In classical control theory, Gramians are fundamental tools used to quantify how easily a system's state can be influenced by inputs (controllability) or how much information about the state can be recovered from outputs (observability). For linear systems, these matrices are the "gold standard" for model reduction and system analysis. However, extending these concepts to nonlinear systems has historically been challenging. Existing methods often rely on local linearization—which fails for highly nonlinear or unstable systems—or complex "differential balancing" techniques that are mathematically daunting and difficult to implement from raw data.

This paper presents a powerful bridge between modern data-driven dynamical systems theory and classical control engineering. By leveraging Koopman operator theory, the authors provide a way to apply well-understood linear tools to complex, nonlinear systems in a globally applicable and computationally tractable manner.

Methodology: The Koopman Framework

The core innovation lies in the use of the Koopman Operator. Instead of analyzing how the state $x$ evolves through nonlinear dynamics, the Koopman approach examines how "functions of the state" $\psi(x)$, known as observables, evolve. In this higher-dimensional "lifted" space, the dynamics appear linear: $\psi(x_{t+1}) = \mathcal{K}\psi(x_t)$.

The methodological pipeline consists of four key steps:

  1. Lifting: Defining a dictionary of observable functions (e.g., polynomials or sinusoids) to represent the system.
  2. Learning: Using Extended Dynamic Mode Decomposition (EDMD) to learn a finite-dimensional approximation of the Koopman operator ($K$) from data.
  3. Koopman Gramians: Deriving new definitions for observability and controllability Gramians specifically for this lifted space.
  4. Balanced Truncation: Finding a coordinate transformation that "balances" these two Gramians, identifying which "modes" are most critical for input-output behavior.

Principled Model Reduction

One of the primary advantages of this approach is that it provides a quantitative metric for model reduction. By analyzing the spectrum of Hankel Singular Values (HSVs) in the lifted space, engineers can determine the inherent dimensionality of the system's input-output behavior. This allows for a principled decision on how much a model can be simplified before losing significant accuracy.

The Hankel Singular Value spectrum provides a clear, quantitative way to decide how many modes to retain during model reduction.

Experimental Validation and Results

The framework was evaluated using a synthetic 2D nonlinear system—a discrete-time oscillator with quadratic nonlinearities—designed to defeat standard linearization techniques.

Observability Accuracy

In an unstable configuration, local linearization erroneously predicted that state $x_2$ was significantly more observable than $x_1$. The Koopman approach correctly identified $x_1$ as the dominant state due to its unstable growth, a distinction critical for effective control design.

High-Fidelity Reduction

Starting with a 12th-order lifted Koopman model of a forced nonlinear oscillator, the authors applied balanced truncation to reduce the system to just 2 modes. Despite this drastic reduction, the 2nd-order model tracked the ground-truth state trajectories with remarkably low error, preserving the qualitative dynamics while being significantly more computationally efficient.

Comparison of one-step predictions for the actual state versus reduced-order models (2nd, 6th, and 12th order), demonstrating high fidelity even at very low orders.

Discussion and Future Directions

While the Koopman Gramian approach offers a robust framework for nonlinear systems, several challenges remain. The performance of the method is heavily dependent on the choice of basis functions (observables); if these do not span the true dynamics, the approximation will suffer. Additionally, mapping the reduced model back to the original physical state space (the "inverse problem") remains a non-trivial task.

Future work will focus on extending this formulation to stochastic systems to account for measurement noise and developing a continuous-time equivalent for broader application in physical engineering domains. Nonetheless, this research demonstrates that linearity is often a choice of coordinates, and through the right "lens," complex nonlinear systems can be managed with the precision of classical linear theory.

Summary updated

BibTeX
@misc{yeung2017koopman,
  author = {Enoch Yeung and Zhiyuan Liu and Nathan O. Hodas},
  title = {{A Koopman Operator Approach for Computing and Balancing Gramians for\textbackslash\{\}n Discrete Time Nonlinear Systems}},
  year = {2017},
  eprint = {1709.08712},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.08712},
}
Figure