Physics-Informed Neural Network Lyapunov Functions: PDE Characterization, Learning, and Verification (2312.09131v3)
Abstract: We provide a systematic investigation of using physics-informed neural networks to compute Lyapunov functions. We encode Lyapunov conditions as a partial differential equation (PDE) and use this for training neural network Lyapunov functions. We analyze the analytical properties of the solutions to the Lyapunov and Zubov PDEs. In particular, we show that employing the Zubov equation in training neural Lyapunov functions can lead to approximate regions of attraction close to the true domain of attraction. We also examine approximation errors and the convergence of neural approximations to the unique solution of Zubov's equation. We then provide sufficient conditions for the learned neural Lyapunov functions that can be readily verified by satisfiability modulo theories (SMT) solvers, enabling formal verification of both local stability analysis and region-of-attraction estimates in the large. Through a number of nonlinear examples, ranging from low to high dimensions, we demonstrate that the proposed framework can outperform traditional sums-of-squares (SOS) Lyapunov functions obtained using semidefinite programming (SDP).
- FOSSIL: a software tool for the formal synthesis of Lyapunov functions and barrier certificates using neural networks. In Proc. of HSCC, pages 1–11, 2021.
- Formal synthesis of Lyapunov neural networks. IEEE Control Systems Letters, 5(3):773–778, 2020.
- Automated and sound synthesis of Lyapunov functions with smt solvers. In Proc. of TACAS, pages 97–114. Springer, 2020.
- Optimal control and viscosity solutions of Hamilton-Jacobi-Bellman equations, volume 12. Springer, 1997.
- Dynamical Systems: Stability Theory and Applications, volume 35. Springer, 1967.
- A generalization of zubov’s method to perturbed systems. SIAM Journal on Control and Optimization, 40(2):496–515, 2001.
- Neural Lyapunov control. Advances in Neural Information Processing Systems, 32, 2019.
- Learning lyapunov functions for hybrid systems. In Proc. of HSCC, pages 1–11, 2021.
- Learning region of attraction for nonlinear systems. In Proc. of CDC, pages 6477–6484. IEEE, 2021.
- Viscosity solutions of hamilton-jacobi equations. Transactions of the American mathematical society, 277(1):1–42, 1983.
- Counter-example guided synthesis of neural network lyapunov functions for piecewise linear systems. In Proc. of CDC, pages 1274–1281, 2020.
- Lyapunov-stable neural-network control. In Proc. of RSS, 2021.
- Safe control with learned certificates: A survey of neural Lyapunov, barrier, and contraction methods for robotics and control. IEEE Transactions on Robotics, 2023.
- Z3: An efficient smt solver. In Proc. of TACAS, pages 337–340. Springer, 2008.
- Lawrence C Evans. Partial Differential Equations, volume 19. American Mathematical Society, 2010.
- Lyapunov-net: A deep neural network architecture for lyapunov function approximation. In 2022 IEEE 61st Conference on Decision and Control (CDC), pages 2091–2096. IEEE, 2022.
- dreal: an SMT solver for nonlinear theories over the reals. In Proc. of CADE, pages 208–214, 2013.
- Peter Giesl. Construction of Global Lyapunov Functions Using Radial Basis Functions, volume 1904. Springer, 2007.
- Review on computational methods for Lyapunov functions. Discrete & Continuous Dynamical Systems-B, 20(8):2291, 2015.
- Lars Grüne. Computing Lyapunov functions using deep neural networks. Journal of Computational Dynamics, 8(2), 2021.
- Nonlinear Dynamical Systems and Control: A Lyapunov-based Approach. Princeton University Press, 2008.
- Extreme learning machine: theory and applications. Neurocomputing, 70(1-3):489–501, 2006.
- Converse Lyapunov functions and converging inner approximations to maximal regions of attraction of nonlinear systems. In Proc. of CDC, pages 5312–5319. IEEE, 2021.
- Data-driven computational methods for the domain of attraction and Zubov’s equation. arXiv preprint arXiv:2112.14415, 2021.
- Simulation-guided lyapunov analysis for hybrid dynamical systems. In Proc. of HSCC, pages 133–142, 2014.
- Estimation of region of attraction for polynomial nonlinear systems: A numerical method. ISA Transactions, 53(1):25–32, 2014.
- A sum-of-squares approach to the stability and control of interconnected systems using vector Lyapunov functions. In Proc. of ACC, pages 5022–5028. IEEE, 2015.
- Artificial neural networks for solving ordinary and partial differential equations. IEEE Transactions on Neural Networks, 9(5):987–1000, 1998.
- Towards learning and verifying maximal neural lyapunov functions. In Proc. of CDC, 2023.
- Compositionally verifiable vector neural Lyapunov functions for stability analysis of interconnected nonlinear systems. In Proc. of ACC, submitted, 2024.
- Y. Long and M.M. Bayoumi. Feedback stabilization: control lyapunov functions modelled by neural networks. In Proc. of CDC, pages 2812–2814 vol.3, 1993.
- Aleksandr Mikhailovich Lyapunov. The general problem of the stability of motion. International Journal of Control, 55(3):531–534, 1992.
- Smooth converse lyapunov-barrier theorems for asymptotic stability with safety constraints and reach-avoid-stay specifications. Automatica, 144:110478, 2022.
- Help on SOS. IEEE Control Systems Magazine, 30(4):18–23, 2010.
- On the construction of Lyapunov functions using the sum of squares decomposition. In Proc. of CDC, volume 3, pages 3482–3487. IEEE, 2002.
- A tutorial on sum of squares techniques for systems analysis. In Proc. of ACC, pages 2686–2700. IEEE, 2005.
- Danil V Prokhorov. A lyapunov machine for stability analysis of nonlinear systems. In Proc. of ICNN, volume 2, pages 1028–1031. IEEE, 1994.
- Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational physics, 378:686–707, 2019.
- Constructive Nonlinear Control. Springer Science & Business Media, 2012.
- Pierpaolo Soravia. Optimality principles and representation formulas for viscosity solutions of hamilton-jacobi equations i. equations of unbounded and degenerate control problems without uniqueness. Advances in Differential Equations, 4(2):275–296, 1999.
- Stability region analysis using polynomial and composite polynomial Lyapunov functions and sum-of-squares programming. IEEE Transactions on Automatic Control, 53(2):565–571, 2008.
- Local stability analysis using simulations and sum-of-squares programming. Automatica, 44(10):2669–2675, 2008.
- Maximal Lyapunov functions and domains of attraction for autonomous nonlinear systems. Automatica, 21(1):69–80, 1985.
- Neural Lyapunov control of unknown nonlinear systems with stability guarantees. In Advances in Neural Information Processing Systems, 2022.
- V. I. Zubov. Methods of A. M. Lyapunov and Their Application. Noordhoff, 1964.