Skip to main content
QUICK REVIEW

[Paper Review] Neural Lyapunov Control of Unknown Nonlinear Systems with Stability Guarantees

Ruikun Zhou, Thanin Quartz|arXiv (Cornell University)|Jun 4, 2022
Neural Networks and ApplicationsComputer Science17 citations
TL;DR

This paper proposes a learning framework that jointly trains a neural network to approximate unknown nonlinear dynamics and another to learn a neural Lyapunov function with a stabilizing controller, using an SMT solver to verify Lyapunov conditions. The method provides formal closed-loop stability guarantees and achieves region of attraction estimates comparable to those using true system dynamics, outperforming LQR in numerical experiments.

ABSTRACT

Learning for control of dynamical systems with formal guarantees remains a challenging task. This paper proposes a learning framework to simultaneously stabilize an unknown nonlinear system with a neural controller and learn a neural Lyapunov function to certify a region of attraction (ROA) for the closed-loop system. The algorithmic structure consists of two neural networks and a satisfiability modulo theories (SMT) solver. The first neural network is responsible for learning the unknown dynamics. The second neural network aims to identify a valid Lyapunov function and a provably stabilizing nonlinear controller. The SMT solver then verifies that the candidate Lyapunov function indeed satisfies the Lyapunov conditions. We provide theoretical guarantees of the proposed learning framework in terms of the closed-loop stability for the unknown nonlinear system. We illustrate the effectiveness of the approach with a set of numerical experiments.

Motivation & Objective

  • To address the challenge of stabilizing unknown nonlinear dynamical systems with formal stability guarantees.
  • To simultaneously learn a neural controller and a neural Lyapunov function for unknown systems.
  • To provide theoretical guarantees on closed-loop stability using approximation error bounds and Lipschitz continuity.
  • To verify the validity of the learned Lyapunov function and controller using satisfiability modulo theories (SMT) solving.
  • To demonstrate that the learned region of attraction (ROA) is competitive with ROAs computed from known system dynamics.

Proposed method

  • Two deep neural networks are trained: one to approximate the unknown system dynamics, and another to learn a neural Lyapunov function and a stabilizing nonlinear controller.
  • The framework uses a satisfiability modulo theories (SMT) solver to rigorously verify that the candidate Lyapunov function satisfies the necessary Lyapunov conditions.
  • Error bounds on the neural network approximation of the dynamics are derived and used to establish theoretical stability guarantees via Lipschitz continuity.
  • The method incorporates bounds on the Lipschitz constants of the dynamics and its neural approximation to ensure robustness and stability.
  • The training process is guided by adjusting Lyapunov conditions to be verified by the SMT solver, ensuring correctness of the certified ROA.
  • The approach is validated on three benchmark systems: Van der Pol oscillator, unicycle path following, and inverted pendulum.

Experimental results

Research questions

  • RQ1Can a neural network-based framework simultaneously learn unknown nonlinear dynamics and a stabilizing controller with formal stability guarantees?
  • RQ2Can a neural Lyapunov function be learned and verified to certify a region of attraction (ROA) for an unknown nonlinear system?
  • RQ3How does the size of the certified ROA compare to that obtained using known system dynamics or classical LQR methods?
  • RQ4What theoretical guarantees can be provided on closed-loop stability when both dynamics and controller are learned via neural networks?
  • RQ5Can SMT solving be effectively used to verify the Lyapunov conditions for neural network-based controllers and Lyapunov functions?

Key findings

  • The proposed framework achieves a certified region of attraction (ROA) that is comparable in size to the ROA computed using the true system dynamics, demonstrating high fidelity in stability certification.
  • For the Van der Pol oscillator, the neural Lyapunov function yields a larger ROA than the LQR method, with the verified ROA matching that of the true dynamics.
  • In the unicycle path following task, the learned neural controller and Lyapunov function produce a significantly larger ROA than the LQR approach, which relies on linearization under small-angle assumptions.
  • For the inverted pendulum, the method produces a larger ROA than the LQR baseline, with the certified region validated via SMT solving.
  • The framework provides theoretical guarantees on closed-loop stability by bounding the approximation error and leveraging Lipschitz continuity of the neural dynamics and Lyapunov function.
  • The use of SMT solving enables rigorous verification of Lyapunov conditions, ensuring that the learned controller and Lyapunov function are provably valid within the certified domain.

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.