cs.AINov 25, 2026

Ensuring Deployment-Time Safety of Neural Network Controlled Systems via Localized Certificate Repair

Authors: Xiaoyang Lv, Peixin Wang, Jianhao Bai, Bai Xue, Min Zhang, Luke Ong

Organizations: Shanghai Key Laboratory of Trustworthy Computing, East China Normal University · KLSS, Institute of Software, Chinese Academy of Sciences · College of Computing and Data Science, Nanyang Technological University

Abstract

Barrier certificates provide formal safety guarantees for neural network controlled systems by ensuring that system trajectories avoid unsafe regions over time. However, after deployment, previously unseen obstacles or constraint changes may introduce new unsafe regions, invalidating the original certificate and potentially leading to unsafe behavior. We address this setting with adaptive piecewise barrier certificates, which preserve the original certificate and policy in unchanged regions while introducing localized updates around newly emerged unsafe regions. The central question is how to perform such updates efficiently during system execution without retraining from scratch. Our key idea is to cast deployment-time adaptation as a localized certificate repair problem and reduce it to an optimization task that leverages the learned structure of previous barrier certificates, enabling fast updates without global retraining. We further design a staged repair framework that progressively transitions from localized repair to joint policy-certificate updates and, when necessary, localized retraining. Empirical results on four benchmarks with five new obstacles show that our method succeeds in all cases and completes within tens of seconds on average, whereas retraining from scratch fails in most cases. On instances where retraining succeeds, our method is 17.3×\times faster on average. It incurs only 16.2% performance degradation relative to the original policy.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Set-Based Training of Neural Barrier Certificates for Safety Verification of Dynamical Systems

    May 4, 2026Miriam Kranzlmüller, Lukas Koller, Tobias Ladner +1Neural Network VerificationSafety-Critical Control

  2. Neural Barriers: An Online Certifiable Learning-enhanced Adaptive High Order Safety Critical Control

    Oct 4, 2026Lishuo Pan, Mattia Catellani, An Cao +2Safety-Critical ControlControl Barrier Functions

  3. ShardNet: Training Neural Controllers with Hard, Non-Convex Constraints

    Jun 29, 2026Long Kiu Chung, Shreyas KousikNeural Network VerificationSafety-Critical Control