Learning to Adapt Control Barrier Functions Under Epistemic and Aleatoric Uncertainty

summary

The gist

Control barrier functions (CBFs) provide a tractable mechanism for enforcing safety constraints in robotic systems…

In short

The paper introduces Online Adaptive Control Barrier Functions (OA-CBF) to dynamically adjust safety parameters at runtime. It uses a probabilistic ensemble neural network to verify candidate parameters against safety and performance metrics, incorporating uncertainty quantification. This allows the system to adapt its conservative constraints online, reducing conservatism while maintaining safety under both knowledge and data uncertainty.

Key concepts

Locally Validated CBF Parameters
These are CBF parameters that are certified as safe over a short future time horizon around the current operating point. The system identifies these by checking if a candidate parameter satisfies the safety constraint for a finite prediction window, ensuring local safety before applying it.
Probabilistic Verification Method
Instead of trusting a single model output, this method uses an ensemble neural network to predict distributions over safety and performance metrics. This allows the system to assess the uncertainty associated with each candidate parameter's prediction rather than just using a single best guess.
Epistemic Uncertainty Gate
This gate filters out predictions from the neural network that are highly uncertain, often by checking if they fall within a certain threshold of known training data. This ensures that only predictions based on reliable, well-represented scenarios are considered locally valid.
Distributionally Robust CVaR Constraint
This constraint robustly handles aleatoric uncertainty (randomness in the system). It requires that the worst-case predicted safety loss, calculated using a Conditional Value at Risk (CVaR) measure, remains below a specified threshold. This guarantees safety even under the most unfavorable random outcomes.

Terminology used across episodes

This episode discusses

The paper

Learning to Adapt Control Barrier Functions Under Epistemic and Aleatoric Uncertainty · Read on arXiv

University of Michigan

Control barrier functions (CBFs) provide a tractable mechanism for enforcing safety constraints, but the system response depends strongly on their class-K function parameters. Under input constraints, these parameters affect both the feasibility of the underlying optimization problem and the tradeoff between conservative and aggressive responses. This paper proposes Online Adaptive CBF (OA-CBF), a framework for adapting CBF parameters at runtime to improve task performance under input constraints. We introduce locally validated CBF parameters as a finite-horizon validation target and train a probabilistic ensemble neural network to evaluate queried parameters rather than directly predict them. A graph-attention encoder provides a fixed-dimensional representation of variable-size environments, while the probabilistic ensemble characterizes epistemic uncertainty through disagreement among its members and aleatoric uncertainty through their individual predictive variances. To account for these uncertainties, we use conformal prediction to reject potentially out-of-distribution predictions, and distributionally robust conditional value-at-risk to assess the predicted safety risk across ensemble members. Among the retained candidates, OA-CBF selects the parameter with the best predicted progress metric and applies it through either an MPC-CBF or CBF-QP safety filter. Simulation studies on dynamic unicycle, planar and three-dimensional quadrotor, kinematic bicycle, and VTOL quadplane benchmarks show that OA-CBF reduces the conservatism of fixed-parameter CBF controllers while maintaining low collision and infeasibility rates.

Transcript

Introduction to the show: ident: Robotics Radio. Generated commentary on the latest robotics and control papers.

Rosa: We're looking at the paper: "Learning to Adapt Control Barrier Functions Under Epistemic and Aleatoric Uncertainty".

Title and authors: Rosa: The authors are Taekyung Kim, Robin Inho Kee, and Dimitra Panagou. They’re bringing together control theory and machine learning to tackle this uncertainty issue head-on.

Dev: It looks like they really focus on the verification process itself, which is important because the paper doesn't just propose a new way to set parameters; it proposes a whole system for checking if those parameters are actually safe right now.

Taro: So, instead of just training some model and blindly trusting its output, they want to build in a way for the robot to check its own assumptions before committing to an action.

Rosa: Right. And what they call the core idea is identifying these locally validated CBF parameters over a finite prediction horizon around the current operating point. This means we're not just checking if it works *now*, but if it will work for the next few moments as well, which is crucial for real-time operation.

Dev: It sounds like they’re trying to formalize that "local knowledge" in a way that can be checked online, which is where the uncertainty quantification comes into play.

The paper's summary: Rosa: The summary explains that they train a probabilistic ensemble neural network, or PENN, to evaluate candidate CBF parameters instead of having it predict one single parameter directly. That’s a big shift in how the model interacts with the safety constraints.

Dev: That makes sense because if you ask a black-box model to output exactly what parameter to use, that's risky when you don't know how confident it is about that specific state or obstacle configuration.

Taro: They’re essentially asking the neural network to give us a prediction of both the safety metric and the performance metric simultaneously. That lets them evaluate different candidates against both goals at once.

Rosa: And then they use a two-step verification process for every candidate parameter sampled online: first, an epistemic uncertainty gate to filter out predictions that are too far outside what the model has seen before.

Dev: That’s smart because if the model is highly uncertain about a certain state, we should probably not trust its recommendation, which directly addresses that risk of overconfident extrapolation you mentioned earlier.

The paper's improvements: Rosa: The main improvement they highlight is moving from relying on one globally valid parameter to verifying candidate parameters over overlapping update intervals. This means the safety is preserved by repeating this local validation process sequentially.

Dev: I like that part because it addresses the conservatism issue directly, as conservative parameters often lead to slow progress, but if you validate locally and adapt, you can potentially use more aggressive settings without sacrificing safety.

Taro: And then they layer on another check for aleatoric uncertainty using distributionally robust conditional value at risk, or CVaR. This handles the inherent randomness in the environment itself, ensuring that even if we are uncertain about what’s going to happen next, the worst-case outcome remains within acceptable bounds.

Rosa: So they have this two-step check: first filtering out predictions with high epistemic uncertainty using a gate calibrated by conformal prediction on trajectory divergence scores. Then, for the remaining ones, they use the distributionally robust CVaR constraint to screen for aleatoric risk based on that predicted safety loss metric.

Dev: That CVaR part is where things get robust against noise; it makes sure we aren't just trusting a single prediction, but we’re checking that even the worst possible outcome under that prediction stays safe with a certain probability.

Conclusion: Rosa: To wrap up, this paper on Learning to Adapt Control Barrier Functions Under Epistemic and Aleatoric Uncertainty shows how you can achieve online adaptation by using locally validated CBF parameters over a finite prediction horizon.

Dev: It essentially gives us a way to move beyond fixed conservative parameters by incorporating uncertainty quantification into the decision-making loop, allowing for safety checks before we apply the new settings at runtime.

Taro: What this means for practical systems is that you can maintain high performance while still being rigorously cautious about what the environment might throw at you, as long as your validation process remains reliable over time.

Rosa: And to put it simply, they’ve shown a way to reshape those inner safe sets dynamically rather than relying on one static set.

Dev: It’s a lot of verification happening online, but the authors show that this approach keeps safety preserved when that local validation is maintained across successive update intervals.

Taro: For me, it suggests that future autonomy needs to incorporate this kind of uncertainty-aware verification directly into the parameter selection process for critical systems.

Rosa: Yeah, so we’re looking at learning how to trust a system not by blind faith in a single output, but by constantly validating its local predictions against known uncertainty bounds.

More episodes

← Home