Certified-Safe Neural Control: A Secure AI Robot Control Framework
2 min read
A checkpoint collection and framework designed for the safe control of autonomous robots and drones under real-time data distribution conditions. The models combine verified Neural Control Barrier Functions (Neural CBF) with AdaptNC adaptive conformal calibration. The solution filters unsafe AI commands in under 2 milliseconds, preventing collisions caused by external disturbances such as wind or payload mass changes. The release includes PyTorch-format checkpoints for ground robots and quadcopters built on an MLP (multilayer perceptron) architecture.
Key features
- Three ready-to-use checkpoints: for autonomous mobile robots (AMR) and 12D SE(3) quadcopters
- High operational frequency: processes and filters commands at speeds up to 884 Hz
- Formal safety verification using the Branch-and-Bound (BaB) method
- Robustness to distributional shifts up to κ = 2.0 (wind, friction, mass offset)
What you can do
- Apply the checkpoints for real-time motion control of mobile ground robots (AMR)
- Configure safe flight for 12D quadcopters under severe external interference
- Integrate the conformal calibration framework into existing PyTorch robotics pipelines
- Test the filtering of hazardous control signals using built-in convex quadratic programming (OSQP)
Example
import numpy as np
from src.pipeline import CertifiedSafetyPipeline
# 1. Загрузка предобученного пайплайна безопасности
pipeline = CertifiedSafetyPipeline.from_pretrained(
checkpoint_path="checkpoints/cbf_dubins.pt",
system_type="dubins",
)
# 2. Фильтрация небезопасной команды в реальном времени (< 2ms)
state = np.array([1.5, 0.0, 0.0, 1.5], dtype=np.float32)
u_nominal = np.array([0.0, 1.5], dtype=np.float32)
u_safe, info = pipeline.filter_action(state=state, u_nominal=u_nominal)
print("Nominal command: ", u_nominal)
print("Certified safe action:", u_safe)
print("Solve time: ", f"{info['solve_time_ms']:.2f} ms")
Read more
Details• Network architecture: MLP [64, 64] and [128, 128, 64] with Tanh activation
• Safety violation rate: 0.00% for the proposed method versus 41.82% for the unfiltered policy
• Empirical safety coverage: 99.55% at an average solving speed of 884 Hz
• License: MIT










Comments