ATOM-CBF: Adaptive Safe Perception-Based Control under Out-of-Distribution Measurements
Kai S. Yun, Navid Azizan
TL;DR
ATOM-CBF addresses safety for perception-based control under OoD measurements by introducing an adaptive perception error margin that scales with epistemic uncertainty and a safety filter that modulates conservatism in real time. It builds on MR-CBF but replaces static bounds with an OoD-aware margin $\epsilon_{\text{adapt}}(y) = \left\| \varphi_{\text{cal}} \cdot \text{Unc}(y) \right\|_2$, where $\varphi_{\text{cal}}$ is learned from a filtered calibration set. The framework supports EUQ modules such as SCOD or Deep Ensembles and formulates the safety constraint as an SOCP with a slack variable to ensure feasibility. Empirical validation on an F1Tenth vehicle with LiDAR and a quadruped with RGB images shows zero OoD collisions and highlights a safety-performance trade-off influenced by the choice of EUQ and the filtering parameter $\\gamma$. The approach provides practical safety guarantees for perception-based control without ground-truth OoD labels or prior distribution knowledge, enabling safer real-world deployment.
Abstract
Ensuring the safety of real-world systems is challenging, especially when they rely on learned perception modules to infer the system state from high-dimensional sensor data. These perception modules are vulnerable to epistemic uncertainty, often failing when encountering out-of-distribution (OoD) measurements not seen during training. To address this gap, we introduce ATOM-CBF (Adaptive-To-OoD-Measurement Control Barrier Function), a novel safe control framework that explicitly computes and adapts to the epistemic uncertainty from OoD measurements, without the need for ground-truth labels or information on distribution shifts. Our approach features two key components: (1) an OoD-aware adaptive perception error margin and (2) a safety filter that integrates this adaptive error margin, enabling the filter to adjust its conservatism in real-time. We provide empirical validation in simulations, demonstrating that ATOM-CBF maintains safety for an F1Tenth vehicle with LiDAR scans and a quadruped robot with RGB images.
