Safety-Aware Preference-Based Learning for Safety-Critical Control

Ryan K. Cosner, Maegan Tucker, Andrew J. Taylor, Kejun Li, Tamás G. Molnár, Wyatt Ubellacker, Anil Alan, Gábor Orosz, Yisong Yue, Aaron D. Ames

Abstract: Bringing dynamic robots into the wild requires a tenuous balance between performance and safety. Yet controllers designed to provide robust safety guarantees often result in conservative behavior, which can hinder task completion. This paper introduces a framework that uses human preferences to tune safety-critical robot controllers, balancing performance with safety requirements. By integrating a novel safety-aware Preference-Based Learning (PBL) algorithm with robust Control Barrier Functions (CBFs), the researchers enabled a quadruped robot to navigate complex obstacle courses without the paralyzing conservatism typical of traditional safety guarantees.

Introduction

In autonomous robotics, there is a constant tension between performance (speed and efficiency) and safety (collision avoidance). Control Barrier Functions (CBFs) are often employed to provide mathematical safety guarantees. However, these guarantees typically rely on "worst-case" assumptions regarding model inaccuracies and sensor noise. This often results in overly conservative behavior where a robot moves too slowly or freezes entirely when encountering minor obstacles.

Tuning these controllers to find an optimal balance currently requires expert intervention to manually adjust abstract mathematical parameters. This work proposes an automated tuning process that leverages intuitive human feedback to find the "sweet spot" between safety and utility.

Methodology: Safety-Aware LineCoSpar

The proposed design paradigm fuses two sophisticated fields into a unified framework: SA-LineCoSpar (Safety-Aware LineCoSpar) and TR-OP (Tunable Robustified Optimization Program).

SA-LineCoSpar

SA-LineCoSpar is an evolution of Preference-Based Learning. Instead of requiring a complex mathematical reward function, the algorithm presents a human with two different robot behaviors and asks for a preference and a safety label ("Was that safe?"). Unlike traditional safe-learning algorithms that may be too restrictive to explore, SA-LineCoSpar identifies a Region of Interest (ROI) and steers the learning process toward safe, high-utility areas without being so cautious that it fails to explore.

The Safety-Aware LineCoSpar framework integrates preference-based learning with a tunable robust safety filter to iteratively improve robotic behavior based on user feedback.

Tunable Robustified Optimization Program (TR-OP)

TR-OP acts as the low-level safety filter. It combines Measurement-Robust CBFs (MR-CBFs) to handle perception errors (e.g., camera noise) and Input-to-State Safe CBFs (ISSf-CBFs) to handle physical disturbances (e.g., slipping on grass). The PBL algorithm acts as the "tuner," selecting the best parameters ($\alpha, \phi, a, b$) for this safety filter based on user preferences.

Experimental Evaluation

The framework was validated using both synthetic utility functions and real-world experimental rollouts on a Unitree A1 quadruped robot. The system was tested in simulated environments and real-world indoor/outdoor settings.

A key insight of this work is that "unsafe" is not always "catastrophic" in robotic tasks. By treating safety as an ordinal label during the learning phase, the robot can discover performant behaviors that a strictly conservative learner would never find. Furthermore, by using the "LineCoSpar" approach to search along one-dimensional lines in high-dimensional parameter space, Bayesian Optimization becomes computationally feasible for real-time robotics.

Key Results

  • Eliminating Conservatism: In simulations, expert-defined conservative parameters caused the robot to fail its goal. The SA-LineCoSpar-tuned controller successfully navigated obstacles by finding a superior balance of robustness.
  • Hardware and Outdoor Success: The system was successfully deployed on a Unitree A1 quadruped. After 30 iterations in simulation and 7 on hardware, the robot navigated indoor obstacle courses. These parameters proved robust enough to generalize to outdoor grass environments without further tuning.
  • Efficiency: The safety-aware criteria significantly reduced the number of unsafe actions sampled during learning compared to standard PBL, with minimal impact on learning speed.
Performance metrics demonstrate that selecting appropriate safety parameters (e.g., $\lambda = -0.5$) results in a controller that is both conservative regarding unsafe samples and sample-efficient in reducing prediction error.

Conclusion and Future Work

This work represents a significant step toward making safety-critical control more accessible and less conservative. While current experiments focused on stationary obstacles and required a human-in-the-loop, future research will address dynamic, time-varying environments and move toward fully autonomous safety-performance balancing. The authors intend to apply this framework to other complex systems, including bipedal robots and autonomous vehicles.

Summary updated

BibTeX
@inproceedings{cosner2022safety,
  author = {Ryan K. Cosner and Maegan Tucker and Andrew J. Taylor and Kejun Li and Tamás G. Molnár and Wyatt Ubellacker and Anil Alan and Gábor Orosz and Yisong Yue and Aaron D. Ames},
  title = {{Safety-Aware Preference-Based Learning for Safety-Critical Control}},
  booktitle = {L4DC},
  year = {2022},
  url = {https://openreview.net/forum?id=GSSQO1RUNg},
}
Figure