English

Formally Verifying Deep Reinforcement Learning Controllers with Lyapunov Barrier Certificates

Artificial Intelligence 2024-08-16 v2 Machine Learning Systems and Control Systems and Control

Abstract

Deep reinforcement learning (DRL) is a powerful machine learning paradigm for generating agents that control autonomous systems. However, the ``black box'' nature of DRL agents limits their deployment in real-world safety-critical applications. A promising approach for providing strong guarantees on an agent's behavior is to use Neural Lyapunov Barrier (NLB) certificates, which are learned functions over the system whose properties indirectly imply that an agent behaves as desired. However, NLB-based certificates are typically difficult to learn and even more difficult to verify, especially for complex systems. In this work, we present a novel method for training and verifying NLB-based certificates for discrete-time systems. Specifically, we introduce a technique for certificate composition, which simplifies the verification of highly-complex systems by strategically designing a sequence of certificates. When jointly verified with neural network verification engines, these certificates provide a formal guarantee that a DRL agent both achieves its goals and avoids unsafe behavior. Furthermore, we introduce a technique for certificate filtering, which significantly simplifies the process of producing formally verified certificates. We demonstrate the merits of our approach with a case study on providing safety and liveness guarantees for a DRL-controlled spacecraft.

Keywords

Cite

@article{arxiv.2405.14058,
  title  = {Formally Verifying Deep Reinforcement Learning Controllers with Lyapunov Barrier Certificates},
  author = {Udayan Mandal and Guy Amir and Haoze Wu and Ieva Daukantas and Fletcher Lee Newell and Umberto J. Ravaioli and Baoluo Meng and Michael Durling and Milan Ganai and Tobey Shim and Guy Katz and Clark Barrett},
  journal= {arXiv preprint arXiv:2405.14058},
  year   = {2024}
}

Comments

To appear in FMCAD 2024

R2 v1 2026-06-28T16:36:26.152Z