Bayesian Meta-Learning on Control Barrier Functions with Data from On-Board Sensors

Wataru Hashimoto, Kazumune Hashimoto, Akifumi Wachi, Xun Shen, Masako Kishida, Shigemasa TakaiarXiv 2023

Abstract: In this paper, we consider a way to safely navigate robots in unknown environments using measurement data from sensory devices. The control barrier function (CBF) is one of the promising approaches to encode safety requirements of the system, and recent progress on learning-based approaches for CBF realizes online synthesis of CBF-based safe controllers with sensor measurements. However, existing methods are inefficient in the sense that the trained CBF cannot be generalized to different environments and re-synthesis of the controller is necessary when changes in the environment occur. Thus, this paper considers a way to learn CBFs that can quickly adapt to a new environment with a small amount of data by utilizing the currently developed Bayesian meta-learning framework. The proposed scheme realizes efficient online synthesis of the controller as shown in the simulation study and provides probabilistic safety guarantees on the resulting controller.

Introduction

Ensuring safety is a fundamental challenge in robotics, often addressed through Control Barrier Functions (CBFs). CBFs provide a mathematical framework to guarantee that a robot remains within a defined "safe set," effectively preventing collisions. However, traditional CBF applications typically assume a perfect, pre-existing map of the environment.

In real-world scenarios, robots must navigate unknown spaces using noisy on-board sensors like LiDAR. While recent research has explored learning these safe zones on the fly, existing methods often suffer from high data requirements, slow adaptation to novel environments, and significant computational overhead. This paper introduces a framework that allows robots to "learn how to learn" about obstacle geometry, enabling rapid adaptation with minimal sensor data while maintaining formal probabilistic safety guarantees.

Proposed Framework: Bayesian Meta-Learning for CBFs

The authors propose a three-part solution to bridge the gap between safety guarantees and environmental uncertainty:

  1. ALPaCA (Adaptive Learning for Probabilistic Connectionist Architectures): This meta-learning engine allows the system to learn a set of "basis functions" representing common geometric features from thousands of different shapes. When entering a new environment, the robot only needs to update a simple linear model on top of these features, facilitating near-instant adaptation.
  2. GPIS (Gaussian Process Implicit Surfaces): Obstacles are modeled as implicit surfaces where a function value of zero represents the surface, positive values indicate safe space, and negative values represent the interior of the object.
  3. Probabilistic Safety Bounds: Leveraging the Bayesian nature of the model, the system provides a measure of uncertainty. By using the probabilistic lower bound of the learned distance function as the CBF, the robot naturally exhibits cautious behavior, staying further away from obstacles when uncertainty is high and moving closer as more data is gathered.
The proposed framework consists of an offline meta-training phase to learn geometric priors and an online control execution phase for real-time navigation.

Experimental Setup and Results

The framework was validated in a high-fidelity 2D simulation using a 360-degree LiDAR scanner with simulated noise. The training and testing involved a variety of shapes, ranging from simple synthetic ellipsoids to complex, non-convex objects from the PyBullet physics engine, such as cylinders, boxes, and organic shapes like ducks and bunnies.

The framework successfully learns safe boundaries for a variety of complex 3D objects (top) by modeling their 2D cross-sections (bottom).

Key Findings:

  • Superior Adaptation: The meta-learning approach achieved significantly lower Negative Log-Likelihood (NLL) with fewer data points compared to standard Gaussian Processes (GPs), demonstrating a superior ability to "guess" the hidden parts of obstacles.
  • Enhanced Navigation Accuracy: In goal-reaching tasks, the proposed method showed a marked improvement in performance. For instance, it achieved a Cumulative Squared Error (CSE) of 618, compared to 1010 for the GP-based approach.
  • Computational Efficiency: The system synthesized control inputs much faster than traditional GP methods, making it suitable for real-time deployment on hardware with limited processing power.

Conclusion and Future Work

This work demonstrates that combining Bayesian meta-learning with CBFs allows for safe, efficient navigation in unknown 2D environments. By learning geometric priors, robots can generalize their understanding of obstacles and adapt quickly to new surroundings.

Future research will focus on extending this framework to 3D environments, which present more complex geometric and point cloud challenges. Additionally, the authors aim to address dynamic environments where obstacles may move, requiring the model to account for time-varying safety sets.

Summary updated

BibTeX
@misc{hashimoto2023bayesian,
  author = {Wataru Hashimoto and Kazumune Hashimoto and Akifumi Wachi and Xun Shen and Masako Kishida and Shigemasa Takai},
  title = {{Bayesian Meta-Learning on Control Barrier Functions with Data from On-Board Sensors}},
  year = {2023},
  eprint = {2308.05306},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.05306},
}
Figure