Deep learning has had a far reaching impact in robotics. Specifically, deep reinforcement learning algorithms have been highly effective in synthesizing neural-network controllers for a wide range of tasks. However, despite this empirical success, these controllers still lack theoretical guarantees on their performance, such as Lyapunov stability (i.e., all trajectories of the closed-loop system are guaranteed to converge to a goal state under the control policy). This is in stark contrast to traditional model-based controller design, where principled approaches (like LQR) can synthesize stable controllers with provable guarantees. To address this gap, we propose a generic method to synthesize a Lyapunov-stable neural-network controller, together with a neural-network Lyapunov function to simultaneously certify its stability. Our approach formulates the Lyapunov condition verification as a mixed-integer linear program (MIP). Our MIP verifier either certifies the Lyapunov condition, or generates counter examples that can help improve the candidate controller and the Lyapunov function. We also present an optimization program to compute an inner approximation of the region of attraction for the closed-loop system. We apply our approach to robots including an inverted pendulum, a 2D and a 3D quadrotor, and showcase that our neural-network controller outperforms a baseline LQR controller. The code is open sourced at \url{https://github.com/StanfordASL/neural-network-lyapunov}.
A Lyapunov-Based Switching Scheme for Selecting the Stable Closed-Loop Fixed Attitude-Error Quaternion During Flight
Washington State University(华盛顿州立大学);California Institute of Technology(加州理工学院);School of Mechanical and Materials Engineering, Washington State University(华盛顿州立大学机械与材料工程学院)
Lyapunov-Stable Orientation Estimator for Humanoid Robots
CNRS-AIST JRL (Joint Robotics Laboratory), IRL, National Institute of Advanced Industrial Science and Technology (AIST)(法国国家科学研究中心-日本产业技术综合研究所联合机器人实验室(联合研究实验室),日本产业技术综合研究所);Laboratoire d’Ingénierie des Systèmes de Versailles(凡尔赛系统工程实验室);Université Paris-Saclay, CentraleSupélec, CNRS(巴黎萨克雷大学,中央理工-高等电力学院,法国国家科学研究中心)
Learning a Stable Dynamic System with a Lyapunov Energy Function for Demonstratives Using Neural Networks
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
Stable Robot Motions on Manifolds: Learning Lyapunov-Constrained Neural Manifold ODEs
Department of Computer and Information Sciences University of Konstanz(计算机与信息科学系康斯坦茨大学);Department of Robotics, Mohamed bin Zayed University of Artificial Intelligence(机器人学系Mohamed bin Zayed人工智能大学);Mechanical Engineering Department, New York University Abu Dhabi(机械工程系纽约大学阿布扎克分校)