Analytical Lyapunov Function Discovery: An RL-Based Generative Approach
Abstract
Despite advances in learning-based methods, finding valid Lyapunov functions for nonlinear dynamical systems remains challenging. Current neural network approaches face two main issues: challenges in scalable verification and limited interpretability. To address these, we propose an end-to-end framework using transformers to construct analytical Lyapunov functions (local), which simplifies formal verification, enhances interpretability, and provides valuable insights for control engineers. Our framework consists of a transformer-based trainer that generates candidate Lyapunov functions and a falsifier that verifies candidate expressions and refines the model via risk-seeking policy gradient. Unlike Alfarano et al. (2024), which utilizes pre-training and seeks global Lyapunov functions for low-dimensional systems, our model is trained from scratch via reinforcement learning (RL) and succeeds in finding local Lyapunov functions for high-dimensional and non-polynomial systems. Given the symbolic nature of the Lyapunov function candidates, we employ efficient optimization methods for falsification during training and formal verification tools for the final verification. We demonstrate the efficiency of our approach on a range of nonlinear dynamical systems with up to ten dimensions and show that it can discover Lyapunov functions not previously identified in the control literature. Full implementation is available on Github.
Cite
Text
Zou et al. "Analytical Lyapunov Function Discovery: An RL-Based Generative Approach." Proceedings of the 42nd International Conference on Machine Learning, 2025.Markdown
[Zou et al. "Analytical Lyapunov Function Discovery: An RL-Based Generative Approach." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/zou2025icml-analytical/)BibTeX
@inproceedings{zou2025icml-analytical,
title = {{Analytical Lyapunov Function Discovery: An RL-Based Generative Approach}},
author = {Zou, Haohan and Feng, Jie and Zhao, Hao and Shi, Yuanyuan},
booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
year = {2025},
pages = {80776-80804},
volume = {267},
url = {https://mlanthology.org/icml/2025/zou2025icml-analytical/}
}