Learning Safe, Generalizable Perception-Based Hybrid Control With Certificates

Charles Dawson, Bethany Lowenkamp, Dylan Goff, Chuchu Fan

Abstract

Navigating complex, unknown environments with high-dimensional sensors like Lidar remains a significant challenge in robotics. Traditional control methods often require perfect state estimation, while learning-based approaches lack formal safety guarantees. This paper introduces LOCUS (Learning-enabled Observation-feedback Control Using Switching), a framework that combines neural network-based safety and progress certificates with a hybrid switching logic. By learning certificates directly in the observation space, LOCUS achieves provable safety and liveness without a global map. Experimental results demonstrate a 100% safety rate in randomized simulations and real-world hardware, outperforming traditional MPC in speed and avoiding common deadlock scenarios.

Introduction

The integration of safety and perception is a fundamental hurdle in autonomous navigation. Traditional Control Barrier Functions (CBFs) provide rigorous safety guarantees but typically rely on precise global state estimates. Conversely, Reinforcement Learning (RL) excels at processing raw sensor data like Lidar but often operates as a "black box" without formal safety bounds. Furthermore, many "safe" controllers suffer from deadlock in "bug trap" environments, where safety constraints prevent the robot from moving toward a goal blocked by obstacles.

LOCUS addresses these issues by defining safety and progress directly on raw sensor observations and employing a hybrid control strategy to ensure the robot can navigate around obstacles that would otherwise cause a deadlock.

Methodology

The LOCUS framework is built upon three primary components designed to bridge the gap between perception and formal safety.

1. Observation-Space Certificates (oCBF & oCLF)

Instead of relying on global $(x, y)$ coordinates, LOCUS utilizes neural networks to learn Control Barrier Functions (oCBF) and Control Lyapunov Functions (oCLF) directly from raw Lidar scans. The oCBF ($h$) defines safety boundaries, while the oCLF ($V$) measures progress toward the goal. This approach allows the robot to generalize safety rules across different environments; for instance, a wall detected at a specific distance is recognized as a hazard regardless of the robot's absolute location. The architecture is designed to be permutation-invariant, ensuring consistent safety calculations regardless of the order of Lidar beams.

2. Hybrid Switching Logic

To overcome the deadlock problem, LOCUS implements a switching mechanism between two modes:

  • Goal-Seeking (G): The robot prioritizes reaching the goal while strictly adhering to safety constraints.
  • Exploratory (E): If the robot becomes stuck (e.g., in a U-shaped obstacle where the goal is behind a wall), it switches to a stochastic policy that follows the obstacle's boundary until a clear path to the goal is identified.
The hybrid switching logic enables the robot to transition between goal-seeking and exploratory modes to avoid deadlocks in complex environments.

3. Approximate One-Step Lookahead

Evaluating the safety of a potential action requires predicting the subsequent sensor observation. LOCUS employs a geometric approximation by shifting and rotating the current Lidar point cloud based on the intended movement. This "preview" allows the robot to assess the safety of future states without a complex, pre-defined world model.

Experimental Evaluation

The framework was evaluated through extensive simulation and hardware testing to verify its safety, efficiency, and generalization capabilities.

Overview of the LOCUS framework, showing a robot navigating an environment using Lidar-based observation certificates and hybrid control.
  • Simulation: 10,000 synthetic data points were used for training. Benchmarking involved 500 unique, randomized 2D environments, comparing LOCUS against RL (PPO) and geometry-based MPC.
  • Hardware: Real-world validation was conducted using a TurtleBot 3 equipped with a 2D Lidar, navigating dynamic environments with moving obstacles, including human interference.

Results and Discussion

LOCUS demonstrated significant improvements over baseline methods across several key metrics:

  • Safety and Success: The framework achieved a 100% safety rate in 500 randomized trials and a 93.2% navigation success rate. In contrast, state-based CBFs often failed to adapt to new obstacle layouts.
  • Efficiency: LOCUS is computationally efficient, with a control loop time of 18ms, roughly 6x faster than traditional geometry-based MPC (102ms).
  • Generalization: By operating in the observation space, the controller successfully navigated environments it had never encountered during training, proving it learned the concept of an obstacle rather than memorizing a map.
  • Robustness: Hardware tests confirmed the system's ability to handle real-world dynamics, successfully navigating around humans despite being trained only on static simulations.

Conclusion

LOCUS provides a robust bridge between high-dimensional perception and formal control theory. By leveraging observation-space certificates and hybrid switching, it ensures both safety and liveness in unknown environments. While currently optimized for Lidar, future work will explore extending this approach to RGB camera data using generative models and incorporating explicit handling of sensor noise and occlusions.

Summary updated

BibTeX
@article{dawson2022learning,
  author = {Charles Dawson and Bethany Lowenkamp and Dylan Goff and Chuchu Fan},
  title = {{Learning Safe, Generalizable Perception-Based Hybrid Control With Certificates}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2022},
  url = {https://openreview.net/forum?id=Gdy7NxXugl},
}
Figure