Learning Stable Nonparametric Dynamical Systems with Gaussian Process Regression

Wenxin Xiao, Armin Lederer, Sandra HirchearXiv 2020

TL;DR

This paper introduces a novel method for learning stable, data-driven models of complex dynamical systems, particularly those involving human behavior. By combining Gaussian Process Regression for both system modeling and a new nonparametric Lyapunov function, they achieve highly accurate reproduction of training data while guaranteeing stability, outperforming existing methods on a challenging handwriting dataset.

What Problem Does This Paper Address?

Modeling real-world systems, especially those involving humans (like disease progression or robotic rehabilitation), is notoriously difficult. These systems are often highly nonlinear, and obtaining large amounts of labeled training data is expensive and impractical. While data-driven approaches offer flexibility, ensuring the learned models are stable is a significant challenge. Traditional methods often use parametric Lyapunov functions to guarantee stability, but this can limit the model's flexibility and its ability to accurately capture complex dynamics. The authors aim to bridge this gap by developing a method that can learn both a flexible, accurate model of the system and a stability guarantee, all from limited data.

Methods

The core of the paper lies in two key components, both leveraging Gaussian Process (GP) Regression:

  1. Nonparametric Gaussian Process State Space Model (GP-SSM): The authors first learn a "nominal" model of the dynamical system. They use a noise-free GP-SSM, which is known for its ability to accurately reproduce training data under certain assumptions. This model is trained directly from observed state transitions.
  2. Nonparametric Control Lyapunov Function (CLF): This is the paper's main novelty. Instead of relying on pre-defined parametric forms for the Lyapunov function (which can be restrictive), they learn a nonparametric CLF using GP Regression. This is achieved by transforming the Bellman equation into a regression problem, allowing the CLF to adapt its complexity to the data.

These two components are then combined using a control-theoretic approach. A stabilizing "virtual control" is computed based on the learned CLF, which minimally modifies the nominal GP-SSM to ensure stability. The resulting stabilized model is shown to reproduce training data exactly while remaining globally asymptotically stable.

Datasets

The primary dataset used for evaluation is the LASA handwriting dataset. This dataset consists of 24 different handwriting shapes, with multiple recordings for each shape, making it a suitable benchmark for learning stable nonlinear dynamical systems. The authors note that for comparability and to address potential issues with dense trajectories, they downsample the data.

Key Insights and Ideas

  • Flexibility through Nonparametric Lyapunov Functions: The most significant insight is that by learning a nonparametric Lyapunov function, the method gains substantial flexibility. This allows it to adapt to complex dynamics that might be missed by fixed parametric forms, leading to better stability guarantees and data reproduction.
  • Exact Data Reproduction with Stability: The paper demonstrates that it's possible to achieve both exact reproduction of training data and global asymptotic stability. This is a crucial combination for applications where both accuracy and safety are paramount.
  • GP-SSM as a Foundation: Using a GP-SSM as the nominal model provides a powerful starting point, as GPs are inherently good at approximating complex functions and can capture uncertainty.
  • Bridging Machine Learning and Control Theory: The work effectively combines advanced machine learning techniques (GP Regression) with fundamental control theory concepts (Lyapunov stability) to solve a challenging real-world problem.

Key Results

  • Superior Reproduction Error: On the LASA handwriting dataset, the proposed nonparametric Lyapunov function approach achieved a significantly lower reproduction error (Arep) compared to existing methods like Weighted Sum of Asymmetric Quadratic Functions (WSAQF) and Sum of Squares (SOS). For the "S-shape" example, the error was 415.6 for their method, versus 2377 for WSAQF and 1819.8 for SOS.
  • Efficient Training: The training time for their nonparametric Lyapunov function (ttrain) was competitive, and notably, the computation time for the stabilizing control (ttest) was very fast, especially when the control was non-trivial.
  • Exact Training Data Reproduction: The stabilized model was proven to reproduce the training data exactly, a key goal of the paper.

Limitations and Future Work

  • Noisy Data: The current approach assumes noise-free training data. The authors acknowledge this limitation and state that future work will focus on modifying the approach to handle noisy data and consider stochastic stability conditions.
  • Nominal Model Precision: The effectiveness of the nonparametric Lyapunov function relies on a sufficiently precise nominal model. If the nominal model is too inaccurate, the approximate infinite horizon cost might become negligible, and the system might not converge to the training data as desired.
  • Local Minima in Optimization: While the nonparametric CLF approach avoids the limitations of parametric forms, the optimization for the stabilizing control can lead to local minima. The authors suggest using the closest training point as an initial guess for numerical optimization to mitigate this.
  • Future Work: Extending the method to handle noisy data and stochastic stability is a primary direction. Additionally, exploring how to ensure convergence to training data even with less precise nominal models is mentioned as a potential area for improvement.

Summary updated

BibTeX
@misc{xiao2020learning,
  author = {Wenxin Xiao and Armin Lederer and Sandra Hirche},
  title = {{Learning Stable Nonparametric Dynamical Systems with Gaussian Process Regression}},
  year = {2020},
  eprint = {2006.07868},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.07868},
}
Figure