Distributionally Robust Lyapunov Function Search Under Uncertainty

Kehan Long, Yinzhuang Yi, Jorge Cortés, Nikolay Atanasov

Abstract

This paper develops methods for proving Lyapunov stability of dynamical systems subject to disturbances with an unknown distribution. We assume only a finite set of disturbance samples is available and that the true online disturbance realization may be drawn from a different distribution than the given samples. We formulate an optimization problem to search for a sum-of-squares (SOS) Lyapunov function and introduce a distributionally robust version of the Lyapunov function derivative constraint. We show that this constraint may be reformulated as several SOS constraints, ensuring that the search for a Lyapunov function remains in the class of SOS polynomial optimization problems. For general systems, we provide a distributionally robust chance-constrained formulation for neural network Lyapunov function search. Simulations demonstrate the validity and efficiency of either formulation on non-linear uncertain dynamical systems.

Introduction

In control theory, a Lyapunov Function (LF) is the gold standard for proving that a system will eventually settle into a desired equilibrium. Traditionally, finding an LF requires a perfect mathematical model of the system. However, real-world systems are subject to disturbances ($\xi$) that are often only observable through a small set of data samples. Standard "robust" methods usually assume we know the exact bounds of this noise or its specific probability distribution. If the noise distribution shifts during deployment—such as a drone encountering unexpected wind patterns—traditional stability certificates often fail.

This paper addresses the challenge of Distributional Uncertainty: finding a stability certificate that is guaranteed to work for any noise distribution that is "close" to the samples collected. By bridging data-driven samples with formal proofs, we provide a rigorous way to generate "white-box" stability guarantees from "black-box" data.

Methodology

The core innovation is the application of Distributionally Robust Chance-Constrained Programming (DRCCP) to Lyapunov search.

Wasserstein Ambiguity Sets

Instead of optimizing for a single empirical distribution of noise samples, we define a "ball" of possible distributions (using the Wasserstein distance) centered on the available data. The goal is to satisfy the Lyapunov stability criteria for every distribution within this ball.

DRCC-SOS for Polynomial Systems

For systems described by polynomials, the authors prove that the complex distributionally robust constraint can be reformulated into a finite set of standard Sum-of-Squares (SOS) constraints. This allows the problem to be solved efficiently using Semidefinite Programming (SDP).

DRCC-NN for General Nonlinear Systems

For general nonlinear systems where polynomials do not fit, a neural network approach is proposed. A novel "distributionally robust" loss function is designed to penalize stability violations across the ambiguity set. This effectively trains a "Lyapunov-net" that is inherently cautious about model uncertainty, with distributional robustness mathematically manifesting as a form of gradient regularization.

Experimental Evaluation

The methods were evaluated on two benchmark dynamical systems: a third-degree polynomial system (using 9 offline noise samples) and an inverted pendulum (using 3 offline noise samples). The Distributionally Robust (DRCC) approach was compared against standard SOS/NN and simple Chance-Constrained (CC) versions.

Key Results

The experiments demonstrate that DRCC formulations are significantly more resilient to out-of-distribution (OOD) noise shifts.

Table 1: Comparison of violation rates and areas across different formulations and noise distributions.

As shown in Table 1, in scenarios where the online noise differed significantly from the training samples (Case 2), standard SOS and NN methods suffered from a 100% violation rate. In contrast, the DRCC-SOS and DRCC-NN formulations maintained near-zero violation rates. For example, in the polynomial case under OOD Gaussian noise, the DRCC-SOS violation rate was only 5.24% compared to the total failure of the baseline.

Conclusion and Future Work

While the SOS method provides formal global guarantees for polynomials, it faces computational scaling challenges in high-dimensional systems. Conversely, while Neural Networks scale better, they are empirical and can exhibit local instabilities near equilibrium points.

Future research will focus on Control Lyapunov Functions (CLFs), aiming to not only verify stability but to simultaneously design controllers that ensure stability under distributional uncertainty. This represents a critical step toward robust, data-driven autonomous control.

Summary updated

BibTeX
@inproceedings{long2023distributionally,
  author = {Kehan Long and Yinzhuang Yi and Jorge Cortés and Nikolay Atanasov},
  title = {{Distributionally Robust Lyapunov Function Search Under Uncertainty}},
  booktitle = {L4DC},
  year = {2023},
  url = {https://openreview.net/forum?id=gTi5flOkq0},
}
Figure