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

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

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150792) · [OpenReview](https://openreview.net/forum?id=fMUyPAggFz) · [Open on the map](../papers.html#p150792)

Category: [Reinforcement Learning & Games](../pcat/10.md) › [Risk-Controlled Reinforcement Learning](../pgroup/127.md) · Type: new method · Keywords: barrier certificates, deployment safety, neural network control, localized repair, safety guarantees

Areas: [Safety & Security](../areas/safety.md) › Real-World Safety › Safe Reinforcement Learning

## Summary
The paper introduces adaptive piecewise barrier certificates that locally repair safety certificates for neural network controlled systems after deployment, enabling fast updates without full retraining.

## Explained to a 5-year-old
A robot that follows rules needs to stay safe while moving. Sometimes new obstacles appear that the old rules don't cover. We can fix the rules only where the new obstacles are, without rewriting all the rules. This makes the robot safe again quickly and uses less computer power. The robot can keep working almost as well as before.

## Explained to a 5-year-old, longer
A robot that drives or flies follows a set of rules to stay safe. These rules are like a safety net that stops the robot from crashing. After the robot is released, sometimes new things appear that the old safety net doesn't catch. If the robot hits a new obstacle, it could become unsafe. Instead of starting over and learning all the rules again, we can fix only the part of the safety net that needs updating. We look at where the new obstacle is and adjust just that small area. The rest of the safety net stays the same, so the robot still works as before. This small fix is fast and uses less computer time than retraining the whole system. When the robot needs a bigger change, we can gradually update both the safety net and the robot's behavior together. In the end, the robot is safe again and works almost as well as it did before. This method helps keep robots safe in real-world situations where things can change unexpectedly. It also saves time and energy compared to starting from scratch.

## For a technical reader
The paper addresses the problem of maintaining safety certificates for neural network controllers after deployment when new obstacles or constraints appear. It formulates adaptation as a localized repair problem, optimizing only the affected regions of the existing barrier certificate while preserving the rest of the policy. A staged framework is introduced that first performs localized updates, then optionally refines both the certificate and the controller jointly, and finally triggers limited retraining if needed. Experiments on four benchmark scenarios with five novel obstacles demonstrate successful repairs within seconds, outperforming full retraining in speed and reliability. The approach incurs modest performance loss (≈16%) compared to the original controller, offering a practical solution for safe, on-the-fly system updates.

## Problem
When neural network controlled systems are deployed, previously unseen obstacles or changes can create unsafe regions that invalidate existing safety certificates, requiring costly retraining to restore safety.

## Method
The approach casts deployment-time adaptation as a localized certificate repair problem, reducing it to an optimization that reuses the structure of existing barrier certificates and progressively transitions from localized updates to joint policy-certificate refinement when needed.

## Results
The approach succeeds on all benchmark cases, completing repairs within tens of seconds on average, while full retraining fails in most cases and is up to 17.3× slower where it does succeed; performance degrades by only 16.2% compared to the original policy.

## Contributions
It proposes a staged repair framework that enables localized certificate updates and joint policy-certificate refinement, and demonstrates fast deployment-time adaptation on multiple benchmarks.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150792)
