Skip to main navigation Skip to search Skip to main content

Formally Verifying Deep Reinforcement Learning Controllers with Lyapunov Barrier Certificates

  • Udayan Mandal
  • , Guy Amir
  • , Haoze Wu
  • , Ieva Daukantas
  • , Fletcher Lee Newell
  • , Umberto J. Ravaioli
  • , Baoluo Meng
  • , Michael Durling
  • , Milan Ganai
  • , Tobey Shim
  • , Guy Katz
  • , Clark Barrett

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

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.

Original languageEnglish
Title of host publicationProceedings of the 24th Conference on Formal Methods in Computer-Aided Design, FMCAD 2024
EditorsNina Narodytska, Philipp Rummer, Philipp Rummer, Warren A. Hunt, Georg Weissenbacher
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages95-106
Number of pages12
Edition2024
ISBN (Electronic)9783854480655
DOIs
StatePublished - 2024
Event24th Conference on Formal Methods in Computer-Aided Design, FMCAD 2024 - Prague, Czech Republic
Duration: 15 Oct 202418 Oct 2024

Conference

Conference24th Conference on Formal Methods in Computer-Aided Design, FMCAD 2024
Country/TerritoryCzech Republic
CityPrague
Period15/10/2418/10/24

Bibliographical note

Publisher Copyright:
© 2024 FMCAD Association (and authors).

Fingerprint

Dive into the research topics of 'Formally Verifying Deep Reinforcement Learning Controllers with Lyapunov Barrier Certificates'. Together they form a unique fingerprint.

Cite this