TL;DR
This paper introduces two new Control Barrier Function (CBF) frameworks—DMR-CBF and NMR-CBF—designed to keep autonomous systems safe even when their state estimates are highly inaccurate. By combining worst-case drift optimization with differentiable neural network fine-tuning, the proposed methods eliminate the over-conservativeness of traditional robust filters and run fast enough for real-time deployment on a physical quadruped robot.
What Problem Does This Paper Address?
Control Barrier Functions (CBFs) are a popular mathematical tool used as "safety filters" for autonomous systems. They sit between a robot's nominal controller (which tries to achieve a goal, like driving forward) and the robot's motors, overriding commands only when a collision or safety violation is imminent.
However, standard CBFs assume the robot knows its exact position and velocity. In reality, robots rely on noisy sensors, Kalman filters, or learned perception models that carry estimation errors. When a robot thinks it is a few inches to the left of where it actually is, standard CBFs fail, leading to crashes.
Existing solutions fall into two flawed categories:
- Point-based robust methods: These evaluate safety at the estimated state and add a fixed safety margin. They are prone to collisions if the estimation error grows larger than expected.
- Set-based robust methods: These ensure safety across an entire "uncertainty set" of possible states. While safe, they suffer from extreme conservativeness (e.g., freezing up because they can't decide which way to steer around an obstacle) and scale poorly to high-dimensional systems.
Methods
The authors bridge this gap by introducing a hybrid paradigm that splits how the system handles uncontrolled system physics ("drift") versus controlled actions.
1. Drift-Measurement-Robust (DMR)-CBF
The DMR-CBF treats the system's autonomous drift with set-based robustness (calculating the worst-case scenario over the uncertainty set) but evaluates the control input matrix using only the current state estimate. This prevents the filter from becoming "indecisive" while still providing a cheap, a posteriori safety certificate.
2. Neural Measurement-Robust (NMR)-CBF
While DMR-CBF is highly effective, solving an optimization problem over an uncertainty set at every single timestep is computationally expensive. To fix this, the authors introduce the NMR-CBF, which replaces the inner optimization loop with a feedforward neural network ($\rho_\xi$).
The training pipeline consists of two phases:
- Supervised Pretraining: The neural network learns to mimic the worst-case corrections computed by the DMR-CBF oracle across various noise levels.
- Differentiable Fine-Tuning: The network is fine-tuned using end-to-end differentiable closed-loop trajectory rollouts. This allows the network to minimize a trajectory-level loss function, teaching it to safely "shrink" its safety margins in areas where the robot has plenty of room to maneuver, drastically reducing conservativeness.
Datasets
The methods were evaluated using custom-designed simulation environments and real-world hardware experiments:
- Planar Double Integrator (4D State Space): A simulated point-mass navigating around a circular obstacle under varying levels of state uncertainty ($\epsilon$).
- Quadrotor (12D State Space): A highly complex simulation requiring the drone to avoid an obstacle while simultaneously satisfying attitude (tilt) and floor/ceiling altitude constraints.
- Physical Hardware: Deployed on a Unitree Go2 quadruped robot navigating an obstacle field with real onboard odometry drift and an artificially injected 15 cm bias.
Key Insights and Ideas
- The Control Mismatch Vulnerability: Through mathematical decomposition, the authors proved that the primary point of failure for a hybrid robust filter is the control-coefficient mismatch. By robustifying just the drift term, you eliminate the vast majority of safety risks without triggering the "indecisive" behavior common to fully set-based methods.
- Trajectory-Level vs. Pointwise Optimization: Traditional robust methods look at safety as a series of frozen, worst-case moments in time. By using differentiable physics rollouts, the NMR-CBF optimizes for the entire path, realizing that it can be aggressive early in a trajectory if it leaves itself a safe exit strategy later.
Key Results
Simulation
In both the 4D double integrator and 12D quadrotor simulations, DMR-CBF and NMR-CBF were the only methods to achieve a 100% safety rate (zero collisions) across all noise levels without suffering from high timeout rates.
- Scalability & Speed: On the 12D quadrotor, the set-based Duality CBF took a massive 45.28 ms per step, making it unusable for real-time control. In contrast, the NMR-CBF took just 0.57 ms per step, adding negligible overhead compared to a non-robust standard CBF (0.47 ms).
Hardware Deployment
When tested on the Unitree Go2 quadruped robot, the onboard odometry naturally drifted (underestimating distance traveled by up to 18%).
- The Standard CBF failed, resulting in a 7/10 safety rate because it trusted the drifted estimate blindly and crashed into the obstacles.
- The NMR-CBF achieved a perfect 10/10 safety rate, dynamically adjusting its margins to safely steer the robot clear of all obstacles.
Limitations and Future Work
The primary trade-off of the NMR-CBF is the loss of formal, mathematical safety guarantees during the neural network approximation step; its safety is empirical and tied to the training distribution.
For future work, the authors aim to explore methods that can provide formal verification bounds for the learned neural network component. Additionally, extending this framework to handle dynamic, moving obstacles remains an open and promising direction.
Summary updated