[Paper Review] Learning Lyapunov Functions for Piecewise Affine Systems with Neural Network Controllers
This paper proposes an iterative learning-based method to synthesize quadratic and piecewise quadratic Lyapunov functions for discrete-time piecewise affine (PWA) systems controlled by ReLU neural networks. The approach uses a learner-verifier framework based on the analytic center cutting-plane method (ACCPM), where the learner proposes Lyapunov candidates from sampled trajectories and the verifier uses mixed-integer programming to validate or reject them with counterexamples, ensuring finite convergence when the Lyapunov set is full-dimensional in parameter space.
We propose a learning-based method for Lyapunov stability analysis of piecewise affine dynamical systems in feedback with piecewise affine neural network controllers. The proposed method consists of an iterative interaction between a learner and a verifier, where in each iteration, the learner uses a collection of samples of the closed-loop system to propose a Lyapunov function candidate as the solution to a convex program. The learner then queries the verifier, which solves a mixed-integer program to either validate the proposed Lyapunov function candidate or reject it with a counterexample, i.e., a state where the stability condition fails. This counterexample is then added to the sample set of the learner to refine the set of Lyapunov function candidates. We design the learner and the verifier based on the analytic center cutting-plane method, in which the verifier acts as the cutting-plane oracle to refine the set of Lyapunov function candidates. We show that when the set of Lyapunov functions is full-dimensional in the parameter space, the overall procedure finds a Lyapunov function in a finite number of iterations. We demonstrate the utility of the proposed method in searching for quadratic and piecewise quadratic Lyapunov functions.
Motivation & Objective
- To address the lack of stability and safety guarantees in neural network-controlled systems, especially in safety-critical applications.
- To automate the construction of non-conservative Lyapunov functions for PWA systems with ReLU neural network controllers.
- To develop a sample-efficient, optimization-based method that provides formal stability certificates with finite convergence guarantees.
- To demonstrate the method's effectiveness in estimating large regions of attraction (ROA) using quadratic and piecewise quadratic Lyapunov functions.
Proposed method
- The method employs a learner-verifier loop: the learner proposes Lyapunov function candidates via convex optimization using a finite set of sampled closed-loop trajectories.
- The verifier uses mixed-integer programming (MIP) to check whether the candidate Lyapunov function satisfies the stability condition across the state space.
- If the verifier finds a counterexample (a state violating the Lyapunov condition), it returns the state to the learner to refine the candidate set.
- The learner updates the Lyapunov candidate set using the analytic center cutting-plane method (ACCPM), treating the verifier as a cutting-plane oracle.
- The algorithm is designed to converge in finite steps when the set of valid Lyapunov functions is full-dimensional in the parameter space.
- The method is applied to search for quadratic and piecewise quadratic Lyapunov functions, with performance evaluated on an inverted pendulum system with an elastic wall.
Experimental results
Research questions
- RQ1Can a learning-based method efficiently synthesize Lyapunov functions for PWA systems with ReLU neural network controllers while ensuring formal stability guarantees?
- RQ2How can the interaction between a learner and a verifier be structured to achieve finite convergence in Lyapunov function synthesis?
- RQ3To what extent can piecewise quadratic Lyapunov functions reduce conservatism in region of attraction (ROA) estimation compared to quadratic ones?
- RQ4Can the proposed method handle complex, hybrid dynamics such as those arising from contact events in mechanical systems?
Key findings
- The ACCPM-based algorithm achieved finite convergence in 10 iterations with a quadratic Lyapunov function, yielding a region of attraction estimate of 0.81× the reference set, with a total solver time of 9.928 seconds.
- With piecewise quadratic (PWQ) Lyapunov functions, the algorithm terminated in 9 iterations and achieved a larger ROA estimate of 1.0× the reference set, indicating reduced conservatism.
- The total solver time for PWQ synthesis was 124.210 seconds, reflecting the increased computational cost of higher-order function classes.
- Simulated closed-loop trajectories validated the correctness and conservativeness of the estimated ROAs, confirming the stability certificates.
- The method successfully certified asymptotic stability of the closed-loop system within a ball of radius ε=0.0158 around the origin.
- The results demonstrate that PWQ Lyapunov functions provide less conservative ROA estimates than quadratic ones, highlighting the benefit of piecewise structure in Lyapunov analysis.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.