Skip to main navigation Skip to search Skip to main content

Safe Reinforcement Learning for NN-Controlled Systems with Neural Barrier Certificate Guidance

  • Hanrui Zhao
  • , Mengxin Ren
  • , Banglong Liu
  • , Niuniu Qi
  • , Xia Zeng
  • , Zhenbing Zeng
  • , Zhengfeng Yang*
  • *Corresponding author for this work
  • East China Normal University
  • Southwest University
  • Shanghai University

Research output: Contribution to journalArticlepeer-review

Abstract

Safe controller synthesis is crucial for safety-critical applications. This article presents a novel reinforcement learning (RL) approach to synthesize safe controllers for neural network (NN)-controlled systems. The core idea leverages an iterative scheme that combines controller learning with neural barrier certificate (BC) verification, ultimately producing a provably safe deep neural network (DNN) controller with formal safety guarantees. The process begins by pretraining a well-performing DNN controller as an 'oracle' via deep RL (DRL). To formally verify the safety properties of the closed-loop system under the base controller, we devise a formal verification procedure that approximates the DNN controller using polynomial inclusion, followed by synthesizing neural BCs via sum-of-squares (SOS) relaxation. In cases where the base controller is insufficient to yield a real BC, the current spurious BC is incorporated as an additional penalty term to reshape the RL reward function, guiding the iterative refinement for new controllers. We implement an automated tool, neural BC-guided safe RL NBCRL, and experimental results demonstrate the benefits of our method in terms of efficiency and scalability even for a nonlinear system with a dimension up to 12.

Original languageEnglish
Pages (from-to)2460-2473
Number of pages14
JournalIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
Volume45
Issue number5
DOIs
StatePublished - 1 May 2026

Keywords

  • Continuous dynamical systems
  • counterexample (Cex) guidance
  • formal verification
  • neural barrier certificate (BC)
  • safe reinforcement learning (RL)

Fingerprint

Dive into the research topics of 'Safe Reinforcement Learning for NN-Controlled Systems with Neural Barrier Certificate Guidance'. Together they form a unique fingerprint.

Cite this