Skip to main content
QUICK REVIEW

[Paper Review] Deep Lyapunov Function: Automatic Stability Analysis for Dynamical Systems

Arash Mehrjou, Bernhard Schölkopf|arXiv (Cornell University)|Jan 24, 2019
Model Reduction and Neural NetworksPhysics and Astronomy6 references7 citations
TL;DR

This paper proposes Deep Lyapunov Function (DELF), a deep learning-based method to automatically discover Lyapunov functions for dynamical systems by training a deep neural network to satisfy Lyapunov's stability conditions. The method uses stochastic gradient descent to minimize a loss function that enforces positive definiteness of the function and negative definiteness of its time derivative along system trajectories, enabling automatic stability analysis for nonlinear systems where analytical construction of Lyapunov functions is infeasible.

ABSTRACT

Stability analysis plays a crucial role in studying the behavior of dynamical systems with theoretical and engineering applications. Among various kinds of stability, the stability of equilibrium points is of the greatest importance which is mainly studied by Lyapunov's stability theory. This theory requires finding a function with specified properties. Except for a few simple examples, there is no straightforward constructive algorithm to find a Lyapunov function for an arbitrary dynamical system. The goal of this work is proposing a simple yet effective way to approximate this function using deep learning tools.

Motivation & Objective

  • To address the long-standing challenge of constructing Lyapunov functions for nonlinear dynamical systems, which lacks a general constructive method.
  • To develop a scalable, data-driven approach for stability analysis that bypasses the need for manual Lyapunov function design.
  • To leverage deep neural networks as universal function approximators to search for valid Lyapunov functions in high-dimensional state spaces.
  • To provide a practical, empirical method for assessing local asymptotic stability of autonomous dynamical systems using stochastic optimization.

Proposed method

  • Parameterize a candidate Lyapunov function $ \hat{V}(x;\theta) $ using a deep neural network with parameters $ \theta $.
  • Define a loss function $ \mathcal{L}(x;\theta) = h_1(\hat{V}) + h_2(\nabla_x \hat{V}^T f(x)) $, where $ h_1 $ enforces positive definiteness and $ h_2 $ enforces negative definiteness of the derivative.
  • Minimize the expected loss over randomly sampled points from a bounded domain $ D_r $, using stochastic gradient descent.
  • Use uniform sampling with resolution $ \delta $ to generate training data, with the number of samples scaling as $ N \sim (2r/\delta)^d $.
  • Treat the optimization process as a search over the space of all possible functions, assuming sufficient network capacity.
  • Interpret failure to converge to zero loss as evidence of system instability under the universal approximator assumption.

Experimental results

Research questions

  • RQ1Can deep learning be effectively used to discover Lyapunov functions for nonlinear dynamical systems where analytical construction is intractable?
  • RQ2How well can a deep neural network approximate a Lyapunov function that satisfies the necessary positivity and negative derivative conditions?
  • RQ3What is the empirical performance of the proposed method in identifying stable and unstable systems across different dimensionalities?
  • RQ4Does the failure of optimization to converge to zero loss reliably indicate instability of the underlying dynamical system?
  • RQ5To what extent does the method provide reliable stability insights when theoretical guarantees are limited?

Key findings

  • The method successfully identified valid Lyapunov functions for multiple 2D and 3D stable dynamical systems, with $ \bar{V} $ remaining persistently positive and $ \bar{\dot{V}} $ persistently negative across sampled trajectories.
  • For unstable systems, the optimization process failed to drive the loss to zero, and the trajectories of $ \bar{V} $ and $ \bar{\dot{V}} $ showed no consistent sign pattern, suggesting lack of a valid Lyapunov function.
  • The method demonstrated robustness across diverse system types, including nonlinear, coupled, and non-physical systems, indicating broad applicability.
  • The empirical success of the method supports the hypothesis that deep networks can effectively search for Lyapunov functions in high-dimensional spaces.
  • The failure to converge to zero loss in unstable cases aligns with theoretical expectations, suggesting the method can detect instability when no such function exists.
  • The approach provides a practical, scalable alternative to manual Lyapunov function construction, especially for complex systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.