Safe Reinforcement Learning for NN-controlled Systems with Neural Barrier Certificate Guidance
Safe controller synthesis is crucial for safety-critical applications. This paper presents a novel reinforcement learning approach to synthesize safe controllers for 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 pre-training a well-performing DNN controller as an “oracle” via deep reinforcement learning (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, NBCRL, and experimental results demonstrate the benefits of our method in terms of efficiency and scalability even for a nonlinear system with dimension up to 12.
Authors
- Hanrui Zhao (ORCID: https://orcid.org/0000-0001-5246-0330)
- Zhenbing Zeng (ORCID: https://orcid.org/0000-0002-9728-1114)
- Niuniu Qi (ORCID: https://orcid.org/0009-0003-5352-3681)
- Banglong Liu (ORCID: https://orcid.org/0009-0002-3584-1339)
- Zhengfeng Yang (ORCID: https://orcid.org/0000-0003-1209-8191)
- Xia Zeng (ORCID: https://orcid.org/0000-0003-2575-7045)
- Mengxin Ren (ORCID: https://orcid.org/0009-0004-3772-8369)
Institutions
- Shanghai University (CN)
- Southwest University (CN)
- Shanghai Key Laboratory of Trustworthy Computing (CN)
- East China Normal University (CN)
Publication Details
- Journal
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/tcad.2025.3616856
- Primary Topic
- Fault Detection and Control Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00