Introduction
Deep learning has significantly advanced robotic control, yet neural network (NN) policies often remain "black boxes" lacking formal safety or stability guarantees. In control theory, Lyapunov stability is the standard for ensuring a system returns to equilibrium. However, synthesizing a Lyapunov function for nonlinear systems controlled by neural networks is computationally intensive and often yields overly conservative results.
Traditional methods like Sum-of-Squares (SOS) or Mixed-Integer Programming (MIP) struggle to scale to high-dimensional systems or complex architectures. Furthermore, previous formulations were often too restrictive, forcing stability constraints over large predefined regions, which resulted in small "certified" Regions of Attraction (ROA). This paper presents a framework to train and verify NN controllers with formal Lyapunov stability, achieving larger certified ROAs and providing the first certificates for complex output-feedback systems.
Methodology: Joint Synthesis and Scalable Verification
The authors address the limitations of existing methods through a two-pronged approach: a relaxed Lyapunov formulation and an efficient synthesis-verification loop.
A Relaxed Lyapunov Formulation
Traditional stability constraints require the Lyapunov derivative to decrease across an entire predefined region. This often restricts the growth of the certified ROA. The proposed formulation focuses exclusively on states within the current candidate ROA, allowing the certified region to expand more freely during training. This "relaxed" constraint enables the ROA to nontrivially intersect and even expand beyond the boundaries of the initial search region.
Joint Learning Architecture
The framework enables the joint synthesis of three critical components: a controller, an observer (to estimate state from sensor data), and a Lyapunov certificate. This is particularly vital for output-feedback systems where the full state is not directly measurable, such as a quadrotor navigating via lidar.
Efficient Synthesis and Verification
The synthesis process utilizes a Counter-Example Guided Inductive Synthesis (CEGIS) loop. To maintain efficiency, slow formal verifiers are replaced during training with fast, GPU-accelerated adversarial attacks (Projected Gradient Descent, PGD) to identify "trouble spots." Once training is complete, the system undergoes post-hoc verification using $\alpha,\beta$-CROWN, a state-of-the-art neural network verifier. This approach is significantly more scalable than traditional solvers, allowing for the verification of higher-dimensional systems.
Key Results and Benchmarks
The method was evaluated on several challenging dynamical systems, including an inverted pendulum, cartpole (4D), PVTOL (6D), and a 2D quadrotor (8D).
Performance and Scalability
The proposed framework consistently outperformed baselines in terms of both the size of the certified ROA and verification speed. For the Cartpole system, the method took 129 seconds compared to 448 seconds for the baseline. On the 6D PVTOL system, it achieved a nearly 9x speedup (217s vs 1935s).
Output Feedback and Complex Sensors
A major contribution of this work is providing the first formal neural certificates for systems using output feedback. The authors successfully certified a 2D quadrotor using simulated 1D lidar sensors. Because lidar involves non-polynomial observation functions, it is beyond the reach of traditional SOS methods, highlighting the flexibility of this neural approach.
Conclusion
This research bridges the gap between high-performance neural control and formal stability theory. By leveraging scalable verification tools and a more flexible Lyapunov formulation, the authors demonstrate that it is possible to provide rigorous stability certificates for complex, sensor-based robotic systems. While high dimensionality (beyond ~10D) remains a challenge, this work establishes a foundation for certifying neural controllers in real-world robotics.
Summary updated